How to set a Correct Backup ?

Posted on 2010-11-29
Last Modified: 2012-05-10
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 ?

Question by:Outsourced
  • 5
  • 4
LVL 10

Expert Comment

ID: 34228646
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.

Author Comment

ID: 34229298
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 ?!

Author Comment

ID: 34229331
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
LVL 10

Expert Comment

ID: 34229385

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.


Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.


Author Comment

ID: 34229848
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  ;-)

LVL 10

Assisted Solution

moon_blue69 earned 500 total points
ID: 34230361

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

Author Comment

ID: 34238973
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 :(
LVL 10

Accepted Solution

moon_blue69 earned 500 total points
ID: 34239305

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

Author Comment

ID: 34239422
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"

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

911 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

21 Experts available now in Live!

Get 1:1 Help Now