Save a disk image

Gerard Snitselaar snits at snitselaar.org
Sun Jan 29 17:31:36 MST 2006


This method will require setting up the partition table and filesystems
on the disk before doing the copy back when you want to turn it into a
debian system again. The dd method given should deal with that since it
is copying at the disk level.


On Sun, 2006-01-29 at 14:08 -0700, Dan Lund wrote:
> Boot onto a boot cd like the gentoo live cd, mount the drives under
> /mnt/gentoo (or any arbitrary mountpoint), then run:
> "tar -cvpf - /mnt/gentoo | ssh root at backup-server "gzip -9 >
> /my/backup/directory/backup-tarball.tar.gz".
> 
> Replace /my/backup/directory with the directory you want to store your
> bz2 tarball on the remote server, and replace /mnt/gentoo with where
> you mounted your debian partition on the machine being backed up.
> 
> I've done this half a billion times as a quick way to get a copy of
> the OS before I blast a machine for other use.
> 
> --Dan
> 



More information about the PLUG-discuss mailing list