NTBackup / RMS GUID Command Line Problem


G

Guest

I'm trying to schedule a normal backup job and to set it it backup to
whichever tape is present in the DDS4 Tape Drive.
I've written a script to obtain the GUID of the tape in the drive and to run
NTBAckup to write the data to the GUID tape.
However, whenever the job runs, the error report shows:
"The operation was not performed because an invalid Removable Storage GUID
was specified."

I've tried running the commands manually, step by step, by using:

RSM View /TLibrary to obtain the Tape drive GUID,

RSM view /TPHYSICAL_MEDIA /CG{LibraryGUID} /GUIDDISPLAY /B to obtain the
GUID of the media in the tape drive at the present time,

NTBACKUP.EXE backup "C:\Full.bks" /n "Backup" /d "Full" /v:no /r:yes /rs:no
/hc:blush:n /m normal /j "Full Backup" /L:f /G {Resultant Physical Media GUID}

I've tried the /G switch with NTBackup with and without a space before the
GUID and using "" and without ""s.

Am I doing something obviously wrong or has anyone else had this problem?

Many thanks
 
Ad

Advertisements

J

Jerold Schulman

I'm trying to schedule a normal backup job and to set it it backup to
whichever tape is present in the DDS4 Tape Drive.
I've written a script to obtain the GUID of the tape in the drive and to run
NTBAckup to write the data to the GUID tape.
However, whenever the job runs, the error report shows:
"The operation was not performed because an invalid Removable Storage GUID
was specified."

I've tried running the commands manually, step by step, by using:

RSM View /TLibrary to obtain the Tape drive GUID,

RSM view /TPHYSICAL_MEDIA /CG{LibraryGUID} /GUIDDISPLAY /B to obtain the
GUID of the media in the tape drive at the present time,

NTBACKUP.EXE backup "C:\Full.bks" /n "Backup" /d "Full" /v:no /r:yes /rs:no
/hc:blush:n /m normal /j "Full Backup" /L:f /G {Resultant Physical Media GUID}

I've tried the /G switch with NTBackup with and without a space before the
GUID and using "" and without ""s.

Am I doing something obviously wrong or has anyone else had this problem?

Many thanks


If you simply want to use the mounted media, use the /UM switch in NTBackup, tip
2265 » How do I perform an NTBackup in Windows 2000, without having to manually manage the media?
in the 'Tips & Tricks' at http://www.jsifaq.com

For media recognition using RSM, see 5955 » How can my scheduled Ntbackup react to my failure to insert a tape in the tape drive?

See 5961 » How do I Deallocate the mounted tape in a command script?
 

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

Similar Threads


Top