kb: how-to
Plesk for Linux
ABT: Group A
Applicable to:
- Plesk for Linux
Question
How to restore email accounts from a Plesk backup?
Answer
Restoring mail data via Plesk interface
- Log in to Plesk.
- 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.
Restoring mail data via a command-line interface
- 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
pleskrestoreutility 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
pleskrestoreutility options, run the command:# /usr/local/psa/bin/pleskrestore --help
Comments
if does not match my situation. I go not have an installation anymore jst my backup.
Please sign in to leave a comment.