Solved

NT backup 2003

Posted on 2011-09-15
7
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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 500 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Learn about cloud computing and its benefits for small business owners.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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