Tgz Backups

View: New views
9 Messages — Rating Filter:   Alert me  

Tgz Backups

by Merciadri Luca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----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.

Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkruuz8ACgkQM0LLzLt8MhzE9QCeKmFowEt01CxiwbiQjoPrlY5m
6IIAoI2wq/6zRJCHmtWN82jSUiyQqY9I
=tzF+
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Tgz Backups

by Alexey Salmin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What exactly do you want to get? A working system on a new partition
without the installation process?

Alexey

On Mon, Nov 2, 2009 at 4:58 PM, Merciadri Luca
<Luca.Merciadri@...> 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.
>
> Thanks.
> - --
> Merciadri Luca
> See http://www.student.montefiore.ulg.ac.be/~merciadri/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
>
> iEYEARECAAYFAkruuz8ACgkQM0LLzLt8MhzE9QCeKmFowEt01CxiwbiQjoPrlY5m
> 6IIAoI2wq/6zRJCHmtWN82jSUiyQqY9I
> =tzF+
> -----END PGP SIGNATURE-----
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@...
> with a subject of "unsubscribe". Trouble? Contact listmaster@...
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Tgz Backups

by Osamu Aoki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Nov 02, 2009 at 11:58:07AM +0100, Merciadri Luca wrote:
> 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.

I do not do this type of backup.

But I know these is specific tool to do what you wish.

 mondo http://packages.debian.org/sid/mondo

http://www.debian.org/doc/manuals/debian-reference/ch10.en.html#_backup_utility_suites

Good luck.

Osamu

PS: You may wish to have grub-disk and create grub boot CD.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Tgz Backups

by Merciadri Luca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Osamu Aoki <osamu@...> writes:

> On Mon, Nov 02, 2009 at 11:58:07AM +0100, Merciadri Luca wrote:
>> 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.
>
> I do not do this type of backup.
>
> But I know these is specific tool to do what you wish.
>
>  mondo http://packages.debian.org/sid/mondo
>
> http://www.debian.org/doc/manuals/debian-reference/ch10.en.html#_backup_utility_suites
>
> Good luck.
Thanks, Osamu. I knew this tool, and it is pretty useful. My question
was about manual .tgz backups, but I keep your note.

Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrvANYACgkQM0LLzLt8MhwlsQCdHQcO86BPxjZdkOKRm5JBqx/8
pu0An3XC3pUUEEIIFfZy1XD5m88H0XQB
=zUid
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Tgz Backups

by Merciadri Luca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Alexey Salmin <alexey.salmin@...> writes:

> What exactly do you want to get? A working system on a new partition
> without the installation process?
This looks like a lofty question. I would like to
* install the minimal system,
* use a LiveCD to complete some missing files.

Okay, it is clear that it is always better to install things with
installers, package managers, etc., but the only thing which would not
be done directly, when copying files manually, is the files' linking,
wouldn't it?


- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrvAYUACgkQM0LLzLt8Mhw7+wCcDqcTRqtR5uBX/y/5GxYQiyLX
gZ0AmweHVvhfiFgNXVQjzQtwSMkPnEn5
=Z0p1
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Tgz Backups

by Γιώργος Πάλλας :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



smime.p7s (13K) Download Attachment

Re: Tgz Backups

by Merciadri Luca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Γιώργος Πάλλας <gpall@...> 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-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: Tgz Backups

by Γιώργος Πάλλας :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Merciadri Luca wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Γιώργος Πάλλας <gpall@...> 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?
>  
restore?? never thought about that... :-P

restore is easy:
1. live cd boot
2. create partitions and filesystems
3. restore system: cat /media/MYUSBDISK/sysbackup.tbg_split* | gpg -d |
tar xvjS"
4. fix GRUB

PS. I would recommend backup and restoring with something like
Clonezilla. I use my own way because I run a fully encrypted LUKS system
and bit-to-bit copy has a little overhead ;-)




smime.p7s (13K) Download Attachment

Re: Tgz Backups

by Merciadri Luca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Merciadri Luca <Luca.Merciadri@...> writes:

> 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.
>
> Thanks.
Okay, thanks for this easy procedure.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEUEARECAAYFAkrv8vUACgkQM0LLzLt8Mhyx6gCdFtf0GQxP7dR6kZaFgzbCFW8K
Q30AmM0nkRkzRbLVkEdZFbvHEOmbBRA=
=3RZo
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...