Hi Tom,
On 12/11/2009, at 07:20 , Tom Birkenbach wrote:
> In an effort to stage savesets from AFTDs to tape, I'm using the following
> procedure.
>
> #mminfo -ot -q 'location=storagenode1,copies=2' -r ssid > stagelist.txt
> #nsrstage -v -m -d -b LTO3Pool -S -f ./stagelist.txt
>
> I believe my only real "gotcha" is if I forget to set the location on the
> AFTD. Ultimately, what I'm trying to do is stage all the savesets from the
> AFTD to tape to clear the disk (for maintenance purposes, disk resizing,
> whatever...). My method feels a bit "hackey" and, with the multitude of
> Networker commands, it seems like there could be a better way. Any ideas or
> suggestions?
The absolute number one suggestion I have for you is DON'T specify just the
saveset id.
(Sorry for the caps but it's that important.)
If you're cloning out to tape first, then subsequently stage, then staging
specifying just the saveset ID will have unintended consequences.
If you stage by saveset ID alone, NetWorker will delete _all_ details of _all_
instances of the saveset except the instance you just staged out. I.e., you
lose reference to your clones as well.
Always run mminfo for staging operations as:
mminfo <rest> -r ssid,cloneid -xc\/ | grep -v ssid
That way, mminfo will construct the results including saveset ID and clone ID.
Also, because of that, you'd want to change your query field from 'location=X'
to say:
volume=Y.RO
where Y.RO is the read-only volume you want to stage from; run once per disk
backup unit.
I realise with you using a query of "copies=2" that you're probably not cloning
--- however, honestly, staging by just saveset ID alone is something you want
to avoid getting in the habit of; it's just too dangerous.
Cheers,
Preston.
--
Preston de Guise
"Enterprise Systems Backup and Recovery: A Corporate Insurance Policy":
http://www.amazon.com/Enterprise-Systems-Backup-Recovery-Corporate/dp/1420076396
http://www.enterprisesystemsbackup.com
NetWorker blog: http://nsrd.wordpress.com
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|