django-dbbackup
django-dbbackup copied to clipboard
Management commands to help backup and restore your project database and media files
# Bug Report _Please help us help you by filling out any applicable information in this template and removing the rest!_ ## Describe the bug listbackup shows backups created without...
Hatch is a better all-in-one package management tool compared to Tox. We should use it for tests, builds, and publishing.
## Describe the bug Dropbox docs are missleading. ## To Reproduce 1. Go to: https://django-dbbackup.readthedocs.io/en/master/storage.html#dropbox 2. Read docs. 3. Install `pip install dropbox django-storages`. 4. Set `oauth2_access_token`: ````python DBBACKUP_STORAGE =...
# Feature Request many files of our fully dockerized app are stored inside s3. we'd be happy if the `mediabackup` command would be able to include those inside the backup...
Is there a solution for this error? I use architect 0.6.0 for table partitioning. **betik_app_staff_workinghourmodel_y2022m05** table is a partition table. Error: **public.betik_app_staff_workinghourmodel_y2022m05** table depends on **public.betik_app_staff_workinghourmodel** table object **HINT: Use...
# Feature Request I'm looking for a generic Python package for database backups that I can use on all projects (not just Django). I can't find anything suitable and I...
I'm using [django tenants](https://github.com/django-tenants/django-tenants). Unfortuantely dbbackup does not (yet) provide support to backup tenants. This would be a great feature.
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/psf/black: 24.3.0 → 24.4.2](https://github.com/psf/black/compare/24.3.0...24.4.2) - [github.com/asottile/pyupgrade: v3.15.2 → v3.16.0](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.16.0) - [github.com/hhatto/autopep8: v2.1.0 → v2.3.1](https://github.com/hhatto/autopep8/compare/v2.1.0...v2.3.1) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0)
### Feature description Management command `dbrestore` is too slow, I can see that a lot of the time it is due to this log: ```python3 self.logger.info("Restore tempfile created: %s", utils.handle_size(input_file))...
## Description - Adds `--if-exists` option for `pg_dump` command - Resolves #478 - **Adds simple test** Extension of #511. If I understand correctly this was precluded on missing a test?...