Bacula-users

Re: [Bacula-users] Unable to recover data using bscan

2014-10-29 07:20:00
Subject: Re: [Bacula-users] Unable to recover data using bscan
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: Keith T <keithbacu AT yahoo DOT com>
Date: Wed, 29 Oct 2014 08:17:14 -0300
Hi Keith,

Have you checked with "bls" the contents of these volumes?

Best regards,
Ana

On Wed, Oct 29, 2014 at 6:34 AM, Keith T <keithbacu AT yahoo DOT com> wrote:
Dear All,

I was trying to restore data that had been backup on year 2012 but some folders not found after recreated Catalog using the command bscan as described on below. Appreciate if you have any idea to fix this.

#Tried recovery catalog by bscan command
bscan -V COMHKOB2012HDD1\|COMHKOB2012HDD2\|COMHKOB2012HDD3\|COMHKOB2012HDD4\|COMHKOB2012HDD5\|COMHKOB2012HDD6\|COMHKOB2012HDD7\|COMHKOB2012HDD8 -v -s -S -m -c /etc/bacula/bacula-sd.conf /mnt/usb3docking1

All the eight medias have been created but some have 0 volfiles?

Pool: YearlyPool
+---------+-----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| mediaid | volumename      | volstatus | enabled | volbytes        | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten         |
+---------+-----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
|      11 | COMHKOB2012HDD1 | Archive   |       1 | 998,951,619,932 |        0 |   31,536,000 |       0 |    0 |         0 | File      | 2013-02-18 09:56:26 |
|      12 | COMHKOB2012HDD2 | Archive   |       1 | 999,122,570,931 |        0 |   31,536,000 |       0 |    0 |         0 | File      | 2013-02-19 01:13:42 |
|      13 | COMHKOB2012HDD3 | Archive   |       1 | 999,118,420,793 |        0 |   31,536,000 |       0 |    0 |         0 | File      | 2013-02-19 10:16:15 |
|      14 | COMHKOB2012HDD4 | Archive   |       1 | 999,122,061,957 |      232 |   31,536,000 |       0 |    0 |         0 | File      | 2013-02-19 22:43:03 |
|      15 | COMHKOB2012HDD5 | Archive   |       1 | 999,126,549,297 |        0 |   31,536,000 |       0 |    0 |         0 | File      |                     |
|      16 | COMHKOB2012HDD6 | Archive   |       1 | 999,121,771,369 |        0 |   31,536,000 |       0 |    0 |         0 | File      |                     |
|      17 | COMHKOB2012HDD7 | Archive   |       1 | 999,126,642,823 |        0 |   31,536,000 |       0 |    0 |         0 | File      |                     |
|      18 | COMHKOB2012HDD8 | Archive   |       1 | 398,969,357,878 |       92 |   31,536,000 |       0 |    0 |         0 | File      |                     |
+---------+-----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+

[root@BSVR temp]# echo "list jobs" |bconsole
Connecting to Director BSVR:9101
1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
Enter a period to cancel a command.
list jobs
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+-------+---------------+---------------------+------+-------+-----------+-------------------+-----------+
| jobid | name          | starttime           | type | level | jobfiles  | jobbytes          | jobstatus |
+-------+---------------+---------------------+------+-------+-----------+-------------------+-----------+
|     7 | COMYRLY1      | 2013-02-18 09:56:27 | B    | F     | 2,915,058 | 3,992,442,976,336 | E         |
|     2 | BackupCatalog | 2014-09-30 23:10:03 | B    | F     |         0 |                 0 | E         |
|     3 | BackupCatalog | 2014-10-01 23:10:03 | B    | F     |         0 |                 0 | E         |


#Tried to restore one volume "COMHKOB08HDD7" as I guess the expected data should be backed up on it. But the expected folders still not found.
bscan -V COMHKOBHDD7 -v -s -S -m -c /etc/bacula/bacula-sd.conf /mnt/usb3docking1

#bacula version
backup data used version 5.0.3 while doing recovery on a version bacula-5.2.13

Thanks!

Best regards,
Keith

------------------------------------------------------------------------------

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


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