[Discuss] Disk recovery utilities - dealing with deleted files

Rich Pieri richard.pieri at gmail.com
Mon Feb 4 12:15:33 EST 2013


On Mon, 4 Feb 2013 08:33:36 -0800
"Rich Braun" <richb at pioneer.ci.net> wrote:

> rsync, don't ever delete them until I manually confirm. (Anyone else
> have a script for that? It'll be a bit hairy to write from scratch...)

It's easy with btrfs. This is how I do btrfs backups (modulo some logic
to automate various steps):

* create snapshot of origin.
* rsync origin snapshot to backup btrfs volume.
* create replica snapshot on backup volume.
* rotate backup volumes every week or two.

This way nothing ever is permanently deleted until it is deleted from
the origin and then all backup volumes with copies are rotated in and
used.

You can fake this with rsnapshot.

Unison is the other option I'd use. unison will halt if the changes
between replicas are too great, specifically for cases when entire
directories are mistakenly erased.

-- 
Rich P.



More information about the Discuss mailing list