Solved

How to set a Correct Backup ?

Posted on 2010-11-29
9
316 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
  • 5
  • 4
9 Comments
 
LVL 10

Expert Comment

by:moon_blue69
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 10

Expert Comment

by:moon_blue69
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:Outsourced
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

771 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

11 Experts available now in Live!

Get 1:1 Help Now