Question : NT backup doesn't work when scheduled

I have a windows server 2003 r2 standard scheduled to backup every night, but it never worked.

It did work for a few days, then stopped working, then I deleted the job, rescheduled and it worked again for another few days then stop working again........and so on........until I got sick of it and decided to do the backups manually every night.....

Now I'm sick of doing the backups every night and decided to fix it at once.....with your help of course.

The only thing different in this server from another one that runs backups fine is that the usernames are different

The username for the faulty one is not "Administrator"

If you need more info please let me know,

Thanks in advance

Answer : NT backup doesn't work when scheduled

Scheduled backups run in the system context.
NTBackup tries to save logs in a subfolder of the Administrator Documents and settings.
Try creating a new folder in the root of C:\ and giving your user access to it.
Make sure your backup batch file and .bks settings file and the log file are all in this new directory.

Here's a script I use.
1:
2:
3:
4:
5:
6:
7:
8:
9:
rsm.exe refresh /LF"Hewlett Packard DAT72 USB drive"
c:\backup\sleep 10
for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do set dt=%%i-%%j-%%k-%%l
for /f "Tokens=1" %%i in ('time /t') do set tm=%%i
set tm=%tm::-%
set dtt=%dt%%tm%
ntbackup.exe backup "@C:\backup\daily.bks" /n "C %dtt%" /d "C %dtt%" /v:Yes /r:no /rs:no /hc:on /m normal /j %dtt% /l:f /p "4mm DDS" /UM
rsm.exe eject /PF"C %dtt% - 1" /astart
exit
Open in New Window Select All
Random Solutions  
 
programming4us programming4us