Tim> In regard to: Re: Restore script, John Stoffel said (at 9:07am on May 5,
2008):
>>
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.
Tim> Possibly, but that's not what Rod was asking about, so I didn't
Tim> think to also suggest that. You make a good point, though.
He was asking to confirm his backups were good. nsrclone seems to be
the simplest way to do it, and you get the ability to check all your
files.
Of course to make sure the file(s) are ok, you need to backup a
quiescent filesystem or snapshot, with proper application locking or
shutdown.
*grin*
It's never simple.
John
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
|