[KLUG Members] Retrieve deleted message
Adam Tauno Williams
adam at morrison-ind.com
Tue Oct 5 22:15:22 EDT 2004
> I use cyrus imap. I have a user that deleted a messsage they didn't want to.
> Is there a way to retrieve a message?
NO
Except of course to restore the mail folder from backup and run reconstruct
> Also, how do you backup cyrus?
export PATH=/bin:/sbin
cd /var/backup
rm -f /var/backup/CyrusMetaData.tgz
tar -czf /var/backup/CyrusMetaData.tgz /var/lib/imap
cp -f /etc/clamav.conf .
cp -f /etc/clamscan.list .
cp -fR /etc/mail .
cp -f /etc/imapd.conf .
cp -f /etc/cyrus.conf .
cp -f /etc/saslauthd.conf .
cp -f /etc/freshclam.conf .
mt -f /dev/st0 setdensity 0x85
STAMP=`date +%d%b%Y`
xfsdump -o -e -F -f /dev/st0 -L $STAMP"IMAP" -l0 -F /var/spool/imap
xfsdump -e -F -f /dev/st0 -L $STAMP"Backup" -l0 -F /var/backup
More information about the Members
mailing list