Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-17-2003, 01:57 PM   #1
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
copying entire intallation

I'm starting to figure out some things to make linux useful in my office. The problem is I'm scared of losing a machine once it's set up (like my handy DNS server). Is there a way to backup the entire hard drive in linux in case I want a backup machine? Would I back up from one linux machine to another or from a linux machine to a blank Hard disk?

If it matters, I'm using Debian Woody
Old 03-17-2003, 02:19 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,676

Rep: Reputation: 218Reputation: 218Reputation: 218
Yes, you can do this. There are two ways(there are more, those 2 can be done in every system):
* using dd - makes a phisical copy of a disk/partition (also free space), requires space equal to the partition you're copying. Big plus: you can mount such an image, so you can easily copy files from it. Example:
dd if=/dev/hda1 of=image.img
Makes a copy of first partition to file image.img
* using tar - copies only files, less space. Not very easy to access the files (it's an archive). Example:
tar -cvvf archive.tar /
Old 03-17-2003, 02:33 PM   #3
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You can copy the whole filesystem over on another hd.Don't copy /proc.Just make a directory for /proc.Worked for me.Don't expect it to work ok on a box with different hardware.
You can also have a look at under 'copy the root filesystem'.
Damn just checked the link - you need to go to 'documentation-root boot howto' there.

Last edited by crashmeister; 03-17-2003 at 02:35 PM.
Old 03-17-2003, 10:57 PM   #4
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: Ubuntu 8.04 Hardy Heron LTS x86_64
Posts: 144

Rep: Reputation: 15
Norton Ghost
PowerQwest Disk Image
I prefer Ghost
you can make image files that fit on cds with both I believe
Old 03-17-2003, 11:22 PM   #5
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Aussie built an excellent how-to on drive upgrading, take what applies to your situation:



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
Newbie asking for intallation help user27519298 Yoper 4 03-16-2005 10:28 PM
Copying ENTIRE MSSQL Datbase acompw General 0 11-07-2004 08:16 PM
kmess intallation nanabaffoe Linux - Software 1 08-10-2003 07:55 PM
Java / RH 9.0 intallation 777SPy Linux - Software 6 07-21-2003 05:46 PM
debian sx6000 intallation bizkit Linux - Hardware 0 05-25-2003 04:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 AM.

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