Holger Parplies wrote: > Hi, > > Emilie Ann Phillips wrote on 2008-07-27 13:34:13 -0400 [[BackupPC-users] how > to compare the active file system to the last backup]: >> My system just crashed rather nastily and I would like to verify that >> fsck recovered everything properly. >> >> Is there a way to diff the mounted file system vs the latest backup >> without restoring the backup to a temporary location and doing the >> diff by hand? > > I'd try tar's d option. Presuming your host is named 'host', you're concerned > about the '/share' share, and it's mounted on your BackupPC server as > '/mnt/share', try something like > > % sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarCreate -h host > -n -1 -s /share . | tar -C /mnt/share -df - . > > You might need to use another method to become the backuppc user, your > BackupPC_tarCreate might be somewhere else (I think the default is > /usr/local/BackupPC/bin/BackupPC_tarCreate), and you might need root > permission for the tar to be able to read everything it is supposed to > compare. > You might want to modify a file just to check that it is correctly reported.
If the parts you want to check aren't too big to do it visually, you could just run another backup, then browse to a starting directory in one of the backups and view the history link. From there, you would walk through all the subdirectories looking for files that exist in earlier runs but show an empty box in the one following your crash. -- Les Mikesell [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/