Maintenance
🧼 Some utilities and good practices to keep your isabl instance data safe
Last updated
Was this helpful?
🧼 Some utilities and good practices to keep your isabl instance data safe
Last updated
Was this helpful?
The comes with some handy utilities to manage postgres backups, that you can inspect in your project code directory (compose/production/postgres/maintenance
):
1. To create a backup:
2. To list/view current backups:
3. To restore a backup:
It's a good practice to run your backup
script regularly. For example, adding it to a cron job that runs periodically (i.e. every month, or every week)
After this in cookiecutter-api
, you can store backups in the cloud in Amazon S3.
You need to add these 3 environment variables in your .envs/.production/.django
file:
4. Upload recursively all the database backups to your AWS S3 bucket
5. Download a specific backup to your instance docker volume
Learn more at .