Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NTBACKUP
Message
 
To
05/03/1997 04:42:16
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00022908
Message ID:
00022926
Views:
32
>Hi all!
>
>I have create account only for backup purposes. User name of this account is "backup", password is "backup", and this account have administrator user rights.
>
>Then I was configured schedule service to run automatic, and to run with this account.
>
>After that I wrote batch file in which I have following contents:
>
>NTBACKUP backup c:\ /d "Full backup c:\" /hc:on /t normal /l "c:\backup tape.log"
>
>and execute it with "AT" command at time where nobody is logged on (press ctrl+alt+del to logon message is on the screen).
>
>Everything on my drive c:\ is copied except \WINNT\NETLOGON.CHG with message "File \WINNT\NETLOGON.CHG is in use. It has been skipped". This test confirms that I was logged with administrator privileges.
>
>Then I change my batch file to have new contents:
>
>NTBACKUP backup c:\1996 c:\1997 c:\local c:\office c:\posta c:\pwrchute c:\script /d "1996, 1997 & lokalni diskovi" /b /hc:on /t normal /l "c:\backup tape.log"
>
>and execute it also with "AT" command when nobody is logged on.
>
>Everything was copied except local registry (note /b switch). I am wander why my registry is not copied.
>
>If I walk through NTBACKUP interface and select this directories (logged as backup) and select check box "backup local registry", registry will be copied.
>
>Why my local registry is not copied in batch file?
>
I've run into this too. It's because you're not logged on at batch time, and backup access is only granted with a logon for each user. It's built in for security, I guess. You could try copying registry to different file name for batch backup, or there might be a setting somewhere to change it...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform