Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: ltwally on April 08, 2009, 12:47:00 AM
-
Our SME box developed "issues" over the weekend - apparently the ClamAV daemon decided to stop all email. So, our owner opted to reformat and reinstall. Two backups were made - one a complete tar of /, and the other the server-manager's backup utility.
Unfortunately, the server-manager copy appears to be corrupt... which leaves us with a copy of the old filesystem.
We have a couple folks using IMAP - including myself! - and I would dearly like to know where those old messages are stored and what it would take to copy them over to the new filesystem.
I've already attempted copying /home/e-smith/files/users/ltwally/Maildir from the old filesystem to the new. That didn't work so well... and it didn't appear to be anywhere near large enough to be the actual IMAP store. :(
Anyone out there with knowledge on how to perform this procedure?
Thanks!
-
ltwally
Well for a start you cannot have an account name starting with a capital letter, so maybe you should try copying
/home/e-smith/files/users/itwally/Maildir
After copying, did you change the permissions back to the user itwally, as I'm assuming you inadvertantly changed them to root during the copy process.
You really need to be much more specific regarding what the following means exactly:
"That didn't work so well... "
-
I outlined the basic steps here:
http://forums.contribs.org/index.php/topic,42280.0.html
There are a bunch of warnings in this thread as far as what can and may go wrong.
BE AWARE, THIS IS A LAST RESORT EFFORT TO RESTORE DATA
-
ltwally
Well for a start you cannot have an account name starting with a capital letter, so maybe you should try copying
/home/e-smith/files/users/itwally/Maildir
This is a lower-case L: l
This is an upper-case i: I
;)
After copying, did you change the permissions back to the user itwally, as I'm assuming you inadvertantly changed them to root during the copy process.
I'll double-check.
-
I, erm, *cough* forgot to use the -R option on chown after moving Maildir. :roll:
Thanks for the help, guys!
-
ltwally
Sorry, misread the font.