Bacula-users

Re: [Bacula-users] Browsing through Bacula made backup files

2015-07-31 10:58:27
Subject: Re: [Bacula-users] Browsing through Bacula made backup files
From: Marcin Haba <ganiuszka AT gmail DOT com>
To: Josip Deanovic <djosip+news AT linuxpages DOT net>
Date: Fri, 31 Jul 2015 16:56:43 +0200
Hello Josip,

The bls tool and data volume/media is sufficient to prepare a
bootstrap file and next extract by bextract tool from the volume whole
specific backup with or without using include/exclude list.

For prepare bootstrap you can use JobId, Job and other criterias from here:

http://www.bacula.org/7.0.x-manuals/en/main/Bootstrap_File.html

For extracting only specific job you can use Job or JobId criteria.
For filtring only needed files during extract you can use includes function.
For filtring not needed files during extract you can use excludes function.

I hope that it helps.

Best regards.
Marcin Haba (gani)

2015-07-31 16:24 GMT+02:00 Josip Deanovic <djosip+news AT linuxpages DOT net>:
> On Friday 2015-07-31 11:12:36 Kern Sibbald wrote:
>> Hello,
>>
>> I would suggest that you read the sections of the manual that document
>> bscan, bls, and bextract.  You will then understand that it is possible
>> to do a large number of things without a bsr file.  If you read the
>> section of the manual about the bsr, you will understand that from
>> simple Job output, you can easily construct a bsr that will restore the
>> whole job or even parts of a job.
>>
>> Best regards,
>> Kern
>
> Hi,
>
> I went trough the manual to refresh my memory and I have found that it
> only confirms what I have said in my previous post.
> In order to use bextract to extract the exact job from a volume that
> contains multiple backup jobs one would need to create and specify a
> bsr file.
>
> It is possible to use "-i" and "-e" options but that wouldn't help to
> select all the files that belongs to a certain job and if those options
> are omitted and no bsr file is specified the complete content of the
> volume (all jobs) would be extracted to a specified output directory.
>
>
>> On 31.07.2015 00:31, Josip Deanovic wrote:
>> > On Thursday 2015-07-30 21:51:11 Radosław Korzeniewski wrote:
>> >> Hello,
>> >>
>> >> 2015-07-30 11:54 GMT+02:00 Josip Deanovic
> <djosip+news AT linuxpages DOT net>:
>> >>> I would like to add that in order to extract the files without the
>> >>> bacula database, using the bextract tool, you will also have to
>> >>> create
>> >>> a bootstrap file.
>> >>
>> >> Well. It is not required. It is possible to use bextract without a
>> >> bsr
>> >> file.
>> >
>> > It is possible but without a bootstrap file you wouldn't be able to
>> > control what job or a number of jobs gets extracted.
>> > If you have multiple backup jobs from multiple systems contained
>> > inside
>> > the same backup volume (which is common scenario) the restore without
>> > a
>> > bsr file would make a mess in the specified output directory.
>> >
>> > I might be wrong because I didn't try it but it seems to me that this
>> > is exactly what would happen (unless you are using one job per volume
>> > which is possible but rare practice).
>
> --
> Josip Deanovic
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users