Announcement

Collapse
No announcement yet.

I have questions about backup and restore emails

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I have questions about backup and restore emails

    I would like to ask how I can do backup and restore mails a user? Or where they are stored in the backup's emails? In what folder?

    I'm doing in this tutorial: http://oxpedia.org/wiki/index.php?title=Open-Xchange_backup

    And I do the following:
    Code:
    mysqldump --all-databases --single-transaction > database_dumpfile.mysql
    then I delete messages and to restore them doing
    Code:
    mysql -uroot -p < database_dumpfile.mysql
    and
    Code:
    mysql -uroot -p -e "FLUSH PRIVILEGES;"
    and nothing happens. My emails have not been restored. Why?


    I would like to ask how I can do backup and restore mails a user? Or where they are stored in the backup's emails? In what folder?
    I'm doing in this tutorial: http://oxpedia.org/wiki/index.php?ti...Xchange_backup
    And I do the following:
    then I delete messages and to restore them doing
    and nothing happens. My emails have not been restored. Why?

  • #2
    Hi,

    E-Mails are stored within IMAP mailboxes, not within the SQL Database. You can either backup the mailbox directory (/var/spool/cyrus for OXASE if i remember correctly) or use more advanced backup tools. Also note that OXASE contains a lot of components (LDAP, Samba...) so perhaps using a more advanced backup tool for the entire system might be a very good idea.

    Greetings

    Comment

    Working...
    X