empty archives

Lasse Kliemann <[email protected]> Thu, 28 Jun 2007 22:40:23 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
star can create empty archives, but does not recognize them afterwards.  

For example:

% find . -name foo

So, there is no file `foo' here.

% star c f=t.tar -find . -name foo
star: 1 blocks + 0 bytes (total of 10240 bytes = 10.00k).

% star t f=t.tar
star: Unknown archive type (neither tar, nor bar/cpio).

% gtar tf t.tar 

% echo $?
0

% uname -a
Linux 2.6.19.7-snyder #5 Sun May 13 18:13:50 CEST 2007 i686 i686 i386 GNU/Linux

% star -version
star: star 1.5a82 (i686-pc-linux-gnu)



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.


I did a grep for the word `empty' in the manpage, but did not find any hints 
on this.


Regards, 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)

iD8DBQFGhBy21gObwed86AkRAjC1AJ0dZyLzuDbEX0FUHds7vjWcW6xg9ACgtNJX
BraXCVglVmiST4wnGgmXL+0=
=owng
-----END PGP SIGNATURE-----