Re: ctl_cyrusdb questions, looking for answers

2009-03-24 Thread Adam Tauno Williams
On Tue, 2009-03-24 at 17:18 +0100, Michal Hlavinka wrote: > Hi, > thanks all for the answers. Some summary what I know (please correct me if > I'm > wrong): > 1) checkpointing > "Checkpointed" are this databases: > but only DBs with Berkeley DB-Engine it does something. So really > checkpointed

Re: ctl_cyrusdb questions, looking for answers

2009-03-24 Thread Michal Hlavinka
Hi, thanks all for the answers. Some summary what I know (please correct me if I'm wrong): 1) checkpointing "Checkpointed" are this databases: quotas.db tls_sessions.db deliver.db statuschache.db annotations.db mailboxes.db ptclient/ptscache.db but only DBs with Berkeley DB-Engine it does so

Re: ctl_cyrusdb questions, looking for answers

2009-03-19 Thread Andreas Winkelmann
> does anybody know, how ctl_cyrusdb works (how it should be used)? I've > seen ctl_cyrusdb's man pages, but there is just few notes and nothing > more. ctl_cyrusdb has two modes to operate. One is checkpointing and archiving the other one is recovering. There can only run one action at a time.

Re: ctl_cyrusdb questions, looking for answers

2009-03-17 Thread Bron Gondwana
On Tue, Mar 17, 2009 at 09:37:37AM -0400, Adam Tauno Williams wrote: > > > Not exactly sure what you mean here. I think you only need the database in > > > db.backup? and of course clean the environment before restoring such a db. > > AFAIK only that three databases are copied to the db.backupX dir

Re: ctl_cyrusdb questions, looking for answers

2009-03-17 Thread Adam Tauno Williams
> > Not exactly sure what you mean here. I think you only need the database in > > db.backup? and of course clean the environment before restoring such a db. > AFAIK only that three databases are copied to the db.backupX directory. So if > there are other checkpointed dbs they stay in the original

Re: ctl_cyrusdb questions, looking for answers

2009-03-17 Thread Michal Hlavinka
> ... > > 1) Listing of database files "checkpointed" > > 2) Description of checkpoint format > > a) "ls /var/lib/imap" suggest two sets of checkpoint database are > > retained. > > I'm not really sure here. Cyrus-imapd checkpoints databases and archives > some of them (mboxlist_db, quota_db, ann

Re: ctl_cyrusdb questions, looking for answers

2009-03-17 Thread Michal Hlavinka
Thanks for the answers! > ... > > > The information that man does not provide is > > 1) Listing of database files "checkpointed" > > I've always assumed all-of-them excerpt from the source: ... /* if we need to archive this db, add it to the list */ if (dblist[i].archive) {

Re: ctl_cyrusdb questions, looking for answers

2009-03-13 Thread Simon Matter
> Hi, > > does anybody know, how ctl_cyrusdb works (how it should be used)? I've > seen ctl_cyrusdb's man pages, but there is just few notes and nothing > more. > > I assume ctl_cyrusdb is used (in /etc/cyrus.conf) to generate > "checkpoints" of the Cyrus databases, presumably those in /var/lib/ima

Re: ctl_cyrusdb questions, looking for answers

2009-03-12 Thread Adam Tauno Williams
> does anybody know, how ctl_cyrusdb works (how it should be used)? I've never felt very compelled to mess with the default: checkpointcmd="ctl_cyrusdb -c" period=30 > I've > seen ctl_cyrusdb's man pages, but there is just few notes and nothing more. > I assume ctl_cyrusdb is used (in /e

ctl_cyrusdb questions, looking for answers

2009-03-12 Thread Michal Hlavinka
Hi, does anybody know, how ctl_cyrusdb works (how it should be used)? I've seen ctl_cyrusdb's man pages, but there is just few notes and nothing more. I assume ctl_cyrusdb is used (in /etc/cyrus.conf) to generate "checkpoints" of the Cyrus databases, presumably those in /var/lib/imap. The info