Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-06-2011, 11:01 PM   #1
linux hates me
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Rep: Reputation: 15
deleted files using rsync

Ok So I recently accidentally deleted files by switching the source and destination directory around in my command.

I specifically ran this code:

rsync -aphoge "ssh -l root" --delete /backup/staff kiska:/backup/staff
as you can see, I deleted all the files I wanted to back up because they got replaced by the empty directory which I was trying to back up to. Is there any way to recover the files which I deleted?? I spent around $1000 and had a professional recover all deleted files from the ext3 hard drive, however none of the files recovered were ones which I was trying to back up!!

any advice would be appreciated!!
Old 03-06-2011, 11:07 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
If that is all the recovery service could get out of the drive, I don't see that there is much else you can do.

How long after the files were deleted did you take the drive out of service? Did the recovery service give you an image of the drive in the state they got it? At this point, it may be impossible to recover any more files, it depends on how much data has been changed or written to since the original incident.
Old 03-06-2011, 11:16 PM   #3
linux hates me
Registered: May 2009
Distribution: fedora 14 and CentOS 5.5
Posts: 71

Original Poster
Rep: Reputation: 15
well, i immediately shut down the computer (once I had figured out my files were missing), and then immediately sent it to a data recovery place. I have been looking through the raw data they sent me (none of the file names were recoverable, simply the files and file extensions) and I seem to be finding plenty of deleted files which were on the drive but none of which were deleted by the rsync mistake. IDK I was just kinda hoping that maybe someone knows something I dont. well I'm hoping anyway


accident, backup, deleted, recover, rsync

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could I run rsync to download files from a server without rsync daemon? Richard.Yang Linux - Software 1 09-18-2009 05:08 AM
HELP! Rsync deleted the source files! tpe Linux - Software 4 07-06-2008 03:01 AM
network backups with rsync, keep deleted files somewhere else? Telexen Linux - Server 1 09-06-2007 02:24 PM
Umlaut-Folder cannot be renamed or deleted (rsync) linusneumann Linux - Software 3 06-19-2007 11:41 AM
make rsync output deleted files? hawarden Linux - Software 8 03-18-2005 01:24 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration