rsync and deleted files

Ryan Rix phrkonaleash at gmail.com
Mon Sep 7 19:41:22 MST 2009


Photorec and luck.

Nathan England wrote:
> 
> I plugged my USB drive into my system, ran my backup script and went to
> supper. My backup script contains
> 
> rsync -avz --delete-after /home/naubrey/ /media/320GB/naubrey/
> 
> 
> Usually, it works great. Problem is my /home/naubrey/ directory on my
> system was EMPTY and it wiped out my backup!!!!
> 
> I just wiped my work laptop and reinstalled, but I had not copied my user
> directory stuff back because I needed to make some additional changes. I
> made the changes and wanted to back up the changes, forgetting my user
> directory was included in my all_inclusive backup script...
> 
> The USB drive is ext2 and when I came back I immediately unmounted and
> mounted ro.
> 
> This is a typical user directory with 60GB of text files, abiword files,
> kword files, OpenOffice files, mp3, ogg, about 100 avi dvds, and thousands
> of notes... Some files were only 2 k others were over 1GB.
> 
> As I have never attempted recovery of deleted files because I am (99% of
> the time) very vigilante about my backups. I design backup systems for
> customers!!!! ha ha
> 
> What utilities or programs are there that might automate this as I really
> don't care to sit and tell the system to recover this inode, and yes, this
> inode, and again y to this inode as there are well over 200,000 files.
> 
> Thanks for any help, insights, condolences!!!
> 
> nathan

-- 
Ryan Rix
(623)-826-0051

Fortune:
... I'm IMAGINING a sensuous GIRAFFE, CAVORTING in the BACK ROOM
of a KOSHER DELI --

http://hackersramblings.wordpress.com | http://identi.ca/phrkonaleash
XMPP: phrkonaleash at gmail.com          | MSN: phrkonaleash at yahoo.com
AIM:  phrkonaleash                    | Yahoo: phrkonaleash
IRC:  PhrkOnLsh at irc.freenode.net/#srcedit,#teensonlinux,#plugaz and
      countless other FOSS channels.




More information about the PLUG-discuss mailing list