Re: XBACKUP and backupd not backing up public folders (3.0.8)

Deborah Pickett <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hi Ellie,

On 2019-10-16 13:53, ellie timoney wrote:
> On Mon, Oct 14, 2019, at 10:29 AM, ellie timoney wrote:
>
> I think this is fixed now, on both master and 3.0 branches.  Testing
> and feedback appreciated, of course!

This is looking a lot better.

$ imtest -a cyrus localhost

[...]
BBB xbackup [email protected] rsync
* OK MAILBOX polyfoam.com.au!support
BBB OK Completed
[...]

backupd logs (sqldb_exec and _index_mailbox lines excluded):

Oct 16 22:06:55 rsync cyrus/backupd[244584]: login:
mail-3175-1.polyfoam.com.au [10.3.244.125] rsync-mail-3175-1 DIGEST-MD5
User logged in
Oct 16 22:06:55 rsync cyrus/backupd[244584]: %SHARED not found in
backups.db, creating new record
Oct 16 22:06:55 rsync cyrus/backupd[244584]: sending response to
MAILBOXES: 0 (Success)
Oct 16 22:06:55 rsync cyrus/backupd[244584]: received unreserved
messages, applying to all (1) open backups...
Oct 16 22:06:55 rsync cyrus/backupd[244584]: applying unreserved
messages to (null)
Oct 16 22:06:55 rsync cyrus/backupd[244584]: indexing MESSAGE at 29
(400443 bytes)...
Oct 16 22:06:55 rsync cyrus/backupd[244584]: sending response to
MESSAGE: 0 (Success)
Oct 16 22:06:55 rsync cyrus/backupd[244584]: indexing MAILBOX at 400472...
Oct 16 22:06:55 rsync cyrus/backupd[244584]: sending response to
MAILBOX: 0 (Success)
Oct 16 22:06:55 rsync cyrus/backupd[244584]: telling master 1
Oct 16 22:06:55 rsync cyrus/master[244397]: service backupd/ipv4 pid
244584 in BUSY state: now available and in READY state
Oct 16 22:06:55 rsync cyrus/master[244397]: service backupd/ipv4 now has
1 ready workers

Even a generic "XBACKUP * channel_name" does what I expect, doing all
USERs and then all MAILBOXes sequentially.

On the backup target:

# /usr/lib/cyrus/bin/ctl_backups list
2019-10-16 22:18:56    315180365    %SHARED   
/home/mail-3175-1/cyrus-backup/partitions/default/q/%SHARED_vh91AO
[... and user mailboxes...]

# /usr/lib/cyrus/bin/cyr_backup -f
/home/mail-3175-1/cyrus-backup/partitions/default/q/%SHARED_vh91AO list
mailboxes | grep support
bguhtv8zjmd8za1a55pzmoks  2019-10-16 16:36:39  polyfoam.com.au!support
6cayvdkso3pa37lotxz2780i  2019-10-16 14:59:45 
polyfoam.com.au!support.completed
b07jfqamvne56ypieo4tchwa  2019-10-15 16:39:02 
polyfoam.com.au!support.in-progress-debbiep
[... some other expected dross removed ...]

A few spot checks show that I can dump messages from the backup using
cyr_backup, so I'm confident that this'll work as a backup solution for me.

Many thanks for the rapid fix, Ellie.

Deborah

----
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.