Hi All, I need some advise as I am unable to restore files and I am getting stuck with this error. I have other backups of other clients and restore on those are fine.
18-Oct 21:17 backup.xyz.com-sd JobId 13413: Warning: acquire.c:280 Read acquire: Requested Volume "mail.xyz.com-full-0557" on "nas1" (/mnt/nas1/bacula) is not a Bacula labeled Volume, because: ERR=block.c:291 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. root@backup:/home/isy # pkg info | grep bacula bacula-server-5.2.12 The network backup solution (server) root@backup:/home/isy # df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 495M 393M 62M 86% / devfs 1.0k 1.0k 0B 100% /dev /dev/da0s1d 495M 41M 414M 9% /tmp /dev/da0s1f 21G 3.3G 16G 17% /usr /dev/da0s1e 29G 14G 12G 54% /var nas1:/bacula 12T 9.2T 3.3T 74% /mnt/nas1/bacula These are maildir files from a mail server. The baracuda setup also includes root@backup:/home/isy # ls -lha /mnt/nas1/bacula/mail.xyz.com-full-0557 -rw-r----- 1 bacula bacula 589G Sep 8 20:41 /mnt/nas1/bacula/mail.xyz.com-full-0557 root@backup:/home/isy # ls -lha /mnt/nas1/bacula/mail.xyz.com-diff-0328 -rw-r----- 1 bacula bacula 39G Sep 22 00:47 /mnt/nas1/bacula/mail.xyz.com-diff-0328 1. use bconsole to 'restore' 2. use option '6: Select backup for a client before a specified time' 3. set it to a date 4. selected the defined client root@backup:/home/isy # bconsole Connecting to Director localhost:9101 1000 OK: backup.xyz.com-dir Version: 5.2.12 (12 September 2012) Enter a period to cancel a command. .... (Then this is shown) Automatically selected FileSet: FreeBSD Full Set +--------+-------+-----------+-----------------+---------------------+----------------------------------+ | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | +--------+-------+-----------+-----------------+---------------------+----------------------------------+ | 12,994 | F | 4,091,114 | 630,998,571,627 | 2014-09-07 23:16:35 | mail.xyz.com-full-0557 | | 13,134 | D | 240,941 | 41,991,185,730 | 2014-09-21 23:11:57 | mail.xyz.com-diff-0328 | +--------+-------+-----------+-----------------+---------------------+----------------------------------+ You have selected the following JobIds: 12994,13134 Building directory tree for JobId(s) 12994,13134 ... +++++++++++++++++++++++++++++++++++++++++++++++++++ 4,220,356 files inserted into the tree. You are now entering file selection mode where you add (mark) and remove (unmark) files to be restored. No files are initially added, unless you used the "all" keyword on the command line. Enter "done" to leave this mode. (takes roughly 15 minutes, my /tmp goes up as high as 600MB) 5. change directory and mark some folders with 300+ something files. These are maildir files. 6. set "done" Bootstrap records written to /var/db/bacula/working/dir/backup.xyz.com-dir.restore.1.bsr The job will require the following Volume(s) Storage(s) SD Device(s) =========================================================================== mail.xyz.com-full-0557 nas1 nas1 mail.xyz.com-diff-0328 nas1 nas1 Volumes marked with "*" are online. 315 files selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /var/db/bacula/working/dir/backup.xyz.com-dir.restore.1.bsr Where: /tmp/bacula-restores Replace: always FileSet: FreeBSD Full Set Backup Client: mail.xyz.com-fd Restore Client: mail.xyz.com-fd Storage: nas1 When: 2014-10-18 19:52:59 Catalog: MyCatalog Priority: 10 Plugin Options: *None* OK to run? (yes/mod/no): 7. set to yes *m 18-Oct 21:17 backup.xyz.com-dir JobId 13413: Start Restore Job RestoreFiles.2014-10-18_21.17.33_05 18-Oct 21:17 backup.xyz.com-dir JobId 13413: Using Device "nas1" 18-Oct 21:17 backup.xyz.com-sd JobId 13413: Error: block.c:291 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. 18-Oct 21:17 backup.xyz.com-sd JobId 13413: Warning: acquire.c:280 Read acquire: Requested Volume "mail.xyz.com-full-0557" on "nas1" (/mnt/nas1/bacula) is not a Bacula labeled Volume, because: ERR=block.c:291 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. 18-Oct 21:17 backup.xyz.com-sd JobId 13413: Please mount Volume "mail.xyz.com-full-0557" for: Job: RestoreFiles.2014-10-18_21.17.33_05 Storage: "nas1" (/mnt/nas1/bacula) Pool: Default Media type: File 18-Oct 21:22 backup.xyz.com-sd JobId 13413: Warning: acquire.c:280 Read acquire: Requested Volume "mail.xyz.com-full-0557" on "nas1" (/mnt/nas1/bacula) is not a Bacula labeled Volume, because: ERR=block.c:291 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. 18-Oct 21:27 backup.xyz.com-sd JobId 13413: Warning: acquire.c:280 Read acquire: Requested Volume "mail.xyz.com-full-0557" on "nas1" (/mnt/nas1/bacula) is not a Bacula labeled Volume, because: ERR=block.c:291 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. 18-Oct 21:32 backup.xyz.com-sd JobId 13413: Warning: acquire.c:280 Read acquire: Requested Volume "mail.xyz.com-full-0557" on "nas1" (/mnt/nas1/bacula) is not a Bacula labeled Volume, because: ERR=block.c:291 Volume data error at 0:0! Wanted ID: "BB02", got "". Buffer discarded. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users