Skip to content
CWPControl Web PanelDocumentation
  1. Home
  2. Docs
  3. CWP Backup Server
  4. Restoring in the admin panel

Restoring in the admin panel

Updated

Open CWP Settings → CWP Backup Server and scroll to Restore.

Restore in the CWP admin panel: browsing a snapshot and choosing how to restore
  1. Choose the Account and the Snapshot. Snapshots are listed by date and size.
  2. Choose a tab: Files, Databases or Mail.
  3. Browse to what you need and click Restore, or Restore this folder for the folder you are in.
  4. Choose how to restore and confirm. The restore runs in the background; the Tasks list shows the progress and the result. Details shows every step.

Files

ChoiceResult
Put it back in placefiles from the backup replace the current ones with the same name. Files that are not in the backup stay
Replace the foldereverything in the current folder is deleted first, so the result is exactly the backup. Files added since then are lost
Restore into a separate foldergoes to /home/USER/restored/SNAPSHOT/. Nothing current is touched

Files are written as the user of the account, never as root, and get their original owner and permissions. After a restore in place public_html keeps the group the web server needs.

Databases

The tables from the backup replace the current ones. With Save the current database first (on by default) the current database is first saved as a .sql.gz in /home/USER/restored/databases-before-restore/. Administrators can also download the dump with Download .sql.

Mail

Put it back in place adds the messages from the backup back; newer messages stay. Replace the folder renames the current folder to …before-restore-(date) first. Each mailbox keeps its owner.

Whole account

Restore the whole account… restores all files, every database and all mail of the account from the snapshot, over the current data. Files and messages that are not in the backup stay. The account must exist on the server.

Restore without verification

A dump is normally imported only when it is exactly the file this server sent. Tick Restore without verification only for snapshots made before the integrity key existed, or after the server lost its key. Only administrators have this option, and its use is written to the log.