Hi Ana,
Thanks for the point! I think I could not avoid setup the previous old version
for this recovery when the new version currently use seems not working.
I had already tried bextract command and failed as it seems to be not possible
for encrypted data referring to some posts.
Thanks much again for your helps!
Best regards,Keith
On Thursday, October 30, 2014 9:17 PM, Ana Emília M. Arruda
<[email protected]> wrote:
Hi Keith,
I'm affraid it's a database version problem. Your 2012 backups have database
vesion=12 and your current catalog uses version 14. If this is the problem, I'm
not sure it is, then you can solve it creating an 5.0.3 director virtual
machine with an empty database and restore the 8 volumes and jobs with bscan.
For old backups, I normally use bextract for restores, mainly because I don't
have file retention times too long and with bextract I can easly do full
restores or select folders/files I want be restored (and you can use only one
volume or all of them).
Best regards,Ana
On Thu, Oct 30, 2014 at 1:23 AM, Keith T <[email protected]> wrote:
Hi Ana,
Thanks for your kind advise! Will post after tried.
But I would ask whether it is possible to restore data with one volume instead
of multiple volume since the full backup done for eight volumes (and seems not
able to restore it without creating the first volume). Besides, if possible, I
shall use the job id (e.g.7) that has created when bscan multiple volumes as
bscan one volume did not see a new job ID created? When use job ID 7, no more
folders recovered after only bscan volume 7 even volfiles has value 232 now
(re-run bscan -V COMHKOB2012HDD7 -v -s -S -m -c /etc/bacula/bacula-sd.conf
/mnt/usb3docking1).
[root@BSVR iscsi]# echo "list media"|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 media
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Pool: Default
No results to list.
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,008 | 0
| 31,536,000 | 0 | 0 | 0 | File | 2013-02-19 10:16:15 |
| 14 | COMHKOB2012HDD4 | Archive | 1 | 999,122,062,160 | 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,777,768 | 232
| 31,536,000 | 0 | 0 | 0 | File | |
| 17 | COMHKOB2012HDD7 | Archive | 1 | 999,126,642,823 | 232
| 31,536,000 | 0 | 0 | 0 | File | |
| 18 | COMHKOB2012HDD8 | Archive | 1 | 398,969,357,878 | 92
| 31,536,000 | 0 | 0 | 0 | File | |
+---------+-----------------+-----------+---------+-----------------+----------+--------------+---------+------+-----------+-----------+---------------------+
Best regards,Keith
On Wednesday, October 29, 2014 7:17 PM, Ana Emília M. Arruda
<[email protected]> wrote:
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 <[email protected]> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users