Cyrus backup/restore
Dudi Goldenberg
Dudi at kolcore.com
Fri Oct 15 15:27:02 EDT 2004
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20041015/42d0079e/attachment.html
More information about the Info-cyrus
mailing list