Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scheduled NT backup not backing up exchange 1

Status
Not open for further replies.

chronos1

MIS
Jan 9, 2003
128
AU
I've got NT backup scheduled using a batch file - the entries are:

ntbackup backup C:\ /d "Daily Backup" /b /hc:eek:ff /t normal /l "Backup.log" /e
ntbackup backup C:\exchsrvr\mdbdata\edb.log /a /d "Daily Backup" /hc:eek:ff /t normal /l "Backup.log" /e
ntbackup backup D:\ /a /d "Daily Backup" /hc:eek:ff /t normal /l "Backup.log" /e
ntbackup backup D:\exchsrvr\MDBDATA\Priv.edb /a /d "Daily Backup" /hc:eek:ff /t normal /l "Backup.log" /e
ntbackup backup D:\exchsrvr\MDBDATA\Pub.edb /a /d "Daily Backup" /hc:eek:ff /t normal /l "Backup.log" /e
ntbackup backup D:\exchsrvr\DSADATA\Dir.edb /a /d "Daily Backup" /hc:eek:ff /t normal /l "Backup.log" /e


Everything else backs up - but none of the exchange files backup (the Pub and Priv edb files). Wwhen i look into the backup tape - the folders are there but no files.

I suspect i may have to stop and start the exchange services before backing up - but does anyone have a better idea, as stopping the services mean no emails.

thanks a lot.


 
You exactly right, ntbackup cannot backup open files (like the Exchange dbs). You'll need to either stop the Exchange services so that the dbs are in a quiescent state, or use a product that can do a hot Exchange backup.

We use Legato NetWorker with the Exchange module here, and it works GREAT!

Check out for more info.
 
We have a dedicated Exchange Server (only antivirus, spam filter, NTbackup and Exchange on the server) and use NTbackup without stopping the services. This is the command line we use. You must do a "normal" backup each night, not a differential.

ntbackup backup C: D: /DS \\exchsrv /IS /v /b /hc:eek:n /b /t Normal /l c:\ntbackup.log" /e

Cheers.
 
thanks for that guys.

cmeagan656 the command line you're using - am i right in interpreting it as backing up everything on the C and D drives, as well as the Directory Store?

thanks again.
 
Yes, it backs up everything on C:, D:, the Directory Store, and the Information Store. We've restored from the backup tapes before, so I know it works.

Cheers.
 
Sorry cmeagan656 - when i try and run the batch file with only this command line in it, it's giving me a "command line contains invalid parameter" error.

Is there anything in the command line that's specific to your server? Is your exchange 5.5, on an NT4 box?

thanks
 
no worries cmeagan656 - i was change the command line to

NTBACKUP backup \\SRV DS \\SRV IS /a /v /d"Exchange Server Backup" /b

found this on

and seems to work fine. Going to do a test backup later today and try and recover - looking good though!

thanks for your help again!
 
Oops! Sorry chronos1. There was a typo in the command line when I edited our exchsrv name. :-(

For anyone else coming across this post the correct command line should be:

ntbackup backup C: D: DS \\exchsrv IS \\exchsrv /v /b /hc:eek:n /b /t Normal /l "c:\ntbackup.log" /e

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top