How to set a Correct Backup ?

Hello Pro friends :-)
i need help about Backup Strategies !

there's a 2003 R2 server on network and using it as Terminal / FileSharing server
i configured to get a Normal Backup every 30x days of just C:\Documents and Settings ( we need to have backup from this files , not other things)
Now i want to configure  Incremental backup every day , because it's important to keep Archive around 30x days

doesn't matter which type backup i choose i come to this crappy question : ( Attached a Picture)

so how i can keep the Archives around 30x days ?!
if i choose "Append This Backup To The Existing Backups" so it keeps growing ! we have a limited storage too , so files should OverWrite  after 30x days

maybe my backup plan is wrong
any other suggestion about that ?

Who is Participating?

do not break the lines up its all in one line

C:\WINDOWS\system32\ntbackup.exe backup c:\Bravo /j "%date:/=-%-Daily Incremental-%COMPUTERNAME%" /f "C:\backup\%date:/=-%-Daily Incremental-%COMPUTERNAME%.bkf" /m incremental
It all depends of the size methods (like tape back ups and rotation schemes).

if you use incremental backup for 30 day and normal back up every 30 days. in case of a disaster say on the 29th day you need files of the last normal backup and the last 28 backups and it is time consuming. I would suggest if the files sizes aren't huge do a weekly full backup. and then daily incremental.

You have to append the data. If you choose to replace it will be replaced and reased with a daily one every day.
OutsourcedAuthor Commented:
Thanks for commen :-)
we want to keep 30x days archive , because it's Terminal Server with over 150x User , so it's important to keep files between 30-60x days
you are right , first i came up with Normal + Differential backup , cheff didn't accept it because of huge place reqirement on extern HDD
i know Restoring data will be pain , but they want it and i should do it

they want to trace on modified files , means if some files changed , they want to know which day it happened and recover it from that date

so they want to use backup as Tracing tools too ;-)

let me see if i get it it right or no ,....
i should set a Normal Backup on C:\Documents and Settings every 30x day
then set a Incremental backup everyday as "Append" mode
so after next Normal backup , Incremental backups will be overwriten on old one , right ?  or it keeps growing ?
and how i can Delete 1x day's backup from backup file ? in restore mode i can choose just t "Select" , or i can choose "Delete Catalog" if i choose entire Backup file !!!!
 no Deleting option ?!
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

OutsourcedAuthor Commented:
if i Delete the Catalog , still *.bkf file is huge , we should consider the saving Backup file's place too ;-)
 Deleting catalog not helping about size

Please see a question which I previously answered.

What I would do if I were you. Create a folder called daily and backup daily incremental.

forfiles /p C:\backup /d -30 /c "cmd /c del @path
C:\WINDOWS\system32\ntbackup.exe backup c:\Bravo /j "%date:/=-%-Daily-%COMPUTERNAME%" /f "C:\backup\%date:/=-%-Daily-%COMPUTERNAME%.bkf" /m incremental

the - 30 will delete files older than 30 days. I will save it as bat and schedule it to run every day.

I will create a second folder Monthly and I will have a second batch file.

forfiles /p C:\backup /d - 61 /c "cmd /c del @path
C:\WINDOWS\system32\ntbackup.exe backup c:\Bravo /j "%date:/=-%-Daily-%COMPUTERNAME%" /f "C:\backup\%date:/=-%-Daily-%COMPUTERNAME%.bkf" /m normal

and schedule it to run every month.

The reason I have kept 61 is i do not want my old file deleted first and back up job incompleted.


OutsourcedAuthor Commented:
aha , sound good :)
i want to try that on 1x of Terminal servers , and if it worked , will apply that to all other 6x servers too :-)
can i have little more help about this batch file thing ?
i mean can i have it step by step ?

currently TEST backup running exactly like this command on Domain Controller:

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator.GN-W2K3-DC\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\TEST-Incremental-Docs.bks" /a /d "Set created 29-11-2010 at 09:23" /v:no /r:no /rs:no /hc:off /m incremental /j "TEST-Incremental-Docs" /l:s /f "X:\Backup\DC\TEST-Incremental-Docs.bkf"

this one saves backup on the Extern HDD attached on server
but another server saves on Remote Location , plz check this one too :

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Test-Docs.bks" /n "TEST-Docs.bkf created 08-11-2010 at 14:52" /d "Set created 08-11-2010 at 14:52" /v:no /r:no /rs:no /hc:off /m normal /j "Test-Docs" /l:s /f "\\Serv2-ts\BACKUP\serv1-ts\TEST-Docs.bkf"
i copy , pasted it from backup Utility -> Schedule Jobs -> Schedule Job Options -> Properties -> Task tab

you are Pro and i'm not , that's why i asking about how i can do that step by step ( never created a bat file befor !!!)
and when i did that after your guide , what happening to this bat file after i restart the server because of updates ?  should i Run it every time ?

can i just replace / edit that backup jobs there ? in configured Backup Wizzard thing ?
each server is located in different Office in different Cities , i shared each Extern HDD and saving Server's backup on other server , so if one office burn and server turn to dust , still i have backup on other location and can use it

i know that makes this Backup Plan harder  ;-)


A bat file is a batch file with .bat extension. It is like you execute commands in command line one by one but in a batch file you have all commands listed on by one when you run it gets executed.

How to create a bat file copy and paste the commands in a note pad. save as choose all files as "filename.bat".

Double click scheduled task in control panel. Add scheduled task and browse to this bat file and schedule it as normal.

In your test machines c drive create two folders one "bravo" and another backup

forfiles /p C:\backup /d -7 /c "cmd /c del @path

C:\WINDOWS\system32\ntbackup.exe backup c:\Bravo /j "%date:/=-%-

Daily Incremental-%COMPUTERNAME%" /f "C:\backup\%date:/=-%-Daily

Incremental-%COMPUTERNAME%.bkf" /m incremental

copy and paste this in a note pad save it by any name but extension "filename.bat". Once this is done try double clicking on this file you will see the command running. On your test machine change system date to simulate file as 30 - 60 days old and see what happens.

-7 will delete files older than 7 days

"%date:/=-%-Daily Incremental-%COMPUTERNAME%"
is to get the file name as it is shown in the picture. You dont need to do anything in this code. Please dont insert date and time there.

To use it on a network location i would suggest map network drive. and do it from there.

each server is located in different Office in different Cities , i shared each Extern HDD and saving Server's backup on other server , so if one office burn and server turn to dust , still i have backup on other location and can use it"

Where do you back up all these servers to? Does all these servers have attached external drives or do you back it up to a common share?. It depends on how important data is for you. You can backup to external drive or to a RAID - more fault tolerent. If its important I would suggest do it one a raid and keep copies in multiple location. In case of disasters like flood , fire you should have back up in another geographical location.

feel free to ask me if you have any questions
OutsourcedAuthor Commented:
Ok , Thanks , stillworking on it  :)
gimme couple days , i do some mistake and not working for me
maybe i changing something on commands and i shouldn't , will figure it out where i doing this fail :(
OutsourcedAuthor Commented:
ok , what part i can change in commands ?
i changed it to :

forfiles /p C:\backup /d -30 /c "cmd /c del @path

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\Administrator.GN-W2K3-DC\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\TEST-Incremental-Docs.bks" /j "%date:/=-%-Daily Incremental-%COMPUTERNAME%" /f /a /d "Set created 30-11-2010 at 09:23" /v:no /r:no /rs:no /hc:off /m incremental /j "TEST-Incremental-Docs" /l:s /f "X:\Backup\DC\TEST-Incremental-Docs.bkf"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.