Bacula-users

Re: [Bacula-users] Problem bcopy tape to tape

2015-08-24 11:32:40
Subject: Re: [Bacula-users] Problem bcopy tape to tape
From: Radosław Korzeniewski <radoslaw AT korzeniewski DOT net>
To: Eric Bourguinat <e.bourguinat AT allibert-trekking DOT com>
Date: Mon, 24 Aug 2015 17:30:54 +0200
Hello,

2015-08-04 17:01 GMT+02:00 Eric Bourguinat <e.bourguinat AT allibert-trekking DOT com>:
Some new tests : tape to file then file to tape

1 - Tape to file (the restore of files from this tape works correctly)

(...)
 

2 - File to tape


(...)
 

If I try to restore files from this new copy tape, I can't.

2015-08-04 16:3bacula-dir JobId 50604: Bacula bacula-dir 7.0.5 (28Jul14):
   Build OS:               x86_64-unknown-linux-gnu debian 8.1
   JobId:                  50604
   Job:                    Restore.2015-08-04_16.29.56_44
   Restore Client:         atlas
   Start time:             04-août-2015 16:29:58
   End time:               04-août-2015 16:32:11
   Files Expected:         5
   Files Restored:         0
   Bytes Restored:         0
   Rate:                   0.0 KB/s
   FD Errors:              0
   FD termination status:  OK
   SD termination status:  OK
   Termination:            Restore OK -- warning file count mismatch


First of all. When you copy jobs/volume outside of Bacula (using bcopy tool) then no information about your copy is tracked in Bacula catalog, so it is impossible (without scanning a copied volume back into the catalog with bscan, which I suppose you did not perform) to restore it with restore job as above. You should bscan copied volume (tape) to the catalog an then run a restore job again. You can always restore from Bacula volume (tape or file) with bextract tool. This restore (bextract) will run outside of Bacula, so no job will be created in catalog and executed by Director/SD/FD. So bextrace is a local restore utility only.

BTW, you did not show what you tries to restore - could you please show us your bconsole->restore session.

And the most important. What is a purpose for your test? What do you expect?

best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net
------------------------------------------------------------------------------
_______________________________________________
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>