PDA

View Full Version : [ubuntu] clone Ubuntu installation and incremental updates



dabd
November 16th, 2008, 12:29 AM
Hi,

I would like to clone (1:1 image and bootable, of course) my ubuntu installation and be able to incrementally update the cloned image.

I've searched the forums and there are several options for cloning:clonezilla, rsync, etc.

What is the best tool for the job?

Thanks.

cdtech
November 16th, 2008, 12:31 AM
If you have the space, I would use the "dd" command to copy the entire drive contents to the backup drive and use rsync to maintain the backup afterwards.

Just my thoughts.....

Duck2006
November 16th, 2008, 12:35 AM
The dd commands or part image will do what you want.

http://www.brunolinux.com/02-The_Terminal/The_dd_command.html
http://www.psychocats.net/ubuntu/partimage

dabd
November 16th, 2008, 12:44 AM
If you have the space, I would use the "dd" command to copy the entire drive contents to the backup drive and use rsync to maintain the backup afterwards.

Just my thoughts.....

Will dd create a bootable image?

cdtech
November 16th, 2008, 12:46 AM
Yes

dabd
November 16th, 2008, 12:52 AM
The dd commands or part image will do what you want.

http://www.brunolinux.com/02-The_Terminal/The_dd_command.html
http://www.psychocats.net/ubuntu/partimage

If I create an exact clone with dd, the clone will have the same UUID and I won't be able to automount it, isn't it?

Is it possible to incrementally update the image created with partimage, say with rsync?

Duck2006
November 16th, 2008, 12:52 AM
Yes but be careful.


I urge you to be very careful with the DD command . . . switching if= with of= can have catastrophic results

Duck2006
November 16th, 2008, 12:54 AM
Is it possible to incrementally update the image created with partimage, say with rsync?

yes.

dabd
November 16th, 2008, 01:03 AM
yes.

Well in that case partimage seems to be safer than dd.
What about clonezilla?

Duck2006
November 16th, 2008, 01:10 AM
Well in that case partimage seems to be safer than dd.
What about clonezilla?

I have never used that, This may help with that.

http://ubuntuforums.org/showthread.php?t=421375