Hi Everyone,
We are slowly migrating accounts to our new servers and had 5 instances in the last month where clients have called us saying emails have disappeared from their IMAP folders. The folders are there, but no emails.
Tonight, we got hit again, with an account we migrated last week (yes it took a week for them to tell us, by which time we'd deleted the account from the old server!)
5 hours later... I've possible BUG bug in cpanel.
Our old server is still set on Legacy backups and the transfer/migrate function uses the same backup generator. On inspecting the backup files on our backup server we found them to be corrupted.
We tried opening them in Mac OSX expander, it comes up with an error. An older version of "Stuffit" opened the archive but files were missing.
Eventually we tried the latest version of stuffit and found the missing files. For some odd reason, the backup archive has a second "home" folder inside.
username/home
aswell as
username/username/homedir
The extra home folder contains the missing files. When cpanel restores from the backup during a transfer, it doesn't restore these files, so they appear missing.
I checked some very old backups, prior to when CPanel made the legacy / new backup system and everything is ok. The problem has occurred since it stopped compressing the home directory inside the main archive.
To restore the missing files, I copied them directly to the users account then chown username.username -R /home/username/mail to update the ownership.
Check your backups! If you ever need them, they may be corrupt. We have now switched the old server to the new backup system.***UPDATE BELOW: Problem remains with new backups***
Hope this saves you some pain!
We are slowly migrating accounts to our new servers and had 5 instances in the last month where clients have called us saying emails have disappeared from their IMAP folders. The folders are there, but no emails.
Tonight, we got hit again, with an account we migrated last week (yes it took a week for them to tell us, by which time we'd deleted the account from the old server!)
5 hours later... I've possible BUG bug in cpanel.
Our old server is still set on Legacy backups and the transfer/migrate function uses the same backup generator. On inspecting the backup files on our backup server we found them to be corrupted.
We tried opening them in Mac OSX expander, it comes up with an error. An older version of "Stuffit" opened the archive but files were missing.
Eventually we tried the latest version of stuffit and found the missing files. For some odd reason, the backup archive has a second "home" folder inside.
username/home
aswell as
username/username/homedir
The extra home folder contains the missing files. When cpanel restores from the backup during a transfer, it doesn't restore these files, so they appear missing.
I checked some very old backups, prior to when CPanel made the legacy / new backup system and everything is ok. The problem has occurred since it stopped compressing the home directory inside the main archive.
To restore the missing files, I copied them directly to the users account then chown username.username -R /home/username/mail to update the ownership.
Check your backups! If you ever need them, they may be corrupt. We have now switched the old server to the new backup system.***UPDATE BELOW: Problem remains with new backups***
Hope this saves you some pain!
Last edited: