Link to home
Start Free TrialLog in
Avatar of L-Plate
L-Plate

asked on

NT backup 2003

Help

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 ?

Avatar of Miguel Angel Perez Muñoz
Miguel Angel Perez Muñoz
Flag of Spain image

Remove /a on command line: http://support.microsoft.com/kb/814583
Avatar of Olivier65
Olivier65

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}]

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

Avatar of L-Plate

ASKER

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 ?
ASKER CERTIFIED SOLUTION
Avatar of Olivier65
Olivier65

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of L-Plate

ASKER

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?
Avatar of L-Plate

ASKER

yo olivier, what's the crack on this pal?