Re: missing files from incremental backups

Lasse Kliemann <[email protected]> Tue, 26 Jun 2007 11:45:09 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
* Joerg Schilling writes:
> Lasse Kliemann <[email protected]> wrote:
> 
> >
> > Experiment:
> >
> > One process repeatedly generates a random filename and then touches, removes 
> > or writes a files by this name (which can result in an existing file to be 
> > modified). In other words: we have a very simple simulation of an active 
> > filesystem.
> 
> This is a case, that cannot be handled correctly without using a fs snapshot
> for the dump.

[...]
> If files in a directory are removed/renamed or created after the directory 
> namelist has been read using readdir() and before star archives them, many 
> things may happen.
> 
> As star uses fetchdir(), all files that miss after the readdir has been done
> will create a warning. If the file system may reuse the inode numbers for 
> other file names that did exist before with a different inode number, anything
> may happen. Star is not better than the OS you run it on. If you like to backup
> a life filesystem use snapshots.

Obviously, these are aspects I had not considered. Out of curiosity, I did 
some more runs today using the dumpdate feature (as described in the manpage, 
but without the filesystem snapshot). Comparing the copy with the restored 
filesystem revealed no missing files this time (which might not say much, 
since I only did a few runs). However, files still differed in contents.

I will use filesystem snapshots then. I am new to the snapshots business and 
noticed that Linux offers several techniques. Do you have any recommendations
which one to use?


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)

iD8DBQFGgOAk1gObwed86AkRArJmAJ9X3+5Vn0Dg4xtQDN1I6vVhOOpiFACeM3nT
NCn0xa3cbV/R2zQg0fsJRWM=
=zGh6
-----END PGP SIGNATURE-----