Link to home
Start Free TrialLog in
Avatar of hmcnasty
hmcnasty

asked on

NT Backup server 2003

NT Backup server 2003
Can someone point me in the direction of some literature for NT backup? I would liek to understand it a ltittle better.

SOLUTION
Avatar of DrDave242
DrDave242
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here is another link with some screenshots I believe.  NTBackup isn't hard really.  You have diff, incremental, normal and copy for options to backup to.

http://www.ntbackup.us/

Avatar of hmcnasty
hmcnasty

ASKER

Yeah that's the stuff I don't understand. It seems that incremental wold be the best right?  The other thing I can't figure out is how retail 3 copies from 3 consecutive days without overwritting them every night.

Wes
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Holy Crap!  That code looks awesome.  I just use the wizard but I'd liek to understand what your doing with the scripting.  
The first two sections i'm just getting the date and time the way I want it is all and storing it in variables.  The second is where i'm setting a filename.  My file would be like this " SystemState(08242007) "
I used to have the time on it, but I don't need that anymore.
The next part is i'm issuing the ntbackup utility from a command and pointing it to the backup file I created earlier using the wizard. The "normal" at the end of the line means I want to do a normal backup.  I could have put differential there and it would do that type of backup instead.

Here is a small script that you can execute that will give you an idea of what's going on with the for /f stuff.

@echo off
for /f "tokens=1,2,3,4* delims=.:/- " %%i in ('date /t') do (
  for /f "skip=1 tokens=1-4 delims=/-,()." %%x in ('echo.^|date') do (
  set weekday=%%i&set month=%%j&set day=%%k&set year=%%l))

for /f "tokens=1,2* delims=: " %%i in ('time /t') do (
  set hh=%%i&set min=%%j)

echo %weekday%, %month%-%day%-%year%
pause


Just copy that and save it as test.bat
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Lee,
That site is amazing.  I have 2 questions let me know if I should open another blog.

If I am using the standard full backup once a week and differential during the week.  Even though they are 2 seperate jobs they go into the same folder right?  In other words the differential uses the full I created at he beginning of the week and the full overwrites all of the differentials fro that week.  Am I making sense?

When I set up the differential job do I choose append or overright?

Wes
Frankly, maybe I'm too conservative, but I don't like overwriting backups.  That's why I wrote the script I use.  kshays has a brief script that would seem to do what mine does but is VERY basic by comparison (actually, I'm working on modifying the script now - hope to have the modifications done within an hour.  Will probably include both versions until I can better test it.

Just to be clear, my script names every backup file based on job name, job type (diff/full), date, and time so it never overwrites.  Although, again, my script does not work for tape (yet - I may change that sometime soon) - only for disk based backups.
lol, yeah that script does quite a bit more than mine does :)  Actually that script is probably 2 years old almost that I posted, but it does what I needed it to at the time.  Creates a filename based on what i'm backing up, date and type (diff, normal).

Like leew stated, I don't want to overwrite my backups either (that's why we use date/time).  I would rather use a script for tapes, but we don't have tapes here at the office (grrrr) so another system has to do instead.  After you get your backup strategy in place you can even automate the moving/deletion of backups that are more than X days old for you.

Cheers.
If I am using the standard full backup once a week and differential during the week.  Even though they are 2 seperate jobs they go into the same folder right?  In other words the differential uses the full I created at he beginning of the week and the full overwrites all of the differentials fro that week.  Am I making sense?

When I set up the differential job do I choose append or overright?

Wes
Either one, doesn't matter since each backup will have a different name.
Here is something that might make it easier for you, not sure.  You can create your own .bks files just by launching notepad and entereing in what you want.

EX: I want to backup systemstate.
1. Launch notepad
2. key in "SystemState"
3. Save it as BackupSystemState.bks

If you edit the bks files in notepad you can see it's just plain text with folders/paths to backup is all.

That was just a side note though.  :)
Thanks guys.  This is one of the mot comprehensive responses I've ever had.

I split the points cause everyone helped and I dont' know what solution I'm going to use yet.

Wes
Anytime, glad we could help.  Good luck.

Kevin