How do I back up my dev database on App Platform?

Validated on 6 May 2024 • Last edited on 1 Aug 2024

Dev databases do not have a built-in backup feature because they are intended for pre-production workloads. However, you can create regular database backups by setting up a cron job in your app that uses pg_dump to export the database to another database or storage solution.

If you require a database with backup functionality for production workloads, consider using a DigitalOcean Managed Database.

How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?

Use the app’s Settings tab to remove domains associated with App Platform apps.

Why do I get the error “JavaScript heap out of memory” during deployment?

Increase the heap memory by setting the environment variable NODE_OPTIONS=–max-old-space-size=4096.

How do I fix a "permission denied for schema public" error in my dev database?

Delete the existing dev database and create a new one. Then make sure that the app deployment completes successfully.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.