Bacula-users

Re: [Bacula-users] Restores fail because of multiple storages

2013-12-13 10:46:50
Subject: Re: [Bacula-users] Restores fail because of multiple storages
From: stefano scotti <scottistefano91 AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 13 Dec 2013 16:43:29 +0100
i took a step forward.

i understood that the problem arise only if i try to restore a directory whose files are present in different volumes.
if i try to restore a single file i don't have any problem, that's because Bacula is able to identify the correct volume associated with that file. 

but, if files are in different volumes and if volumes are stored in different storages, Bacula fails to restore files with the error i posted before.

i can observe this behaviour in Bacula  5.0.2 and in Bacula 5.2.6

is it a bug, an architecture error or a configuration issue?

thanks again.






2013/12/10 stefano scotti <scottistefano91 AT gmail DOT com>
Hello,

I have different storages for different backup levels:

Full: JobName_full
Differential: JobName_diff
Incremental: JobName_inc

the problem is that when i try to restore a job that involve different storages, Bacula fails to change the storage device issuing this kind of error:

10-dic 17:44 thisdir-dir JobId 762: Start Restore Job RestoreFiles.2013-12-10_17.44.30_18
10-dic 17:44 thisdir-dir JobId 762: Using Device "JobName_full"
10-dic 17:44 thisdir-sd JobId 762: Ready to read from volume "JobName_full_0" on device "JobName_full" (/path/to/storage/JobName_full).
10-dic 17:44 thisdir-sd JobId 762: Forward spacing Volume "JobName_full_0" to file:block 1:711422012.
10-dic 17:46 thisdir-sd JobId 762: End of Volume at file 11 on device "JobName_full" (/path/to/storage/JobName_full), Volume "JobName_full_0"
10-dic 17:46 thisdir-sd JobId 762: acquire.c:121 Changing read device. Want Media Type="JobName_diff" have="JobName_full"
  device="JobName_full" (/path/to/storage/JobName_full)
10-dic 17:46 thisdir-sd JobId 762: Fatal error: acquire.c:182 No suitable device found to read Volume "JobName_diff_6"
10-dic 17:46 thisdir-sd JobId 762: Fatal error: mount.c:865 Cannot open Dev="JobName_full" (/path/to/storage/JobName_full), Vol=JobName_diff_6
10-dic 17:46 thisdir-sd JobId 762: End of all volumes.

do you know how to solve this problem?

TIA.




--
 Please consider the environment before printing this email
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users