LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-06-2011, 10:01 PM   #1
linux hates me
Member
 
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:

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, 10:07 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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, 10:16 PM   #3
linux hates me
Member
 
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
 
  


Reply

Tags
accident, backup, deleted, recover, rsync



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 04:08 AM
HELP! Rsync deleted the source files! tpe Linux - Software 4 07-06-2008 02:01 AM
network backups with rsync, keep deleted files somewhere else? Telexen Linux - Server 1 09-06-2007 01:24 PM
Umlaut-Folder cannot be renamed or deleted (rsync) linusneumann Linux - Software 3 06-19-2007 10:41 AM
make rsync output deleted files? hawarden Linux - Software 8 03-18-2005 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:07 AM.

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