[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2026
  • Last Modified:

NTBackup Overwrite


Hi There!

I am trying to configure a NTBackup Job to overwrite the previous backup each day. At the moment the backup appears to be significantly increasing in size each day. Here is the script we run daily in scheduled tasks.

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\dailybackup.bks" /n "Backup.bkf created 1/26/2011 at 9:35 PM" /d "Set created 1/26/2011 at 9:35 PM" /v:no /r:no /rs:no /hc:off /m normal /j "dailybackup" /l:s /f "E:\backup\Backup.bkf"

0
networkn
Asked:
networkn
  • 4
  • 3
1 Solution
 
jonahzonaCommented:
If you add a /t to after the backup name should overwrite any existing file with the same name.

This can also he accomplished through the GUI by deselecting "append to media".

See link for total write up on ntbackup cmd properties.

http://support.microsoft.com/kb/814583
0
 
networknAuthor Commented:
Hi There!

I couldn't find the append to media without running the backup job wizard again, it's quite odd. I have made the required change to the backup script in scheduled tasks and will monitor.

Thanks for your help.
0
 
jonahzonaCommented:
I never use thenwizard....advanced mode seems to work much better.

Let me know how it works out!
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
networknAuthor Commented:
Where do you find the setting once you load the bks file? I couldn't find it anywhere?
0
 
jonahzonaCommented:
In advanced mode, load your bks, enter the destination file and press start backup.

From there the first screen will have the option to append or replace data. Choose replace.

You can also clock advanced to choose normal, differential, etc or schedule to schedule the backup regularly.

0
 
networknAuthor Commented:
Hi There!

I just recreated the job as after adding that command line /t I was getting a 0x57. I'll confirm once I have monitored the situation?
0
 
networknAuthor Commented:
Adding the /t caused other issues, but I believe it was the correct answer, though in the end I just recreated the job.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now