I wrote the attached script to automate testing the complete fidelity
of BackupPC backups... so that I could test the round-trip of dump &
restore as broadly, easily, and accurately as possible

In my case, since I use btrfs snapshots for the source of my backups,
I am able to ensure that the source is unchanged allowing for full
compare of restores against the original source.

Working with Craig, this has uncovered several bugs in acl's and
xatrributes... but now I am able to get 100% accurate backups against
'rsync -niacXAH --delete' -- which is about as close at it gets :)

The attached BASH script automates the restore and compare process
including retrieving the appropriate shares, merges, compression
levels, etc. needed to execute the compare. I should have written it
in perl but it started as just a series of CLI commands that kept
growing until they became a program...

This script should allow others to validate their own rsync backups
both for their own sake as well as to identify other bugs that may
still persist.

Enjoy and please report back any errors in either this script or
BackupPC...

Attachment: BackupPC_restoreTest
Description: Binary data

Best,
Jeff
_______________________________________________
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/

Reply via email to