Skip to content

Backups

The Backups tab manages backups of a website’s files and databases.

Every night at about 03:30 each website is backed up and the 7 newest copies are kept. They live on this server (/var/backups/mpn), so they do not protect you if the server is lost. Copy them elsewhere, or enable Google Drive sync below.

Each row shows Time, State (Complete / Incomplete / Unreadable), Content (Files, DB) and Size.

Click Back up in the Back up now section to create a manual copy, for example before updating WordPress.

Click Restore on the copy you want, then choose files, database or both.

The Delete old copies section keeps the number of newest copies you choose and removes the rest. You must type the website name to confirm.

After each nightly backup, the new copy is uploaded to your Google Drive, so backups survive a server failure.

  1. In Google Cloud Console, enable the Google Drive API, configure the OAuth consent screen, then create an OAuth client ID of type TVs and Limited Input devices.
  2. Enter the Client ID and Client secret, then click Connect Google Drive.
  3. Open the address shown, sign in to Google and enter the code. Return and click I have allowed it.
  4. For each website, click Enable sync. You can also click Sync now to run one in the background.

The panel asks only for the drive.file scope, so it sees only files it created itself, in the mpn-backups folder. The connection is shared by all websites, and each website turns sync on or off separately. Drive keeps the 7 newest copies and older ones are removed automatically.

Disconnect Google Drive makes the panel forget the connection and revoke access at Google. Files already on Drive stay there. This applies to all websites.

Join our Discord