Merciadri Luca wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I often backup everything of my Debian systems with the tgz utility. Is it possible to boot a LiveCD, to put the whole content of the tgz (assuming it is complete) on the partition (assuming there is enough free space), and to reboot (assuming GRUB is okay)? I would like to hear others' experience about this.
yes, it is possible. I also keep backup of my system using tar* and I have at least once successfully restored a working, booting system after a failure.
* tar use for backup: tar cvSj --exclude=/tmp --exclude=/proc --exclude=/lost+found --exclude=/dev --exclude=/sys /tmp/backup.tar.bz2 /
and this is what I actually use in order to store the system backup in 4GB encrypted chunks, along with an encrypted index of all the files and an md5sum checksum of the archive (I love one-liners :-) ): time tar cvSj --exclude=/home/gpall/.local/share/Trash --exclude=/tmp --exclude=/proc --exclude=/lost+found --exclude=/dev --exclude=/mnt --exclude=/media --exclude=/sys / 2> >(gpg -z 9 -e -r gpall -o sysbackup-filelist.gpg) | gpg -z 0 -e -r gpall | tee >(split -b 4000m - sysbackup.tbg.split_) | md5sum > sysbackup.tbg.md5
Description: S/MIME Cryptographic Signature