Run backups daily for any production deployment. Store backup files off-server — on a network share, cloud storage, or a separate machine — so that a server failure does not destroy your backups at the same time as your data.
Automatic pre-update backups
Every time you runbash update.sh, Collabase creates two backups in deployment/backups/ before it applies the update: a database dump and, with local file storage, an archive of the uploaded files. Both are kept for 7 days and then removed automatically. They are a safety net for rollbacks, not your primary backup strategy.
deployment
backups
collabase-20261013-064318.sql.gz
collabase-files-20261013-064319.tar.gz
collabase-<date>-<time>.sql.gzis the database dump.collabase-files-<date>-<time>.tar.gzholds attachments, avatars and shared files. WithSTORAGE_DRIVER=s3there is no such archive, because the files live in the bucket.
Backups before database changes
Whenever a new version brings database changes, Collabase backs up the database once more, right before it applies them. This also happens when the update runs on its own at night, withoutupdate.sh. A restart without database changes takes no backup.
These backups are kept inside the application’s storage, not in deployment/backups/. Collabase keeps the three most recent. To restore one, copy it out first, then restore it as described below:
bash update.sh rollback.
Pre-update backups cover the database only. Uploaded files are not included. Set up your own regular backup schedule (see below) that covers both the database and file storage.
What to back up
Backing up the database
Manual backup
Run the following command on your server to create a compressed backup of the database:.sql.gz file in your current directory.
Scheduled daily backup
For production systems, set up a daily automated backup using cron. Open the cron editor withcrontab -e and add:
Backing up file storage
Local filesystem
If files are stored locally (the default), copy the file storage directory to your backup destination:S3-compatible storage
If you use S3 or a compatible provider (Cloudflare R2, MinIO, etc.), use your provider’s sync or versioning features. Enable object versioning in your bucket settings so previous versions of files are retained automatically.Copying backups off-server
Always store backups in a second location. Some common options: Cloud storage (AWS S3, Cloudflare R2, etc.)Restoring from a backup
For the full procedure, including restoring onto a new server, checking the result and what to do when a restore fails, follow the Restore runbook.
1
Stop the application (keep the database running)
2
Restore the database backup
Replace the filename with your actual backup file:
3
Restore uploaded files (if applicable)
Copy your file backup back to the storage location:Skip this step if you use S3 storage — the files remain in your bucket.
4
Start the application
5
Verify the restore
Open Collabase in a browser and confirm that content, users, and settings are as expected.
Trash
Before you restore a backup to get back something one person deleted, look in the trash. Go to Administration → Data & Backup → Trash. It lists deleted Spaces, projects, pages and work items, and you can filter it by type. Deleted projects and work items stay in the trash for 30 days. The list shows for each of them the date on which it is deleted for good. A maintenance job that runs every night removes the items whose date has passed. Until the job reaches an item, you can still restore it.What comes back
A restored project comes back with its phases, gates and gate decisions, milestones, members, sprints, groups, status reports, web links and costs.When a restore is refused
The trash tells you why it cannot restore an item instead of failing without a message:
Deleting an item from the trash removes it for good. After that, only a full restore brings it back.