Tricky_Dicky (9th November 2009)
Hi,
My much loathed Admin server runs a schedule task every saturday to an external hard drive. Said hard drive died and so I've replaced it with a new one while waiting for a proper backup solution to come in.
The following script is called and I would just like to know is the U:\ at the end the drive letter the external HDD should be?
If anyone can shed any light on what the rest of it means that would be great.del u:\Week1.old /q
Ren U:\week1.bkf week1.old
%WINDIR%\system32\NTBACKUP.EXE backup "@%windir%\Backup\FileList.bks" /v:yes /r:no /rs:no /m normal /j "Week1" /l:s /f "U:\Week1.bkf"
Cheers
Rich
Yes the last part is the locationa nd name of the bakup file. More details on the other options are here How to use command line parameters with the Ntbackup command in Windows Server 2003
Hope that helps.
Tricky_Dicky (9th November 2009)
looks like it to me as far as i can see it deletes week1.old then renames week1.bks as week1.old than procedes to dump whatever files/folder "@%windir%\Backup\FileList.bks" tells it to to week1.bks on the external drive
Tricky_Dicky (9th November 2009)
That's great, thanks guys.
Just need to rename the external drive to U then and hopefully all should be well
Rich
There are currently 1 users browsing this thread. (0 members and 1 guests)