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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Ntbackup on win2003

Status
Not open for further replies.

Premkn

Technical User
Joined
Nov 5, 2004
Messages
1
Location
GB
Hi I've manually set up a back p, but i'm having problems with running it, I get the error message: The saved selection file ""@C:\BACKUP\fileserver1.bks" cannot be found.

here's my script

###########################################
C:
CD \BACKUP
del log.old
copy log.txt log.old
del log.txt
del log2.old
copy log2.txt log2.old
del log2.txt

SET BACKUPDATADIR="\DOCUMENTS AND SETTINGS\%USERNAME%.WGSUK\LOCAL SETTINGS\APPLICATION DATA\MICROSOFT\WINDOWS NT\NTBACKUP\DATA"
C:
CD %BACKUPDATADIR%
del *.old
copy *.log *.old
del *.log

C:\WINDOWS\system32\ntbackup.exe backup "@C:\BACKUP\fileserver1.bks"[\color] /um /n '%computername%_%date%_%time%' /v:no /r:no /rs:no /hc:on /m normal /j "System Backup.job" /l:s /p "DLT"
copy *.log c:\backup\log.txt

type c:\backup\log.txt >> c:\backup\log2.txt
type c:\backup\blank.txt >> c:\backup\log2.txt
echo **** Fileserver1 **** >> c:\backup\log2.txt
print /d:\\pserver01\laserit c:\backup\log2.txt

###############################################

Can anyone see if I'm making a simple mistake with my script, the fileserver1.bks is in the correction location stated and their are no name errors with the file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top