Skip to main content

Restoring from cPanel Archive

Comments

3 comments

  • User Avatar
    cPanelMichael
    Hello :) The email archiving feature is not designed for backups to your email accounts. If you want to restore email from a backup, it's better to restore it from a backup archive of the account. Are backups enabled on this system? Thank you.
    0
  • User Avatar
    wzd
    Hello :) The email archiving feature is not designed for backups to your email accounts. If you want to restore email from a backup, it's better to restore it from a backup archive of the account. Are backups enabled on this system? Thank you.

    Hi Michael, Yes we have backups both locally, rsynced and to an S3 Bucket - How would you recommend that we restore specific emails from a specific account over a specific period?
    0
  • User Avatar
    cPanelMichael
    You can find the backup archive from the backup generation date of your choosing, and then manually extract the email contents from the archive (e.g. using the "tar --extract" functionality). The email data is stored in: /home/$username/mail/$domain/$email-account-name Copying over the extracted data to it's associated directory will not overwrite the new emails that have since generated in the directory, as each email has a unique name. Thank you.
    0

Please sign in to leave a comment.