MrBabbage
asked on
ntbackup to disk retention
I am looking to implement a simple backup to disk solution using ntbackup. Currently it overwrites the backup each night. Is there a way of configuring it to write to a new file and keep the previous one as well or retain a certain number of backups before starting to overwrite?
This is what I currently have in place:
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Daily Backup.bks" /n "Daily Backup.bkf created 19/04/2009 at 13:56" /d "Set created 19/04/2009 at 13:56" /v:no /r:no /rs:no /hc:off /m normal /j "Daily Backup" /l:s /f "Z:\FRS_Backups\MCL02\Daily Backup.bkf"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Bobsyeruncle I can see how your solution would work but its a bit of a slow process for the number/size of files I have here and robocopy seems to like leaving the files locked which is a problem.
Does anyone know how to get ntbackup to retain say the last two or three backups?
Does anyone know how to get ntbackup to retain say the last two or three backups?
ASKER
A good solution that works well for smaller files but its a bit slow for my application (400GB+)
For example
DFDATE G:\BACKUPS\DAILY.ZIP renames it to G:\BACKUPS\21APR09.ZIP
and
DFDAY G:\BACKUPS\DAILY.ZIP renames it to G:\BACKUPS\TUE.ZIP
I upload the latter to my FTP site, so I always have the past 7 days backups for all my clients in case they are not making backups themselves..
Let me know if you want a zipfile with the utilities in it..