Hi Ken,

On 03/02/2014 00:16, Ken Mandelberg wrote:
> None of the restore options do what I think would be a common need, ie
> to restore a directory recursively as it existed on a certain date.
>
> Am I missing something?
>
This can be done pretty easily using restore. However to get an accurate 
copy that takes account of deleted files you need to have "Accurate" 
enabled on your backup jobs.

http://www.bacula.org/en/dev-manual/main/main/Released_Version_3_0_3_3_0_.html#SECTION00421000000000000000

Then from bconsole use "restore".

option 6 "Select backup for a client before a specified time"

enter the date that you want to recover and the client/fileset.

Once that is selected bacula drops you into file selection mode.

 From file selection mode you can navigate the file hierarchy using "cd" 
and use the "mark" command to mark directories/files recursively. e.g.

cd /var
mark www

would mark all of /var/www for restoration.

See http://www.bacula.org/en/dev-manual/main/main/Restore_Command.html

Hope this helps.

Best Regards

Richard

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to