Tutorial: Creating a Mirror Copy of IPFire System Disk

Nice, ill have to try this out!

I’ve used tar in the past to transfer between machines which doesn’t require expanding the file system.

From source machine:

tar -cvpzf /root/backup.tar.gz --directory=/ --exclude=./proc --exclude=./sys --exclude=./boot --exclude=./bin --exclude=./dev --exclude=./lib --exclude=./etc/default --exclude=./tmp --exclude=./etc/fstab --exclude=./run --exclude=./root/backup.tar.gz --one-file-system .

On destination machine:

tar xvpzf /root/backup.tar.gz –C ./ --numeric-owner

extracting on the destination after you load up the new install of OS

1 Like