Hello, 28.10.2008 19:04, Gour wrote: > Hi! > > (Excuse me for previous post - I thought I was subscribed 'cause I read > the list via Gmane...) > > I used Bacula to archive some old Hi8 video files to LTO-2 tapes (HP > Ultrium 448 drive) and used sqlite as database back-end. > > However, now I plan to use Postgres for some other stuff and decided to > deploy it for Bacula as well. > > Old Sqlite conf files are gone and I had to extract files from the tapes > via bextract in order to make a new backup with Postgres back-end.
It might have been simpler to export the SQLite catalog and import it into PostgreSQL... but that's probably no longer possible. > The problem is that I cannot restore the last file from the archive...at > first I thought the problem is that my external USB HD was out of space, > but then I run 'bls' to calculate how big are all the files, freed > enough space on HD and Bacula's bextract failed again with: Could it be that the file continues on another volume? Arno > [...] 28-Oct 10:18 bextract JobId 0: End of file 50 on device "LTO-2" > (/dev/nst0), Volume "c-movies" 28-Oct 10:18 bextract JobId 0: Error: > attribs.c:421 File size of restored file > /media/usbdisk/bacula-restore/media/backup/capture/6/Kuruksetra-Jadurani-LP-Hi8-part-1.dv > not correct. Original 35628048000, restored 13364228096. > bextract JobId 0: drwxr-xr-x 2 gour gour 49 2008-02-02 > 18:33:03 *none* > bextract JobId 0: drwxr-xr-x 20 gour users 4096 2008-02-02 > 16:56:51 *none* > 28-Oct 10:18 bextract JobId 0: End of file 51 on device "LTO-2" > (/dev/nst0), Volume "c-movies" > 28-Oct 10:18 bextract JobId 0: End of Volume at file 51 on device > "LTO-2" (/dev/nst0), Volume "c-movies" > 28-Oct 10:18 bextract JobId 0: End of all volumes. > bextract: acquire.c:436-0 dir_update_vol_info. label=64 Vol=c-movies > 12 files restored. > > > Here is the snippet from bls: > > [...] > bls JobId 0: -rw-r--r-- 1 gour users 3562804800 2008-02-02 > 18:33:03 /media/backup/capture/6/Kuruksetra-Jadurani-LP-Hi8-part-1.dv > bls JobId 0: drwxr-xr-x 2 gour gour 49 2008-02-02 > 18:33:03 /media/backup/capture/6/ > bls JobId 0: drwxr-xr-x 20 gour users 4096 2008-02-02 > 16:56:51 /media/backup/capture/ > 28-Oct 09:09 bls JobId 0: End of Volume at file 51 on device "LTO-2" > (/dev/nst0), Volume "c-movies" > 28-Oct 09:09 bls JobId 0: End of all volumes. > 12 files found. > > > Some googling has brought me to this bug issue: > > http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=1154 > > where Kern said: "No, the ultimate source is the Volume. The catalog is > used to allow the user to browse and select files." > > and in this case, it looks that restore does not do according to the > volume's (bls) output. > > Any idea? > > It happens with bacula-2.4.3... > > I might try to install 2.5beta being interested in Copy Jobs feature to > allow me to simply copy video archive from one set of tapes to the other > to make a 'spare set'. > > > Sincerely, > Gour > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users