LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-09-2005, 10:27 PM   #1
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Back up technique for one-time re-install


I haven't done a fresh install since FC1, and I've learned a lot about how I want my system arranged since then. For FC4, I think I'll do the whole she-bang.

My question is, what's the best way to back up my /home directory, pretty much intact, so I can eventually restore all the hidden directories, etc that I want. I don't necessarily want to replace /home intact, I just want to have everything available so I can pick and choose what to restore.

I have an external drive I can move it to. What would be the cp format to archive it? cp -r /home /OtherDisk? Will it be a problem if I format the external disk as FAT, since the /home directory is ext3?

How about storing the directory in pieces on CDRs? That would be a little easier is I could count on the cd writing software. Looked at K3B, and wasn't convinced it would get all the hidden files and directories. Am I wrong about that?
 
Old 06-09-2005, 11:59 PM   #2
finklewicz
Member
 
Registered: Mar 2005
Posts: 41

Rep: Reputation: 15
http://www.partimage.org/ to save your partitions. I set up my system to my specs, and back up each partition so I can do a quick restore when the time comes and all my settings are already intact. Some back up software allows you to pick individual files from the archives like Partition Manager from Acronis, which can be run from a boot disc without needing Windows.

K3b can be used to select hidden files by right clicking on the file selection window, and checking "Show Hidden Files".
 
Old 06-10-2005, 10:11 PM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by rickh
I have an external drive I can move it to. What would be the cp format to archive it? cp -r /home /OtherDisk?
Here's a couple of backup options (su to root for each):

Code:
# cp -rpfd /path_to/source_directory/* /path_to/backup/
Code:
# rsync -rav /path_to/source_directory/ /path_to/backup/
 
Old 07-07-2005, 04:49 PM   #4
bunyip
LQ Newbie
 
Registered: Jan 2004
Location: Hereford, UK
Distribution: Kubuntu 7.10
Posts: 13

Rep: Reputation: 0
Would the rsync option also work to restore if I didn't use to backup in the first place ?

I've got the following situation:
I copied my complete home directory with K3b onto a DVD+RW, and have now installed my new hard drive. The original one I've kept in the system, and have used it solely for OS, with the new hard drive being my slave drive mounted as home. On it I now have two directories: /home/bunyip and /home/backup.

Could I use the rsync method to restore /home/bunyip the way it was before from /home/backup - including all my mail settings and browser settings ?
 
  


Reply



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
Time goes back 4 hours on every boot lagartoflojo Slackware 8 04-06-2005 08:28 AM
System Time keeps going back to Moscow hongman Linux - Newbie 7 03-08-2005 03:05 PM
Back in Time? mykrob Linux - General 6 07-28-2004 01:17 PM
It's my time to give back! ipn1nj4 LinuxQuestions.org Member Intro 1 06-11-2004 03:08 PM
Time setting back 5 hours dsheller Linux - Newbie 4 01-24-2004 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:12 PM.

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