Applicable to:
- Plesk for Linux
Question
How to restore email accounts from a Plesk backup?
Answer
-
Go to Domains > example.com > Backup Manager.
-
Click on a backup from which you want to restore mail data.
-
For What do you want to restore? select Selected objects.
-
Set the type of object - Mail account.
-
Select an email account from the list and click on it to move to the selected list.
-
Click OK to start the restoration.
-
Connect to the server via SSH.
-
List all available Plesk backups:
# /usr/local/psa/admin/bin/pmm-ras --get-dump-list | grep .xml:
-
Use the
pleskrestore
utility to restore the mail data.Example:
# /usr/local/psa/bin/pleskrestore --restore /var/lib/psa/dumps/domains/example.com/backup_info_2301030133.xml -only-mailnames list:john_doe@example.com
where:
-
backup_info_2301030133.xml - backup name from step 2
-
john_doe@example.com - email account which is going to be restored
To learn more about the
pleskrestore
utility options, run the command:# /usr/local/psa/bin/pleskrestore --help
-
Comments
0 comments
Please sign in to leave a comment.