A Plesk server or cPanel server plan stores one backup per hosting account. You restore it by component, or restore one mailbox out of it.
Prerequisites
- A Clokeep account with the Admin or Operator role. A Viewer or a Customer cannot restore. See Users and roles.
- Plesk or cPanel support switched on for your client by Clokeep, and the agent installed on the server.
- The backup open in Browse Backups. See Browse a backup.
How to start a restore and follow its run, one restore at a time per server, and what a stopped or failed restore leaves are on Restore files, email and databases. To queue one from a script, see Queue a restore through the API. To restore many accounts of a server in one go, see Restore many accounts at once.
Restore a subscription or account
Click Restore selected backup, then tick the components to restore under Restore. Click Submit. The panel-specific parts are on Plesk servers and cPanel servers.
- Files: Restore files into left empty means the account's own folder. On cPanel, a folder you enter must be the home folder or a folder inside it. On Plesk, it must be under the agent's allowed folders. Files from the backup replace files of the same name. Other files stay.
- Mail: messages already on the server are kept, unless you switch on Overwrite messages that already exist. With it, messages of the same name are replaced. Other messages stay.
- Databases: tick each database. Restore databases offers two options. Into new databases, the default, restores each one as its name followed by
_restored. Over the original databases restores it under its own name. With both, the agent drops the target database, creates it again empty and imports the dump. A_restoreddatabase left by an earlier restore is replaced too. A new database is not registered in Plesk or cPanel, and the run log says so. A restore that stops or fails midway can leave a database empty or half imported.
When you switch on Apply the settings to the server, the form checks whether the account was on the server at the last account sync. A line under Restore databases says which case applies:
- The account was missing. Applying the settings re-creates it with empty databases, so Restore databases switches to restore over the original databases. That puts the data back in them.
- The account was still there. Its databases hold live data, so Restore databases stays as you set it. If the account was deleted since the last sync, pick restore over the original databases yourself.
Restoring over the original databases empties each ticked database before the import, also for a subscription or account that still exists.
On cPanel, Apply the settings to the server also rolls an account that still exists back to the backup: its configuration, mailboxes and passwords. See cPanel servers.
The API follows the same rule when you leave out database_mode. See Queue a restore through the API.
One mailbox
On a Plesk or cPanel backup that holds mail, click Restore mailbox. Like Restore selected backup, it is greyed out when the backup cannot be restored, for example when it is missing from storage. Hover over it to see why.
Pick the mailbox
Pick it under Mailbox.
Choose what happens to an existing mailbox
If the mailbox no longer exists, it is created again from the backup with its password. On Plesk, its aliases and forwarding come back too. On cPanel, its quota.
If it exists, it keeps its settings, and the run log says "account kept as is, restoring messages only". Switch on Overwrite the account if it already exists to reset them to the backup.
Submit
Click Submit. Messages from the backup are copied back. Messages already in the mailbox are kept.