Re: [Networker] Restore script
2008-05-05 20:01:41
On 05/05/2008, at 11:07 PM, John Stoffel wrote:
Tim> In regard to: [Networker] Restore script, Rod Pudwell said (at
8:36pm on...:
I have been asked to write a script that can be scheduled as a
cron job to
restore a test file from a nightly backup. Scripting skills are
OK, but I
haven't used EBS networker from CLI (gui only). Any tips/help
would be
appreciated.
Tim> Look at the man page for recover, and pay particular attention to
Tim> the -a flag and probably also the -d flag. For automated
Tim> recovery, -q and -u may also be interesting.
Wouldn't it be simpler to pick a random saveset on the nights backups
and then attempt to just clone it to another tape? This should verify
the saveset and that you've got a good backup.
It's important to note that using nsrclone to clone your backups DOES
NOT check that your backups are good. This checks to ensure that your
original backup media is good, and can be read back from. It doesn't
guarantee that the data that was backed up is usable in a recovery
scenario.
There's two key styles of tests in this scenario: media testing and
functional testing. nsrclone is a very good media test utility in this
scenario (as is, for that matter, scanner). True functional testing
however is only going to be achieved through actually recovering and
confirming that the data is usable.
Cheers,
Preston.
--
Preston de Guise
"Enterprise Systems Backup and Recovery: A Corporate Insurance
Policy", due out September 17 2008:
http://www.crcpress.com/shopping_cart/products/product_detail.asp?sku=AU6396&isbn=9781420076394&parent_id=&pc=
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
|
|
|