Scheduled backup fails if logged-off

G

Guest

Aaarghh! I have wrestled with W2K3 Backup & Removable Storage for several
lifetimes now (it seems!). Anyway, all is finally going well EXCEPT ....

Backup scripts that are registered with Task Scheduler don't run if the
console is logged-off. The jobs are set to run under Administrator, and run
fine under that login if the screen is active or locked at the scheduled task
time. However if the Administrator user is logged off, at the scheduled time
the script runs but Backup fails, recording this in it's Report Log :

The saved selection file ""@C:\Admin\Scripts\Backups\Daily-Data.bks" cannot
be found.

I have checked file & access permissions, for the .bks files & Administrator
has access OK. For security reasons I would much prefer to run Backup with
the Administrator user logged-off.
 
P

Pegasus \(MVP\)

CH said:
Aaarghh! I have wrestled with W2K3 Backup & Removable Storage for several
lifetimes now (it seems!). Anyway, all is finally going well EXCEPT ....

Backup scripts that are registered with Task Scheduler don't run if the
console is logged-off. The jobs are set to run under Administrator, and run
fine under that login if the screen is active or locked at the scheduled task
time. However if the Administrator user is logged off, at the scheduled time
the script runs but Backup fails, recording this in it's Report Log :

The saved selection file ""@C:\Admin\Scripts\Backups\Daily-Data.bks" cannot
be found.

I have checked file & access permissions, for the .bks files & Administrator
has access OK. For security reasons I would much prefer to run Backup with
the Administrator user logged-off.

I recommend you run the following batch file to see what's going on:

@echo off
echo %date% %time% Start of job > c:\test.log
echo User=%UserName% >> c:\test.log
cacls c:\*.* >> c:\test.log
cacls c:\a*.* >> c:\test.log
cacls c:\admin >> c:\test.log
cacls c:\admin\scripts >> c:\test.log
etc. etc.

This will show you what's wrong before your current lifetime is over!
I suspect that it has nothing at all to do with the administrator being
logged on or off.
 
D

Dave Patrick

Scheduled Tasks|Advanced|View Log may provide some details.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Aaarghh! I have wrestled with W2K3 Backup & Removable Storage for several
| lifetimes now (it seems!). Anyway, all is finally going well EXCEPT ....
|
| Backup scripts that are registered with Task Scheduler don't run if the
| console is logged-off. The jobs are set to run under Administrator, and
run
| fine under that login if the screen is active or locked at the scheduled
task
| time. However if the Administrator user is logged off, at the scheduled
time
| the script runs but Backup fails, recording this in it's Report Log :
|
| The saved selection file ""@C:\Admin\Scripts\Backups\Daily-Data.bks"
cannot
| be found.
|
| I have checked file & access permissions, for the .bks files &
Administrator
| has access OK. For security reasons I would much prefer to run Backup
with
| the Administrator user logged-off.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top