LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 03-29-2007, 01:14 PM   #1
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Rep: Reputation: 22
How can I backup my FC5 system to a USB Hard Drive


I just bought a 320GB USB/SATA External Hard Drive (HD2Go). I would like to use it to backup my Fedora 5 Server which has MySQL and a pile of other stuff on it. It's aii on a 120GB Drive.

I don't have a backup tape, so it would be nice if I could back it up to this USB Drive as the current drive is starting to get old.

The USB drive comes preformatted (probably NTFS or FAT32). I don't want to 'fiddle' with it and destroy it or my Linux box, so if anyone can help, it would be appreciated.

1. Do I need to reformat the drive - if so how?
2. What would be the best way to backup, rsync, an imaging utility or what is out there that will give me a workable backup / image without it costing me an arm and a leg?
3. Anything else which would help.
 
Old 03-30-2007, 01:39 AM   #2
bdox
Member
 
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
I think you should ext3 format your drive (or at least make a ext3 partition on it) and copy there your / . (just doing this shouldn't destroy your drive!
I'd recommend use the cp command, see 'man cp' ...
you could make an script to backup automatically.
to manage partitions gparted is a good program. if you'd rather just format all the disk, 'mkfs.ext3' would be the way to go.
 
Old 03-31-2007, 12:43 AM   #3
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 22
Backup Fedora 5

Thanks, that solves the formatting problem, but isn't there anything out there that I could use to make an image of the system - something like Ghost?

I know on a Windows box, copying doesn't work very well, because there are a lot of files it just won't copy. Isn't this the same on Linux?
 
Old 04-02-2007, 03:39 PM   #4
bdox
Member
 
Registered: Feb 2005
Location: SoL iii
Distribution: Mandriva 2007
Posts: 110

Rep: Reputation: 15
Ok. what you need is "dd". see here: http://www.linuxquestions.org/questi...d.php?t=362506
you can make an image of your partitions and gzip or .tar.gz it...

You would also write a script which does that and mirrors it where you want... You can stick the script in /etc/cron.weekly and then forget about it, for automatic weekly backups.

=)
 
  


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
USB hard drive for backup? alhale Linux - Hardware 9 11-17-2006 08:31 AM
FC5 won't recognize (backup) SATA drive exit jones Linux - General 1 10-07-2006 09:07 PM
System can't see my USB hard drive bomberb17 SUSE / openSUSE 5 01-13-2006 10:28 PM
Hard drive/System backup ksgill Linux - Newbie 2 11-11-2004 02:10 AM
Hard Drive System Backup of Linux? KarlT Linux - Software 2 12-20-2003 08:03 PM

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

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