[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

NT backup 2003

Posted on 2011-09-15
7
Medium Priority
?
190 Views
Last Modified: 2012-06-21
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 ?

0
Comment
Question by:L-Plate
  • 3
  • 3
7 Comments
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 36541682
Remove /a on command line: http://support.microsoft.com/kb/814583
0
 
LVL 1

Expert Comment

by:Olivier65
ID: 36541776
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}]

0
 
LVL 1

Expert Comment

by:Olivier65
ID: 36541787
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

0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

Author Comment

by:L-Plate
ID: 36543452
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 ?
0
 
LVL 1

Accepted Solution

by:
Olivier65 earned 2000 total points
ID: 36543898
You have to remove it because the switch a append and you says that you want your new job to overwrite the old one.
0
 

Author Comment

by:L-Plate
ID: 36549083
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?
0
 

Author Comment

by:L-Plate
ID: 36967407
yo olivier, what's the crack on this pal?
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question