[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cloning Debian?



On Tue, 2003-08-19 at 05:12, Gregory Guthrie wrote:
> I have a working system, and want to clone it to a bigger, newer, faster 
> one, keeping the old one as a backup...
> 
> I looked at a lot of options, (Dolly, G4u, ...) including Cloneit, and 
> Partimage, but have trouble with both.
> 
> Cloneit; http://www.ferzkopp.net/Software/CloneIt/CloneIt.html
> I find is very unreliable, it works for awhile, but the cloned image was no 
> good. It also only reports a very small %age of the actual size sent that 
> needs to be copied.
> (I am running it from a SystemRecover CD - 
> http://systemrescuecd.sourceforge.net/download.en.html ).
> 
> Partimage; http://www.partimage.org/
> I find that it works OK for local image save/restore, but for remote 
> ("server") usage, it starts, then hangs. E.g. I have a 866 MB /usr, an it 
> reports it properly, starts, says it transferred 12MB to remote (image 
> save), and then hangs. Remote shows a 105MB .tmp file. Both sides are then 
> stuck, need to be "kill"ed. It is repeatable. Since it starts, I think it 
> should finish!  :-)
> 
> Any ideas on remedies, or other /better ways to do a remote clone?
> I've spent way.... too much time trying things that should work in a simple 
> manner!
> 
> I can't just do a remote NFS copy of the live (booted) partitions (I think).
> 
> Thanks.
> 
> --------------------------------------------------------
> Gregory Guthrie
> guthrie@mum.edu
> --------------------------------------------------------
> 
>           

I don't know if this is what you're after, but. I've successfully used
the tar utility and knoppix to clone a debian machine. After booting
into runlevel 1, I started networking and mounted an SMB share
(writeable) on the new box (having started it with knoppix): 
tar -c /usr>/mnt/mountpoint/USR.tar I did this for each directory in the root
drive (except /mnt and /proc) and it seemed to work fine. On the new
beast I simply used 
tar -x USR.tar /mnt/hda1/
Then edited the necessary config files (fstab, XF86config, etc), installed 
grub and never looked back.
So that's another option for you,
Regards
Damien
-- 
Damien Solley
dsolley@student.usyd.edu.au



Reply to: