backup log

G

Guest

I have created a script to run a backup of some of my important users every
night. I am using the standard Windows XP backup utility. All the process
works perfect, but now I want to rename the log file and place it in a server
as part of the script.

I haven't found a way to tell the NTBackup command where to store the .log
file and what name to use. For now I have found the log with a standard name
under the C:\Documents and Settings\%username%\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\

Is there a way to tell the location and name of the log file to the NTBackup
command?.

Thanks a lot for your help.
 
P

Pegasus \(MVP\)

Mou said:
I have created a script to run a backup of some of my important users every
night. I am using the standard Windows XP backup utility. All the process
works perfect, but now I want to rename the log file and place it in a
server
as part of the script.

I haven't found a way to tell the NTBackup command where to store the .log
file and what name to use. For now I have found the log with a standard
name
under the C:\Documents and Settings\%username%\Local Settings\Application
Data\Microsoft\Windows NT\NTBackup\data\

Is there a way to tell the location and name of the log file to the
NTBackup
command?.

Thanks a lot for your help.

The log files are always saved in the folder you found. Their names
are cyclic of them form backupxx.log and the most recent file
relates to your most recent backup.
 
G

Guest

I remember the Windows NT 4 backup utility has a command to specify the
location of the .log as well as the name, any way under XP?.

Thanks,
 
P

Pegasus \(MVP\)

Not as far as I know. However, if you embed your backup
command in a batch file then it's fairly straightforward to
copy the resulting log file to a folder of your choice.
 

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