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

Re: Tgz Backups

Merciadri Luca wrote:
Hash: SHA1


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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply to: