Solved

NTBACKUP - Need Help With Unique Names for Each Backup Performed

Posted on 2011-09-28
9
358 Views
Last Modified: 2012-05-12
As a server admin that was "drafted by force" into the position I have come across a problem that I have seen Many solutions for but cant seem to figure out how they are implemented.

We are using Server 2003 SBS and there are about 6 client computers.  The server is currently backed up over the network to an old Dell Workstation converted with two 1TB drives in a Mirrored RAID configuration.  The backups perform fine using the GUI through Server 2003.  However each day the new backup overwites the previous backup.

Questions are as such:

1:  I have read some Command Line solutions.....is this easier than a scheduled task solution that I have seen here?  ie:  http://www.experts-exchange.com/codeSnippetPopup.jsp?csid=261527

If so, can someone lay out a step by step for how this is done.  Again, I apoligize for my level of experience.  I was thrust into this position.....I am VERY familiar with using AD, IIS and most other functions, just not very familiar with scripting, VBS, command line usage or scheduled tasks.

2:  Can anyone layout a step by step for either the command line process or the scheduled task process (or possible BOTH processes).  I hope the answer to this problem can be used for me as well as others that need to know the process from the most basic starting point to the end....kinda a "NTBACKUP for DUMMIES" answer.....

Each backup done is a FULL BACKUP.....I am also not sure of the command to perform a full backup via the command line or scheduled task.

3:  If any other data from my end to completely answer this problem is needed let me know.

Currently the backup computers path is:

\\NAS1\ServerBkup\"filename".bkf

thank  you for any assistance
0
Comment
Question by:cthies1
  • 4
  • 4
9 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 36718935
Well the way is to create a backup job for each day. For example, say you want to keep 5 days of data you would create directories Monday, Tuesday, etc in Ntbackup you schedule the backup jobs for each of these days so one backup job Monday runs on Mondays this will over right the last weeks Monday destination will be \\NAS1\ServerBkup\Monday\backup.bkf
0
 

Author Comment

by:cthies1
ID: 36719206
That does make sense however the owner of the business wants continuous backups.  Hence the reason for the 1TB HDD.  Effectively allowing for the creation of thousands of backup files.  So, to that end, unique files names would be needed.  I am guessing the actual date of the backup should be the file name.....
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 36719251
Correct.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:cthies1
ID: 36719368
So....back to original question.  How to backup the server with steps spelled out from beginning to end to perform this with UNIQUE files names for each backup.

Thank you
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 36719399
What I would do  is use xcopy to copy the backup file to a different folder location on the backup location
0
 

Author Comment

by:cthies1
ID: 36815626
This may work.  I will look into it some more.  with XCOPY is there a switch or command to copy a file to a destination directory but in the process rename the file with the date the XCOPY command was done?  I ask this because if I take Tuesdays Backup (for example) and use xcopy to copy it to another directory I will need an unique name for each file copied over since ntbackup uses the same file name for each job.  Does that make sense.  I went ahead and did a separate backup job for each day of the week like u u suggested.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 36817444
0
 
LVL 17

Accepted Solution

by:
aoakeley earned 500 total points
ID: 36892044
see attached for two scripts I have used

one does a full backup every night and names the file by the day of the week
the other does a full backup on the first day of the month and incrementals every other day
you could easily adjust to use %date% to do a unique file name for every day

at the end the scripts use blat (www.blat.net) to email the logs to someone

Schedule using task scheduler

good luck
backup-namefilebyDOW.txt
backup.-full-on-first-DOM--inc-e.txt
0
 

Author Comment

by:cthies1
ID: 36905867
OK,  Sorry for absence.  I am reviewing the last two solutions and links.  Let me see if these work and I will close this question
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

789 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