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

Sylvain Beucler wrote:
> On Tue, May 25, 2010 at 04:21:45PM +0200, Vincent Caron wrote:
>> On Sun, 2010-05-23 at 15:55 +0200, Loic Dachary wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>>
>>> Hi,
>>>
>>> I've setup a rsnapshot that will backup daily
>>> petzi.fsffrance.org, the host on which lisa / bart are running.
>>> If it proves stable, it could replace the current maggie
>>> backups. The main advantage is that the actual system is backup
>>> instead of selected files. I've often found difficult to
>>> restore backups that require to reconstruct a working
>>> environment.
>> I second that, when it's possible, it's much better to backup
>> mostly blindly. I personnally backup whole domUs without
>> transient data (log, tmp, etc) in order to restore them easily.
>> It still needs a bit of intelligence (dump SQLs, manage those
>> zillion noSQL thingies, etc) but it's simple and efficient.
>>
>> The rsync-based custom script on Maggie was initially meant to
>> only capture what was essential user data because ressources
>> (bandwidth and disk space) were a bit scarce. That's mainly not
>> true nowadays (though a 4TB filer smoked last week and thus
>> problems scale too...).
>
> I agree too - saving 1-2GB of system data is not worth the trouble
> of reinstalling it :)
>
> On Savannah I switched to multiple backups (one per
> vserver/chroot/xen/whatever) instead of a full global one.  This
> allowed me to implement backups on LVM snapshots, guarantying
> consistency.  It may be a good idea to do that too.
>
151G    /mnt/petzi/daily.0
2.0G    /mnt/petzi/daily.1

A full backup with the following excluded/included:

include
/var/lib/vservers/bart/chroot/db/dumps/savannah.sql             
exclude
/sys                                                            
exclude
/proc                                                           
exclude
/var/lib/vservers/bart/chroot/db/var/lib/mysql/savannah         
exclude
/var/lib/vservers/*/var/log                                     
exclude
/var/lib/vservers/*/var/log.l                                   
exclude
/var/lib/vservers/*/chroot/*/var/log                            
exclude
/var/lib/vservers/*/chroot/*/var/log.l                          
exclude
/var/lib/vservers/bart/chroot/db/dumps.l                        
exclude
/var/lib/vservers/bart/chroot/db/dumps                          

meaning we can expect 2GB per day.

Cheers




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkv8R3gACgkQ8dLMyEl6F216CwCgkH3VJzqtO+GE/M5GGy2eF9GJ
MHIAnjRlyT9iX8JXjg1TubLNqs7Ii1kM
=nyS4
-----END PGP SIGNATURE-----

<<attachment: loic.vcf>>

_______________________________________________
Project mailing list
[email protected]
https://mail.gna.org/listinfo/project

Reply via email to