Big_Papi
17 years agoLevel 2
command line restore
I am trying to use the command line commands in a perl program. I use the following commands:
to backup:
bemcmd -o2 -j"job1" -sd"(tape drive name)" -s"(path to files for backup)" mp0 -r -w -v
to restore:
bemcmd -o39 -pa"(machinename\path of files backed up)" -w -v
I have the default switches to overwrite the media on a backup, I also have the media overwrite level set to 1(overwrite).
The problem seems to be that I get a warning message about the media being over written during the backup, I say OK and it looks like the backup finishes OK. When I try to restore the data, I get an error message that there is no record of the data base on the media.
When I do the same backup and restore using the GUI every thing works. Do I need more information in eather the backup or restore commands??