Hi all,
I am trying to automate backup to USB disk by running a batch file with a NTBackup command to backup a set of folders from a server. But when trying to run, NTBackup window opens and closes and no folder is backed up.
If I create a NTBackup scheduled task to backup same folders it works fine. But it is imposible to run from command line.
The server is a Windows 2003 SP2, I am domain admin, and I have full control permissions over USB disk.
Could you please help me?
Below is the bat file I tried to use.
Thanks
set DateString=%Date:~6,4%.%Date:~3,2%.%Date:~0,2%
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\user\Configuración local\Datos de programa\Microsoft\Windows NT\NTBackup\data\srv01bkp.bks" /a /d "Backup-srv01-Semanal-%DateString%" /v:yes /r:no /rs:no /hc:off /m normal /j "Backup-srv01-semanal-full-%DateString%" /l:s /f "\\srv01\DiscoUSB\backup_srv01\srv01-Semanal-%DateString%.bkf"