Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stage all data to tape?

Status
Not open for further replies.

mtayloratppld

Technical User
Aug 17, 2007
34
US
I believe I'm having a problem with my advanced disk so I'd like to stage (remove) all of the data to a tape and recreate the disk.

What's the best way to do this? Thanks.
 
mminfo -r ssid -q volume=BLAH_BLAH_BLAH | grep -v "ssid" | xargs nsrstage -mvb A_RANDOM_POOL -S

Use your volume name and desired pool as appropriate.
 
No, that script collects a list of all SSIDs on your volume.
 
Ok. Just so I have the other parts right. The volume would be my adv. disk? What about the pool? Would I use the pool I normally stage to? Thanks.
 
By using the option "-b pool" you can stage to any backup pool.
 
It comes back and says: "grep is not a recognized command"

I guess I should have mentioned that I'm doing this on a Windows box. Sorry. How would that change the command?
 
It would be a two-step process:

mminfo -r ssid -q volume=BLAH_BLAH_BLAH -q "ssid" > file
nsrstage -f file

 
Which ssid would I use where it says "ssid" if I want to stage everything. Will I have to do each SSID individually?
 
Sorry, i have severe typos in my command. It should read:

mminfo -r "ssid" -q volume="volume_name" > file
nsrstage -mvb a_backup_pool -f file

The command will create a list of all save sets that have been started on that volume. nsrstage will then migrate all save sets. You can not stage a media, only the save sets.
 
Here's what I typed into the cmd window. But when I open mminfo.txt it says: "unknown report constraint: 1686653402"

mminfo -r 1686653402 -q volume=ppld.047 > C:\mminfo.txt

What am I doing wrong?
 
the -r should be literally "-r ssid"

Do not replace it with a value.
 
I'm getting closer. I created the list of SSID's but now I'm getting this error: "39095:nsrstage: Need to specify both -f and -S.
 
Correct. Please change the stage command to:

nsrstage -S -mvb a_backup_pool -f file
 
I'm now getting this message:

Starting migration operation...
39077:nsrstage: error, nonexistant cloneid 1200115614 for saveset(ss_name) VSS A
SR DISK:\ on host(ss_host) 2k3-thor with ssid 310923166

5777:nsrstage: Cannot open nsrstage session with 2k3-kronos.ad.ppld.org
5882:nsrstage: Failed to clone any save sets
 
This means that the save set with the ssid 310923166 has an entry in NW's media index but it could not find that backup on the volume and consequently can not clone it.

To see which backups are actually still on the media, you might run "scanner -mn device_name > file" and search for the ssids.
 
I ran the command again and it now seems to be working. Right now it's sitting at

5874:nsrstage: Automatically copying save sets(s) to other volume(s)

Starting migration operation...

If that doesn't work I'll try running scanner. Thanks for all the help guys.
 

Ummm... can't you just do it via the GUI interface --> Configuration --> Staging --> (name of your active staging) --> Properties --> Operations tab --> Start Now: Stage All Savesets ??

 
The right commands are :

mminfo -r "ssid" -q volume="volume_name" > file
nsrstage -mvb a_backup_pool -S -f file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top