Hello,

2015-08-04 17:01 GMT+02:00 Eric Bourguinat <
e.bourgui...@allibert-trekking.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
rados...@korzeniewski.net
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to