Bacula-users

Re: [Bacula-users] Restore from a file listing

2010-10-07 07:04:11
Subject: Re: [Bacula-users] Restore from a file listing
From: Dan Langille <dan AT langille DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 07 Oct 2010 07:01:06 -0400
On 10/5/2010 2:53 PM, Rory Campbell-Lange wrote:
> Other than Graham's note about how to escape files I'd be grateful to
> know if there is another way of marking files so that they can be
> restored.
>
> I simply can't find a way of marking files easily from the root of the
> restore console (see example below).
>
> Can marking be done through SQL? I note that the file table has a markid
> column.
>
> Thanks
> Rory
>
> On 04/10/10, Rory Campbell-Lange (rory AT campbell-lange DOT net) wrote:
>> At present I am doing a restore job by using option 3 and entering the
>> job id as all our backups are full backups. Then I go into the restore
>> console.
>>
>> For each file I want to retrieve I find I have to walk the directory
>> tree to mark the file.
>> mark "/survey/GTC/02_SURVEY/02 Graphics/A Exisiting Site 
>> Images/GTC_40_ContactSheet-002.pdf"
>> doesn't seem to work.
>>
>> Is there a simple and accurate way of providing a list of files of this
>> sort to Bacula in order to mark them and proceed with a restore job?

Have you tried scripting it?

echo command | bconsole

Extensive use of this is done within the regression tests.

-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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>