Docs

Restore a single file or database

Put back one file, folder or database from a backup, and leave everything else as it is now.

Rolling a whole site back is the wrong tool for "I deleted one file" or "the plugin update broke the database": it undoes everything else that changed since the backup too. From NovaPanel 2.0 you can put back just one file, one folder or one database from any of your backups. It is available on every licence.

To restore a whole account or a whole site instead, see Restore a backup.

Open the backup

  1. In the customer panel, open Backups.
  2. On the backup you want, click the Restore a file or database icon.

The window has two tabs: Files and folders and Databases. The first time you open a large backup, the panel has to read it, which can take a few minutes; the window waits and shows the contents when it is done. Backups kept only offsite work too.

Restore a file or folder

  1. On Files and folders, click folder names to move into them. The path at the top takes you back up; Account is the top of your account.
  2. Click Restore next to the file or folder.
  3. Confirm.

What is there now is replaced by the copy in the backup. A folder is replaced whole, not merged: files added to it since the backup are removed. If you only need one file from a folder, restore that file.

The restore runs with your own account's rights, not root's, and nothing is changed if it fails: the current file or folder is moved aside first and put back if the restored copy cannot be moved into place.

Restore a database

  1. On Databases, find the database. Only databases that are in that backup are listed.
  2. Click Restore and confirm.

The database is replaced with its copy in the backup, and everything changed in it since the backup is lost. Before it is replaced, a safety copy of the current contents is taken, and if the restore fails that copy is put back, so a failed restore never leaves the database empty.

MySQL and PostgreSQL databases can both be restored. The database must still exist in your account; a database you have deleted cannot be restored this way. For that, download the backup and import its dump into a new database, as described in Restore a backup.

When it is done

Both kinds of restore run in the background, so you can close the window. You get a notification when the restore has finished, or if it failed and why.