Restoring mail - using rsync
Posted: Tue Feb 05, 2008 12:10 am
Hi, I was wondering if someone could please help me with a problem. I have been doing backups of Scalix via rsync only, not using any backup script and I realize this is the incorrect way to back up Scalix. However, someone had lost their mail this morning and I needed to import it and was wondering if there is any way of doing this via rsync?
What I tried was to first find out which directory stores her mail by using omshowu -f 'the user'. Then I backed up that ~/user/g000038 dir and copied the one from the backup and restarted Scalix. I could telnet to the pop port and list the mails but most were unreadable, some were readable.
I figure that more mail is in the ~/data directory, so Scalix stores some in the ~/user and some in ~/data. I think what I need to do is actually rsync everything from the backup then try and it will probably be OK however also probably very damaging. I would need to create another server, install Scalix, rsync then test, but is there any other way I can get this user's mail box with just an rsync backup of Scalix?
What I tried was to first find out which directory stores her mail by using omshowu -f 'the user'. Then I backed up that ~/user/g000038 dir and copied the one from the backup and restarted Scalix. I could telnet to the pop port and list the mails but most were unreadable, some were readable.
I figure that more mail is in the ~/data directory, so Scalix stores some in the ~/user and some in ~/data. I think what I need to do is actually rsync everything from the backup then try and it will probably be OK however also probably very damaging. I would need to create another server, install Scalix, rsync then test, but is there any other way I can get this user's mail box with just an rsync backup of Scalix?