Bacula-users

Re: [Bacula-users] Restoring from bconsole in a shell script

2012-03-26 04:33:41
Subject: Re: [Bacula-users] Restoring from bconsole in a shell script
From: "Maria Arrea" <maria_arrea AT gmx DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 26 Mar 2012 10:32:15 +0200


Hello Bacula-list

Any other idea about how to restore a directory from a backup within a shell script?

Regards

Maria

 

----- Original Message -----

From: Maria Arrea

Sent: 03/23/12 12:30 PM

To: bacula-users AT lists.sourceforge DOT net

Subject: [Bacula-users] Restoring from bconsole in a shell script


Hello

I am trying to restore a directory tree (and the files inside) with bconsole in a shell script with no success.

Restoring a single file works:


bconsole -c /etc/bacula/bconsole.conf < /root/miprueba

Content of /root/miprueba:

restore client=wiki current file="/root/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm"  yes


But what do I have to do to restore a full directory tree like /etc/* ? Any wildcard?

Regards

Maria

 

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users