NT backup 2003


I need to edit my NTbackup so that the media is overwritten not appended. Rather than going through all my servers and setting up new jobs, is there a way of editing the properties with the correct switch?

The current script syntax is as follows:

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Friday.bks" /a /d "Set created 18/08/2011 at 16:08" /v:no /r:no /rs:no /hc:off /m normal /j "Friday" /l:s /f "F:\Friday.bkf

The job needs to overwrite the same job the following week not append.

Can anybody help ?

Who is Participating?

Improve company productivity with a Business Account.Sign Up

Olivier65Connect With a Mentor Commented:
You have to remove it because the switch a append and you says that you want your new job to overwrite the old one.
Miguel Angel Perez MuñozCommented:
Remove /a on command line: http://support.microsoft.com/kb/814583
NTBACKUP command use:

ntbackup backup [systemstate] « @Nom_fichier.bks » /J {« Nom_tâche »} [/P {« Nom_pool »}] [/G {« Nom_GUID »}] [/T { « TAPE_Name »}] [/N {« Media_Name »}] [/F {« File_name »}] [/D {« Description_saveset »}] [/DS {« Server_name »}] [/IS {« server name»}] [/A] [/V:{yes | no}] [/R:{yes | no}] [/L:{f | s | n}] [/M {Type_save}] [/RS:{yes | no}] [/HC:{on | off}] [/SNAP:{on | off}]

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Switch: /A
Description: Performs an append operation. Either /G or /T must be used in conjunction with this switch. Do not use this switch in conjunction with /P

L-PlateAuthor Commented:
NT\NTBackup\data\Friday.bks" /a /d

Do i just remove the '/a' from the syntax then ? Or do I need to replace it with another switch ?
L-PlateAuthor Commented:
I have just tried running the job without the switch and closley monitored the drive to where it is backing up but there is no sign of it overwriting, instead it has created a duplicate backup file.

Will the file be replaced once the backup has finished fully ? Or will the overwrite process enact as soon as the job has started?
L-PlateAuthor Commented:
yo olivier, what's the crack on this pal?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.