Backup database vs website files

Database = pg_dump SQL (default on). Website = app tree via rsync (default off). Uploads are not included.

Settingtoggle.backup_database

Backup database vs website files

What a backup run copies to the remote SSH server.

Where to find it

Admin → Backup → What to backup

Toggle Key Default Contents
Backup database toggle.backup_database on pg_dump plain SQL (--no-owner --no-acl)
Backup website files toggle.backup_website off rsync of the application tree

At least one must be on or the run fails. Host needs pg_dump and/or rsync installed.

Website excludes

node_modules, .next, .git, backup work dirs, upload dirs, .env, .env.local, .env.production, .env.development

User uploads are not included. Back those up at the storage node or CDN.

Common problems

Restored the site but all member files are gone

You restored app/DB only. File bytes live on storage servers / CDN - need a separate backup plan.

Related