Best way of backing up entire system?
Posted: 18 Jan 2011, 10:25
Hi
I have made some customization and installed some extra software. Now, this was time consuming and I don’t want to have to do it all from scratch again.
What is the best way of backing-up the entire system? and restoring it?
On a system with a CD-ROM I would run my usual backup script (see below) to generate backups, and then start the system from a LiveDisk, mount the host file system and extract the backup.txz archive onto it. The B3 does not have a CD-ROM so I am not sure how I would restore my backups.

I have made some customization and installed some extra software. Now, this was time consuming and I don’t want to have to do it all from scratch again.
What is the best way of backing-up the entire system? and restoring it?

On a system with a CD-ROM I would run my usual backup script (see below) to generate backups, and then start the system from a LiveDisk, mount the host file system and extract the backup.txz archive onto it. The B3 does not have a CD-ROM so I am not sure how I would restore my backups.
Code: Select all
cat backup.lst |
xargs tar lcfv /backup/system.txz --xz 2> /backup/system.err |
tee /backup/system.log 1> /dev/null
(My script uses xz compression. About 58% saving on gzip for the out-of-box B3 system.)backup.lst wrote:/
--exclude=/backup/*.txz
--exclude=/home/storage/extern/*
--exclude=/proc/*
--exclude=/sys/*
--exclude=/tmp/*
--exclude=/var/lock/*
--one-file-system
