22 Jun 2007 15:25
missing files from incremental backups
Lasse Kliemann <lasse-list-star-users <at> mail.plastictree.net>
2007-06-22 13:25:14 GMT
2007-06-22 13:25:14 GMT
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.
While this goes on, incremental backups of levels 0 to 9 are done with the
following command:
star -c -xdev -sparse -acl -link-dirs level="${level?}" -wtardumps \
f=level-"${level?}".star -C "${mount?}" .
Then, the generating process is stopped and one final backup of level 10 is
made. Nothing modifies the filesystem during this.
A copy of the backed-up filesystem is made using `cp -a' (from now on called
`the copy'), then the filesystem is deleted and restored with the command
from the manual page:
cd /filestem-mount-point
star -xpU -restore f=...
applied to files level-0.star up to level-10.star. During the restore, there
are several warnings like this one:
star: WARNING: No new inode number for /alive/file_391
Then the copy is compared to the restored filesystem.
(Continue reading)
RSS Feed