Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Disk recovery utilities - dealing with deleted files



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.



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org