Title here
Summary here
A backup of your database is all you need to be able to recreate your PostOwl in the event of a problem. All your content (indluding images) is in a single SQLite file.
We’ve just launched PostOwl, so for now, backups are manual process. We’ll be adding docs on other ways to backup (including using litestram) very soon!
You can pull a backup locally and run it to check if it is valid. That’s also quite useful for developing/testing against the latest production data.
fly ssh consolesqlite3 /data/db.sqlite3 ".backup /data/db.sqlite3.backup"sqlite3 /data/db.sqlite3.backup "PRAGMA integrity_check;" (optional integrity check)fly sftp get /data/db.sqlite3.backup data/db.sqlite3.backupdb.sqlite3 and use locally for testing.To restore a backup in production, you need to be a bit careful and follow these steps (your site could be down for a few minutes during the restore).
fly ssh consolerm -rf /data/db.*fly sftp shellcd /dataput data/db.sqlite3.backup db.sqlite3fly apps restart