Solved

How to set a Correct Backup ?

Posted on 2010-11-29
9
321 Views
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 ?

Thanks
Regards
BACKUP.png
0
Comment
Question by:Outsourced
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 10

Expert Comment

by:moon_blue69
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.
0
 

Author Comment

by:Outsourced
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 ?!
0
 

Author Comment

by:Outsourced
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
0
Independent Software Vendors: 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!

 
LVL 10

Expert Comment

by:moon_blue69
ID: 34229385
Hi

Please see a question which I previously answered.

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_26638728.html

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.

TRY THIS BEFORE YOU IMPLEMENT.




0
 

Author Comment

by:Outsourced
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  ;-)

0
 
LVL 10

Assisted Solution

by:moon_blue69
moon_blue69 earned 500 total points
ID: 34230361
Hi

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
backup-2.jpg
0
 

Author Comment

by:Outsourced
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 :(
0
 
LVL 10

Accepted Solution

by:
moon_blue69 earned 500 total points
ID: 34239305
Hi

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
0
 

Author Comment

by:Outsourced
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"
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

737 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