Topic: Migrating to new server
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes - 2.4.1 mysql
- Related log if you're reporting an issue:
====
Trying to migrate mailboxes to a new server using rsync and get permission errors, is there an example of an rsync command that works?
root@sark:/var/vmail# sudo rsync -vr /var/vmail/ xxxxx@192.168.0.150:/var/vmail/
xxxxx@192.168.0.150's password:
sending incremental file list
rsync: change_dir#1 "/var/vmail/" failed: Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(631) [Receiver=3.1.1]
Adrian
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.