Bacula-users

Re: [Bacula-users] Can't restore file spanning across multiple volumes

2011-08-10 09:10:10
Subject: Re: [Bacula-users] Can't restore file spanning across multiple volumes
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 10 Aug 2011 14:07:51 +0100
>>>>> On Tue, 09 Aug 2011 11:40:17 +0200, Bartosz Cisek said:
> 
> Hi!
> 
> I try to restore file from backup, but bacula fails. We backup binlog
> files  every 15 minutes. There is only one file in each job. All other
> files from this day/week can be restored. This one has one difference,
> is placed on two Volumes (204 and 255).
> 
> I don't konw if this relevant, but our volumes are ordinary files.
> Backup was made when in bacula-sd option
> 
> Hardware End of File = no
> 
> was not set. I added but didn't help.

That option only affects tapes.


>                                       We use bacula 5.0.3. Any ideas
> what went wrong?
> 
> bconsole> list files jobid=8228320
> +---------------------------------+
> | Filename                        |
> +---------------------------------+
> | /var/lib/mysql/mysql-bin.015514 |
> +---------------------------------+
> 
> bconsole> list jobmedia jobid=8228320
> +-----------+----------------------------+------------+-----------+
> | JobId     | VolumeName                 | FirstIndex | LastIndex |
> +-----------+----------------------------+------------+-----------+
> | 8,228,320 | bacula-vtape-backup-000204 |          1 |         1 |
> | 8,228,320 | bacula-vtape-backup-000255 |          1 |         1 |
> +-----------+----------------------------+------------+-----------+
> +-----------+------------------------------+---------------------+------+-------+----------+----------+-----------+
> | JobId     | Name                         | StartTime           | Type | 
> Level | JobFiles | JobBytes | JobStatus |
> +-----------+------------------------------+---------------------+------+-------+----------+----------+-----------+
> | 8,228,320 | job-hostname-bin-logs        | 2011-08-07 06:03:48 | B    | I   
>   |        1 |  113,188 | T         |
> +-----------+------------------------------+---------------------+------+-------+----------+----------+-----------+

It is unclear what went wrong.

The llist command will give a little more information:

llist jobmedia jobid=8228320

You could also try running the bacula-fd at debug level 200 and collect the
output.

__Martin

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users