How to take Email backup in ZPanel

All e-mails are stored in /var/zpanel/vmail

i. Back up vmail folder in /var/zpanel/
ii. Back up the list of emails. Export as users table from the database zpanel_roundcube
iii. Reinstall OS, Zpanel or move to another (new) machine
IV. Create emails pursuant to email list, if already do not exist, in a new place, reinstalling system. use zpanel
V. Copy the backed up folder vmail to / var / zpanel /. All rewrite.
VI. Change owner and group vmail.
Terminal command: chown -R vmail:mail /var/zpanel/vmail