Backups

Copies of the database and how to restore them.

Scheduled backups

A complete backup (database, uploaded files, the script and its secrets) is built in the background and saved to Google Drive as one ZIP file. Restoring needs only that file.

Older backups in the Drive folder are deleted after each new one.

Backup password

Locks the site's secrets (APP_KEY and the license secret) inside each backup. A backup restored on a new Cloudflare account needs this password. Keep it somewhere safe: it cannot be shown again or recovered.

At least 10 characters. Changing it affects new backups only; older ones open with the password they were made with.

Google Drive

Create OAuth credentials in Google Cloud Console (type: Web application, redirect URI: /vidoo-store/admin/backups/google/callback/), paste them below, then connect.

Leave blank: the app makes its own backups folder in your Drive. The app can only see the files and folders it made itself.
Connect Google DriveNo backup password: backups leave out the secrets

Backups

Backups to Google Drive need the Cloudflare build (D1). On a VPS, back up MySQL with its own tools.