Re: empty archives

Lasse Kliemann <[email protected]> Sat, 7 Jul 2007 10:44:49 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
* Joerg Schilling schreibt:
> Lasse Kliemann <[email protected]> wrote:
> 
> > > As a workaround, you may add the option: VOLHDR=something
> >
> > This in fact prevents star from creating an unrecognizable archive. However, 
> > it does not help for the restore.
> >
> > Trying to restore level 4:
> >
> > star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
> > Volhdr: level 4 of /fs/main/mount
> > star: Invalid or empty dump, will not oerwrite 'star-symtable'
> > star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).
> >
> > Trying to restore level 5:
> >
> > star: WARNING: Archive is 'bzip2' compressed, trying to use the -bz option.
> > Volhdr: level 5 of /fs/main/mount
> > Validating this dump against restored filesystem...
> > star: Wrong reflevel 4, last restored dump level was 3.
> > star: Restore a level 4 (or higher) dump.
> 
> If you have the actual problem of restore an existing set of incremental dumps,
> you have only one option: Create the missing archive by hand :-)
> 
> Either use VOLHDR=something or upgrade to a more recent star source.
> Specify the needed dump level.
> Do not use -wtardumps.
> 
> Then use an editor that is able to edit text inside binary content and replace 
> the time stamp information in the volume header so star will accept it as the 
> missing archive.
> 
> Another option is to carefully edit the file /star-symtable using a similar 
> editor. [...]

Maybe there was a misunderstanding here. The backup I was trying to restore 
*was* created with VOLHDR=something, as it also appears in the output (see 
above; 'Volhdr: level 4 of /fs/main/mount'). The error message is different 
from what I got without volume header (see my original mail), but the restore 
still cannot complete beyond the empty archive (without your tricks).

The backup itself is unimportant; it stems from a test run. I wrote a little 
test script to check how good Linux filesystem snapshots (using LVM, detailed 
descriptions follow sometime) and star work on active filesystems. 

star version is 1.5a82.

Lasse

_______________________________________________
Star-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/star-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGj1KB1gObwed86AkRAuGVAKDmJjU7ChuINJxZzf25rDsXU+habQCg83y+
YfwBPvOz9h0VTYFrOclV3qk=
=b1je
-----END PGP SIGNATURE-----