Bacula-users

Re: [Bacula-users] Scripting restores?

2011-07-19 14:40:37
Subject: Re: [Bacula-users] Scripting restores?
From: Rory Campbell-Lange <rory AT campbell-lange DOT net>
To: Kevin Keane <subscription AT kkeane DOT com>
Date: Tue, 19 Jul 2011 19:37:32 +0100
On 19/07/11, Kevin Keane (subscription AT kkeane DOT com) wrote:
> Maybe bextract will help you? Instead of restoring from within
> bconsole, you can access the tape/file volumes directly.
> -----Original Message-----
> From: Roy Sigurd Karlsbakk [mailto:roy AT karlsbakk DOT net] 
>
> So - is it possible to somehow manually restore each version of each
> of these files? I'm thinking something like "restore the files under
> the given directories for job #9965 to /newdir/9965...." Is this
> possible, and if so, how can I automate this somehow?

You can generate boostrap files and run these directly. You might find
checking out http://code.google.com/p/baculafs/ is helpful.

Alternatively you can simply script restores via bconsole.
eg

       bconsole << EOF
       restore
       7
       /example/DUMP/Archive/P_NW.mxi
       /example/ptec/storman_6_amd64.deb
       /example/DUMP/CC_Planning_3d.mxs
       /example/DUMP/CC_Planning_side.mxi
       /example/PLE/3D_N_StageC_.c4d
       /example/aw/05 3d/Mark/03/ViewNo01/B
       /example/sit/shops/Sheet-000921.pdf
       /example/arket/typical_side_winder.psd
       /example/2.25/elements2/gtc_.psd
       /example/for planners/Tiff/ordnance copy.
       /example/102__Binder.pdf
       /example/Thomas/rice

       yes
       EOF



-- 
Rory Campbell-Lange
rory AT campbell-lange DOT net

Campbell-Lange Workshop
www.campbell-lange.net
0207 6311 555
3 Tottenham Street London W1T 2AF
Registered in England No. 04551928

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>