Hello list,

 

I have a Debian sarge machine running postfix/cyrus21, serving ~30 users with about 8000 daily emails.

 

Until I set up a proper backup solution, I have this little script that dumps all the users’ mailboxes:

 

mail:~# cat /usr/sbin/dump

#! /bin/sh

#

for USER in user1 user2 user3; do

    echo -n Dumping user.$USER ;

    /usr/sbin/cyrdump -v user.$USER > /home/public/cyrus/$USER.dump

    echo " OK"

  done

mail:~#

 

This script runs as user cyrus while cyrus is not running.

 

I’ve also ran cyrreconstruct on all mailboxes to insure that the indexes are intact.

 

Files in /home/public/cyrus are created just fine, judging by file sizes, I’d guess that all the data is properly dumped, however, I get these messages in /var/log/mail/log:

 

Oct 15 21:09:57 mail cyrus/dump[20191]: SQUAT failed to open index file

Oct 15 21:09:57 mail cyrus/dump[20191]: SQUAT failed

 

Done some searching, found nothing helpful…

 

Does anybody have a pointer for me?

 

Another thing, is there a tool that imports these dump files back into cyrus, creating missing mailboxes etc.?

 

TIA

 

Dudi Goldenberg

KolCore Ltd.

 

Reply via email to