NT backup 2003

Posted on 2011-09-15
Last Modified: 2012-06-21

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 ?

Question by:L-Plate
  • 3
  • 3
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 36541682
Remove /a on command line:

Expert Comment

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


Expert Comment

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Author Comment

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 ?

Accepted Solution

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.

Author Comment

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?

Author Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now