Re: empty archives

Lasse Kliemann <[email protected]> Mon, 2 Jul 2007 19:52:55 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
* Joerg Schilling writes:
> Lasse Kliemann <[email protected]> wrote:
> 
> > star can create empty archives, but does not recognize them afterwards.  
> 
> star should not create empty archives.....
 
[...]
> > This is especially problematic with incremental backups when no files have 
> > changed since the last backup. Say, one does a level n backup, and after 
> > this, no files change on the backed-up filesystem. Then one does a level n+1 
> > backup, and after this a level n+2 backup. The level n+1 backup is an empty 
> > archive and hence cannot be restored (see above: "star: Unknown archive type 
> > (neither tar, nor bar/cpio)."). The level n+2 backup can also not be 
> > restored, for:
> >
> > star: Wrong reflevel 22, last restored dump level was 21.
> > star: Restore a level 22 (or higher) dump.
> >
> > n=21 in this example.
> 
> This is a bug in star.
> 
> In dump mode (with dump level >= 0), star should always create at least a 
> volume header.
> 
> 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.


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)

iD8DBQFGiTt31gObwed86AkRAgt/AJwOLigyWGiwYJSljRUTm+EiD3iLNwCgtZnc
A54hb/mJYdS0o30RuSPstL4=
=Gap+
-----END PGP SIGNATURE-----