- Plesk for Linux
How to restore mail accounts from a full domain backup to Plesk?
- Log into Plesk;
- Go to Domains > example.com > Backup Manager;
- Select the latest available backup or backup for the required date;
- Select Selected objects, set the type of object Mail account;
- Select required mail account from the list and click on it to move mail account to the selected list (to the right-hand side):
- Click OK.
Connect to the server via SSH;
pleskrestorecommand, for example:
# /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/dump.gz -only-mailnames list:firstname.lastname@example.org,email@example.com
For more options about the
pleskrestoreutility, refer to command below:
# /usr/local/psa/bin/pleskrestore --help