Re: backup rsync

2014-09-06 Thread Egoitz Aurrekoetxea
Good morning,

We are using Cyrus replication for some years now. It’s just fine. You can play 
too with
expunge_delayed for avoid removing mail immediately.

Regards,

El 05/09/2014, a las 17:25, Marcus Schopen li...@localguru.de escribió:

 Am Samstag, den 30.08.2014, 17:10 +0200 schrieb Simon Matter:
 Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso:
 --On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen
 li...@localguru.de wrote:
 
 Hi,
 
 I'm planing to use lvm snaps and rsync for a daily disaster recovery
 backup on my master cyrus (2.4.12 Ubuntu 12.04 LTS):
 
 Have you tested lvm snaps for this purpose yet?  When I tried to use lvm
 snapshots in this way a few years ago, it absolutely killed performance
 on
 the volume with the active snapshots.  Hopefully things have improved,
 but
 I wouldn't bet on it.
 
 Yes, I've tested it and don't see any performance problems while the
 snaphot is active. My problem is how to backup about 140 GB mailspool in
 an acceptable time slot. What tools are recommended?
 
 If using rsync what options are best practice?
 
 I suggest -aH to preserve single instance storage in the backup.
 
 
 Just bought some good wine for my weekend project: what about rsnapshot
 combined with lvm snapshots (in the pre/postexec scripts of rsnapshot)?
 rsnapshot works with rsync and hardlinks. Rotation and some other nice
 features come out of the box. Any experiences with cyrus and this tool?
 
 Ciao!
 
 
 
 
 Cyrus Home Page: http://www.cyrusimap.org/
 List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
 To Unsubscribe:
 https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: backup rsync

2014-09-06 Thread Egoitz Aurrekoetxea
In fact really…. I should say is “the way” of having a proper HA.

Best regards,


El 06/09/2014, a las 13:52, Egoitz Aurrekoetxea ego...@ramattack.net escribió:

 Good morning,
 
 We are using Cyrus replication for some years now. It’s just fine. You can 
 play too with
 expunge_delayed for avoid removing mail immediately.
 
 Regards,
 
 El 05/09/2014, a las 17:25, Marcus Schopen li...@localguru.de escribió:
 
 Am Samstag, den 30.08.2014, 17:10 +0200 schrieb Simon Matter:
 Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso:
 --On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen
 li...@localguru.de wrote:
 
 Hi,
 
 I'm planing to use lvm snaps and rsync for a daily disaster recovery
 backup on my master cyrus (2.4.12 Ubuntu 12.04 LTS):
 
 Have you tested lvm snaps for this purpose yet?  When I tried to use lvm
 snapshots in this way a few years ago, it absolutely killed performance
 on
 the volume with the active snapshots.  Hopefully things have improved,
 but
 I wouldn't bet on it.
 
 Yes, I've tested it and don't see any performance problems while the
 snaphot is active. My problem is how to backup about 140 GB mailspool in
 an acceptable time slot. What tools are recommended?
 
 If using rsync what options are best practice?
 
 I suggest -aH to preserve single instance storage in the backup.
 
 
 Just bought some good wine for my weekend project: what about rsnapshot
 combined with lvm snapshots (in the pre/postexec scripts of rsnapshot)?
 rsnapshot works with rsync and hardlinks. Rotation and some other nice
 features come out of the box. Any experiences with cyrus and this tool?
 
 Ciao!
 
 
 
 
 Cyrus Home Page: http://www.cyrusimap.org/
 List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
 To Unsubscribe:
 https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
 


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: backup rsync

2014-09-06 Thread Bron Gondwana
That's what we do :)

Bron.





On Sat, Sep 6, 2014, at 09:52 PM, Egoitz Aurrekoetxea wrote:

In fact really…. I should say is “the way” of having a proper HA.



Best regards,




El 06/09/2014, a las 13:52, Egoitz Aurrekoetxea [1]ego...@ramattack.net 
escribió:

Good morning,

We are using Cyrus replication for some years now. It’s just fine. You can play 
too with
expunge_delayed for avoid removing mail immediately.

Regards,

El 05/09/2014, a las 17:25, Marcus Schopen [2]li...@localguru.de escribió:

Am Samstag, den 30.08.2014, 17:10 +0200 schrieb Simon Matter:

Am Freitag, den 29.08.2014, 07:56 -0700 schrieb David R Bosso:

--On August 29, 2014 at 4:27:57 PM +0200 Marcus Schopen

[3]li...@localguru.de wrote:



  Hi,
  I'm planing to use lvm snaps and rsync for a daily disaster recovery
  backup on my master cyrus (2.4.12 Ubuntu 12.04 LTS):



Have you tested lvm snaps for this purpose yet?  When I tried to use lvm

snapshots in this way a few years ago, it absolutely killed performance

on

the volume with the active snapshots.  Hopefully things have improved,

but

I wouldn't bet on it.



Yes, I've tested it and don't see any performance problems while the

snaphot is active. My problem is how to backup about 140 GB mailspool in

an acceptable time slot. What tools are recommended?



If using rsync what options are best practice?



I suggest -aH to preserve single instance storage in the backup.



Just bought some good wine for my weekend project: what about rsnapshot
combined with lvm snapshots (in the pre/postexec scripts of rsnapshot)?
rsnapshot works with rsync and hardlinks. Rotation and some other nice
features come out of the box. Any experiences with cyrus and this tool?

Ciao!




Cyrus Home Page:[4]http://www.cyrusimap.org/
List Archives/Info:[5]http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
[6]https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus





Cyrus Home Page: [7]http://www.cyrusimap.org/

List Archives/Info: [8]http://lists.andrew.cmu.edu/pipermail/info-cyrus/

To Unsubscribe:

[9]https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus



--
Bron Gondwana
br...@fastmail.fm

References

1. mailto:ego...@ramattack.net
2. mailto:li...@localguru.de
3. mailto:li...@localguru.de
4. http://www.cyrusimap.org/
5. http://lists.andrew.cmu.edu/pipermail/info-cyrus/
6. https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
7. http://www.cyrusimap.org/
8. http://lists.andrew.cmu.edu/pipermail/info-cyrus/
9. https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: backup rsync

2014-09-06 Thread Marcus Schopen
Hi Bron,

Am Samstag, den 06.09.2014, 22:17 +1000 schrieb Bron Gondwana:
 That's what we do :)
 
Thanks for your feedbeek. What's your workaround for not stopping cyrus
before taking a lvm snapshot and run rsnapshot?

Ciao
Marcus





Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: backup rsync

2014-09-06 Thread Bron Gondwana
No, no - we do replication.  Replication rocks.

You could easily stop the replica and take a snapshot of that, but our real 
backup solution is much more evil.  I've posted it to this list before, but 
it's basically a perl daemon which knows far too much about how Cyrus locks its 
data files.  It actually reads and parses cyrus.index files to work out what it 
needs to do.

Bron.

On Sun, Sep 7, 2014, at 04:50 AM, Marcus Schopen wrote:
 Hi Bron,
 
 Am Samstag, den 06.09.2014, 22:17 +1000 schrieb Bron Gondwana:
  That's what we do :)
  
 Thanks for your feedbeek. What's your workaround for not stopping cyrus
 before taking a lvm snapshot and run rsnapshot?
 
 Ciao
 Marcus
 
 
 
 


-- 
  Bron Gondwana
  br...@fastmail.fm

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus