LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i have server which has Linux version centos i want to create the image of the server (http://www.linuxquestions.org/questions/linux-newbie-8/i-have-server-which-has-linux-version-centos-i-want-to-create-the-image-of-the-server-821521/)

dhirendrs 07-22-2010 10:57 AM

i have server which has Linux version centos i want to create the image of the server
 
hi

i am using Linux type Centos sever which have some configuration every time if i have any problem, i have to reinstall is any thing which i can put it as image of the server and restore it if any thing wrong happen to server with bootable CD. any image command which took .

i know some thing like dd in Linux.

dhiren shah

saikee 07-22-2010 11:01 AM

If the server is mission critical you can clone the hard disk with CentOS inside. Anything goes wrong you simpy swap the disk. The clone needs either exactly the same size of just larger.

If the source is sda (or hda) and the target is sdb (or hdb, the one to be written on) the cloning is just
Code:

dd if=/dev/sda of=/dev/sdb bs=32256
The parameter bs=32256 can be omitted but each record will be defaulted to 512 bytes. 32256 is 63 sectors x 512 bytes or a complete track.

To put it on an image you need to run an operating system to restore it.

TB0ne 07-22-2010 11:02 AM

Quote:

Originally Posted by dhirendrs (Post 4042035)
hi
i am using Linux type Centos sever which have some configuration every time if i have any problem i have to reinstall is any thing which i can put it as image of the server and restore it if any thing wrong happen to server with bootable CD any image command which took

i know some thing like dd in Linux.
dhiren shah

Your post is hard to read without capital letters and punctuation.

Are you saying that every time you have ANY problems with your server, the only thing you do is reinstall it?? And what do you mean by "some configuration"??

If you searched on LQ, or on Google, you'd find lots of references to how to create recovery disks. DD is one option, but you can also use mkcdrec, mondoarchive, and systemimager.

dhirendrs 07-22-2010 11:11 AM

still it is not clear for me
 
Quote:

Originally Posted by TB0ne (Post 4042040)
Your post is hard to read without capital letters and punctuation.

Are you saying that every time you have ANY problems with your server, the only thing you do is reinstall it?? And what do you mean by "some configuration"??

If you searched on LQ, or on Google, you'd find lots of references to how to create recovery disks. DD is one option, but you can also use mkcdrec, mondoarchive, and systemimager.

can u tell me the steps 1 2 3....

dhiren

TB0ne 07-22-2010 02:46 PM

Quote:

Originally Posted by dhirendrs (Post 4042054)
can u tell me the steps 1 2 3....
dhiren

Can YOU spell out your words, write clearly, and show some effort on your part???

I gave you the names of three packages, which do what you want. Look them up, read the documentation. Search the threads on this VERY SITE, which will tell you more.

saikee 07-22-2010 04:00 PM

I echo TB0ne sentiment here.

Although I have offered my advice generically it would be better for the OP to do some work himself/herself in order to get the real benefit of any advice.

TB0ne 07-22-2010 08:20 PM

Quote:

Originally Posted by saikee (Post 4042333)
I echo TB0ne sentiment here.

Although I have offered my advice generically it would be better for the OP to do some work himself/herself in order to get the real benefit of any advice.

Thanks, but it goes further than that.

Does the OP honestly expect people here to type out the exact sets of directions/notes/etc., for three different software packages, and tailor those notes to their installation?? No, sorry....pointed the OP in the right direction, gave options...time for the OP to do some reading.

Far different if the post is "I'm getting error XXXXX using Distro yy.zz, anyone have ideas?"


All times are GMT -5. The time now is 01:11 PM.