Bacula-users

Re: [Bacula-users] Big error in restore

2008-09-10 08:48:12
Subject: Re: [Bacula-users] Big error in restore
From: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 10 Sep 2008 14:47:29 +0200
Mikel Jimenez schrieb:
> Mikel Jimenez wrote:
> > Ralf Gross wrote:
> >   
> >> Mikel Jimenez schrieb:
> >>   
> >>     
> >>> Hello
> >>> Today im going to restore the / of my server with incrementals and I get 
> >>> this messge.
> >>> 0-sep 13:14 dracula-sd JobId 444: End of Volume at file 0 on device 
> >>> "full_sistemas" (/var/ironbackup/backups/sistemas/full), Volume 
> >>> "Full-0007"
> >>> 10-sep 13:14 dracula-sd JobId 444: acquire.c:116 Changing device. Want 
> >>> Media Type="File5" have="File6"
> >>>   device="full_sistemas" (/var/ironbackup/backups/sistemas/full)
> >>> 10-sep 13:14 dracula-sd JobId 444: Fatal error: acquire.c:164 No 
> >>> suitable device found to read Volume "Incr-0070"
> >>> 10-sep 13:14 dracula-sd JobId 444: Fatal error: mount.c:807 Cannot open 
> >>> Dev="full_sistemas" (/var/ironbackup/backups/sistemas/full), Vol=Incr-0070
> >>> 10-sep 13:14 dracula-sd JobId 444: End of all volumes.
> >>> 10-sep 13:14 dracula-dir JobId 444: Error: Bacula dracula-dir 2.4.2 
> >>> (26Jul08): 10-sep-2008 13:14:25
> >>>
> >>>
> >>> Full and incrementals are in different devices... what happend with this?
> >>>     
> >>>       
> >> There was/is a limitation that bacula can not restore from different
> >> devices ot storage daemons.
> >>
> >> I ran into this problem too. I solved the problem in splitting up the
> >> restore in 2 or more steps, depending on how many devices you use.
> >> First start a restore job with the jobids of the device with the full
> >> backups, then the jobids of device with the incr. backups.
> >>
> >> You can see the jobids at the beginning of the restore job that
> >> failed.
> >>
> >> Ralf
> >>
> >> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> >> challenge
> >> Build the coolest Linux based applications with Moblin SDK & win great 
> >> prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> Bacula-users mailing list
> >> Bacula-users AT lists.sourceforge DOT net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>   
> >>     
> > And what can I do whith my backups? they are unusable now?
> >
> > What about editing bsr?
> >
> > Something??
> > Is thinking to be capable in future?
>
> Please can you explain me more the process of restore?

I'll try.

Not sure if you want to restore all files are only some from the
backup.

This is what I get if I choose restore -> 5 (most recent backup ) in
bconsole for a client.

+-------+-------+-----------+-------------------+---------------------+-------------------+
| jobid | level | jobfiles  | jobbytes          | starttime           | 
volumename        |
+-------+-------+-----------+-------------------+---------------------+-------------------+
| 5,333 | F     | 2,730,020 | 1,298,584,230,838 | 2008-09-08 13:22:33 | 
06D129L3          |
| 5,333 | F     | 2,730,020 | 1,298,584,230,838 | 2008-09-08 13:22:33 | 
06D135L3          |
| 5,333 | F     | 2,730,020 | 1,298,584,230,838 | 2008-09-08 13:22:33 | 
06D146L3          |
| 5,364 | I     |    47,780 |    10,638,285,667 | 2008-09-10 00:06:03 | 
vu0em003-inc-0134 |
+-------+-------+-----------+-------------------+---------------------+-------------------+
You have selected the following JobIds: 5333,5364


06D129L3, 06D135L3 and 06D146L3 tape volumes, vu0em003-inc-0134 is a
file volume (different device and storage daemon).

You see that the jobid for one device is 5,333 and the one for the
other is 5,364.

At this point I cancel the restore (nothing is restored) and start a new 
restore. I choose

 3: Enter list of comma separated JobIds to select

and start with jobid 5,333 (full backup), mark the files and start the
restore. After that restore job I do the same with jobid 5,364 (incr.).
In the end the files from both backup jobs will be restored.

Modifying the bsr file is also an option but I've never worked with
the bsr file.

Ralf

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>