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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-17-2003, 01:57 PM
|
#1
|
Member
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244
Rep:
|
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
|
|
|
03-17-2003, 02:19 PM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
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 /
|
|
|
03-17-2003, 02:33 PM
|
#3
|
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541
Rep:
|
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.
|
|
|
03-17-2003, 10:57 PM
|
#4
|
Member
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: OpenMandriva
Posts: 144
Rep:
|
Norton Ghost
PowerQwest Disk Image
I prefer Ghost
you can make image files that fit on cds with both I believe
|
|
|
03-17-2003, 11:22 PM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|