When you only want to backup the webmail-module these tables are important. How to backup? Using a shell command: mysqldump -c -r <backup_filename.sql> -h <hostname> -u <username> -p%lt;password> <database> <table_name>
mgw_webmail_accounts - contains every user's account settings
mgw_webmail_links - contains all external links (not used at the moment)
mgw_webmail_mailboxes - contains all folders
mgw_webmail_messages - contains all emails (only the headers)
mgw_webmail_sidebar - contains the favorites (folders in sidebar/favorites)
Also important: (not webmail-module directly but neccessary for it):
mgw_users - contains all users, usernames, userids
mgw_groups, mgw_groups_members - contains all users, usernames, userids
mgw_contacts, mgw_companies, mgw_contacts_groups - contains contacts (persons, companies)
When you only want to backup the webmail-module these folders + subfolders are important:
/mgw/modules/webmail2/store - contains all emails (full mails stored as .eml)
/mgw/modules/webmail2/cache - not neccessary (should only exist)
/mgw/modules/webmail2/home - not used at the moment