LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-14-2002, 12:30 PM   #1
noname
LQ Newbie
 
Registered: May 2002
Posts: 17

Rep: Reputation: 0
taking image of entire partition.


Hi All,

Am wondering if it is possible to take snapshot of entire Linux system (with multiboot); and burn it on CD(s); so that if later on, somethin goes wrong you can just restore the image to revert system back to that state, instead of re-installing everything.

specially i'dont want to end up with the image as big as of the partition size. i know; for windows noroton ghost will not take image of entire partition; but only for the "part of partition which is filled up with some data".

does Norton Ghost itself has support for linux?

Appreciate the help.
 
Old 05-14-2002, 01:29 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
You can make the image the normal way (with dd) and the compres it using gzip, for example. It should give quite good result.
 
Old 05-14-2002, 03:04 PM   #3
noname
LQ Newbie
 
Registered: May 2002
Posts: 17

Original Poster
Rep: Reputation: 0
Have another question on the same topic.

1) to back up the entire system do i have to backup all of the partitions (excluding swap) (assuming i only have single linux distro on my system)?

2) assuming if i have lilo on MBR; how do i take its image; so that i can restore it back.
 
Old 05-14-2002, 03:35 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
If you have a lot of space, the easiest way to go about things is to probably just make some huge gzipped tarballs of your partitions. This will copy on the data within them. For instance if you had 3 partitions, /usr, /boot, and /home (excluding swap):

tar czvf home.tar.gz /home

With all three, this of course would stick the end created file in whatever directory you were currently in, so make certain there is room. Burn these to CD once a week, whatever, possibly copy them to another machine, or both.

In the event of a fullblown system meltdown, repartition the drive to the correct size, boot with something like tomsrtbt, copy the tarballs on there (mount the cd, nfs, whathaveyou), untar them, and then as long as things like /dev/hda1 stayed /dev/hda1 and such, just re-run lilo. Its pretty easy.

Although really I just backup all the .conf files and such that aren't still at defaults: httpd.conf, proftpd.conf, the mail spool, etc, and back them up to /home that then gets gzipped up on a cronjob once a day and copied over to a few different machines. In the case of a meltdown I just pick out distro X, install it, and then untar home and monkey about with the .conf files for a little while.

Cheers,

Finegan
 
Old 05-14-2002, 11:51 PM   #5
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
I forget the name unfortunately, but there is a project you can find on Freshmeat that creates complete rescue boot CD Images of any Linux System. The Images are compressed, so empty space doesn't take up CD's. The caveat, you need to have Ramdisk, iso9860 filesystem, and any controller you need for CD enabled in your kernel (the software takes your current running kernel to make the boot CD) (It will work with modules as well)
 
  


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
What is best way to ghost an entire partition onmountain Linux - General 8 10-29-2005 11:47 AM
PHP image-creation while loop taking forever benrose111488 Programming 9 07-09-2005 07:04 PM
Delete an entire partition john8675309 Linux - Software 1 02-02-2005 08:57 PM
/root/.xsession-errors is taking up the entire free space on disk! Freeek Linux - General 5 10-06-2003 01:02 PM
Mount Loopback filesystem on an entire HD image? wartstew Linux - General 0 01-24-2003 07:46 PM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration