1

Topic: Backup and restore the Contacts

============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MARIADB edition.
- Linux/BSD distribution name and version: centos-release-7-5.1804.el7.centos.2.x86_64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
A.
I made a full backup and restored a new server with:
1 - /var/vmail/backup
2 - /var/vmail/vmail1/

And everything is working well but don't restored the contacts.
Where I find the contacts directory to make a backup and then restore them in the new server?

B. There are anything more that I need to backup to make a full restore?


Thanks for your excellent work

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Backup and restore the Contacts

Where did you view the contacts? Roundcube webmail? SOGo Groupware?

*) For Roundcube, you need to restore its sql db.
*) For SOGo, you need to EITHER restore its sql db, or restore its backup files under /var/vmail/backup/sogo/.

3

Re: Backup and restore the Contacts

Dear Sir thank you for your answer

I use Roundcube to see the contacts.

I restored the:
1-    amavisd.sql, iredadmin.sql, iredapd.sql, roundcubemail.sql, vmail.sql
2-    and restored the /var/vmail/backup/mysql                     

But the contacts don’t appear in the new server?
What I’m missing?

Regards

4

Re: Backup and restore the Contacts

If you don't run same Roundcube version on both old / new servers, you need to update SQL database structure after restored.