-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Γιώργος Πάλλας <gp...@ccf.auth.gr> writes:

> 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
Nice. How do you restore your system with these archives?

I was using a simpler one:
dpkg --get-selections "*" > MyPackets && tar cvpfz backuptotal.tgz / 
--exclude=/proc --exclude=/lost+found --exclude=/backuptotal.tgz --exclude=/mnt 
--exclude=/sys --exclude=/media --exclude=/tmp


Thanks.

- -- 
Merciadri Luca
First year in civil engineering
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrv7c4ACgkQM0LLzLt8MhxsrQCfab/N8RPgdLhfF0qvyBVpa7Rk
/EgAn1fYWdVp2sSqUK6wGCKmfyg2RH78
=z8pz
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to