I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it.
I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc).
In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive.
I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
Since you already have a second diskdrive, I would suggest to just test it with Clonezilla Live. Install both diskdrives in your system. Create a bootable USB stick with Clonezilla Live and boot from it. Personally I use tuxboot to create such a USB stick. But there are some other options you can find here: http://clonezilla.org/liveusb.php. After booting from the USB stick you will eventually get a screen in which you can select what type of image you want to create (it's the fourth screen after the boot menu). Select the device-device option, which makes a disk to disk clone. Just make sure you select the right diskdrive as source and destination. After cloning, disconnect your original drive and see if you can boot from your spare drive.
Personally I would invest in a USB diskdrive which you can use to store images of your original drive (using the device-image option of Clonezilla Live). That way you can make an image of your system on a regular basis, say once a month. If disaster strikes, you can use the most recent image to restore your system on your spare drive. Test it beforehand, though, just to be sure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it.
I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc).
In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive.
I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
Any issues with doing this?
I didn't find the right solution from the internet.
References:
https://www.centos.org/forums/viewtopic.php?t=24284
product launch
Since you already have a second diskdrive, I would suggest to just test it with Clonezilla Live. Install both diskdrives in your system. Create a bootable USB stick with Clonezilla Live and boot from it. Personally I use tuxboot to create such a USB stick. But there are some other options you can find here: http://clonezilla.org/liveusb.php. After booting from the USB stick you will eventually get a screen in which you can select what type of image you want to create (it's the fourth screen after the boot menu). Select the device-device option, which makes a disk to disk clone. Just make sure you select the right diskdrive as source and destination. After cloning, disconnect your original drive and see if you can boot from your spare drive.
Personally I would invest in a USB diskdrive which you can use to store images of your original drive (using the device-image option of Clonezilla Live). That way you can make an image of your system on a regular basis, say once a month. If disaster strikes, you can use the most recent image to restore your system on your spare drive. Test it beforehand, though, just to be sure.