LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-17-2003, 01:57 PM   #1
viniosity
Member
 
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
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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
crashmeister
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 http://www-124.ibm.com/developerworks/oss/jfs 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
zeroability
Member
 
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: OpenMandriva
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
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Aussie built an excellent how-to on drive upgrading, take what applies to your situation:
http://www.p-two.net/modules.php?op=...article&sid=12

Cool
 
  


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
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

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

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