LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2009, 11:02 AM   #1
fragged
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Rep: Reputation: 0
Dead Laptop RAM: How to backup files with Rsync?


Hey guys

Sister dumps me her laptop and expects that I fix and or recover her data. After diagnosing the problem, the laptops RAM is pretty dead; its not exactly the most stable computer (And by that I mean ~1h uptime..)

So, I've thought about how to recover the data.. I could order a USB 2.5" IDE to USB adapters off ebay; but I'd much prefer the free route...

I've got a knoppix cd and understand I can use SCP to transfer the files to my linux computer and then burn the data to DVD's, however as I've stated the computer isnt stable enough to transfer ~60gb of data quick enough.

I've looked at backup solutions that may well work and i've found that rsync seems to do what I want; however I cannot for the life of me figure out how to set it up.

Basically I need a script that checks files for consistency, and does not overwrite files that exist (so I can run it 4-5 times without starting from the start every single time)

Can anyone help with that?

Cheers,
Fragged
 
Old 08-23-2009, 11:32 AM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Quote:
Originally Posted by fragged View Post
I've got a knoppix cd and understand I can use SCP to transfer the files to my linux computer and then burn the data to DVD's, however as I've stated the computer isnt stable enough to transfer ~60gb of data quick enough.
Quite frankly, RAM is relatively cheap. However, if that's not possible...

What kind of computer do you have? If it's a desktop, you could pull the HDD, set the jumper to 'Slave', connect it directly to a plug on your IDE cable, boot up, and go from there with copying/burning data.
 
Old 08-23-2009, 11:41 AM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
If it is a 2.5 drive you would need a 2.5 to 3.5 adapter to use it in a desktop.

You might try putting the drive in another laptop or temporarily borrowing some ram to do the swap.
 
Old 08-23-2009, 12:03 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
If you suspect the file system(s) on your sister's HDD may be damaged it would be prudent to image it before attempting repair in case the repair does any further damage.
 
Old 08-23-2009, 12:06 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi fragged,

at first I'll recommend to use a slax instead of a knoppix CD, slax itself is only about 180MB. Get some Ram for the Laptop and mount with slax in text mode, this uses few of the Ram.

Then try it out with scp as you stated, maybe the machine runs more stable with slax than with another system ;-).

Good luck.

Markus
 
Old 08-23-2009, 01:43 PM   #6
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
The suggestions above are probably a better solution than copying the files from the unstable laptop, but if you want to try using rsync, you can try:

rsync -r --ignore-existing $mydatadirectory $mymountpoint

use ~$man rsync for more options. You could mount the remote directory using something like samba, nfs, sshfs, etc.
 
  


Reply


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
rsync: only backup recently modified files hamish Linux - Software 3 09-20-2011 09:55 AM
Is it possible to get rsync to use less ram? Its using over 500M now. abefroman Linux - Software 1 12-23-2007 05:19 PM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM
Suspend to RAM working, but console is dead bence8810 Linux - Laptop and Netbook 4 01-25-2007 12:15 PM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:59 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