├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md ├── copilot-instructions.md └── workflows │ └── ci.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .vscode └── extensions.json ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── dbbackup ├── __init__.py ├── apps.py ├── checks.py ├── db │ ├── __init__.py │ ├── base.py │ ├── django.py │ ├── exceptions.py │ ├── mongodb.py │ ├── mysql.py │ ├── postgresql.py │ └── sqlite.py ├── log.py ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ ├── _base.py │ │ ├── dbbackup.py │ │ ├── dbrestore.py │ │ ├── listbackups.py │ │ ├── mediabackup.py │ │ └── mediarestore.py ├── settings.py ├── signals.py ├── storage.py └── utils.py ├── docs ├── mkdocs.yml └── src │ ├── assets │ └── css │ │ └── main.css │ ├── changelog.md │ ├── commands.md │ ├── configuration.md │ ├── contributing.md │ ├── databases.md │ ├── dictionary.txt │ ├── index.md │ ├── installation.md │ ├── integration.md │ ├── license.md │ ├── signals.md │ └── storage.md ├── pyproject.toml ├── scripts ├── __init__.py ├── _utils.py ├── postgres_live_test.py ├── sqlite_live_test.py └── validate_changelog.py └── tests ├── __init__.py ├── commands ├── __init__.py ├── test_base.py ├── test_dbbackup.py ├── test_dbrestore.py ├── test_listbackups.py ├── test_mediabackup.py └── test_mediarestore.py ├── conftest.py ├── functional ├── __init__.py └── test_commands.py ├── settings.py ├── test_checks.py ├── test_connectors ├── __init__.py ├── test_base.py ├── test_django.py ├── test_mongodb.py ├── test_mysql.py ├── test_postgresql.py └── test_sqlite.py ├── test_init.py ├── test_log.py ├── test_settings.py ├── test_signals.py ├── test_storage.py ├── test_utils.py ├── testapp ├── __init__.py ├── blobs │ ├── gpg │ │ ├── pubring.gpg │ │ └── secring.gpg │ ├── test.gz │ ├── test.txt.gpg │ ├── test.txt.gz │ ├── test.txt.gz.gpg │ └── test.txt.tar ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ ├── count.py │ │ └── feed.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_textmodel.py │ └── __init__.py ├── models.py ├── urls.py └── views.py └── utils.py /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/README.md -------------------------------------------------------------------------------- /dbbackup/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/__init__.py -------------------------------------------------------------------------------- /dbbackup/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/apps.py -------------------------------------------------------------------------------- /dbbackup/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/checks.py -------------------------------------------------------------------------------- /dbbackup/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbbackup/db/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/base.py -------------------------------------------------------------------------------- /dbbackup/db/django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/django.py -------------------------------------------------------------------------------- /dbbackup/db/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/exceptions.py -------------------------------------------------------------------------------- /dbbackup/db/mongodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/mongodb.py -------------------------------------------------------------------------------- /dbbackup/db/mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/mysql.py -------------------------------------------------------------------------------- /dbbackup/db/postgresql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/postgresql.py -------------------------------------------------------------------------------- /dbbackup/db/sqlite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/db/sqlite.py -------------------------------------------------------------------------------- /dbbackup/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/log.py -------------------------------------------------------------------------------- /dbbackup/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbbackup/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dbbackup/management/commands/_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/management/commands/_base.py -------------------------------------------------------------------------------- /dbbackup/management/commands/dbbackup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/management/commands/dbbackup.py -------------------------------------------------------------------------------- /dbbackup/management/commands/dbrestore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/management/commands/dbrestore.py -------------------------------------------------------------------------------- /dbbackup/management/commands/listbackups.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/management/commands/listbackups.py -------------------------------------------------------------------------------- /dbbackup/management/commands/mediabackup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/management/commands/mediabackup.py -------------------------------------------------------------------------------- /dbbackup/management/commands/mediarestore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/management/commands/mediarestore.py -------------------------------------------------------------------------------- /dbbackup/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/settings.py -------------------------------------------------------------------------------- /dbbackup/signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/signals.py -------------------------------------------------------------------------------- /dbbackup/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/storage.py -------------------------------------------------------------------------------- /dbbackup/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/dbbackup/utils.py -------------------------------------------------------------------------------- /docs/mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/mkdocs.yml -------------------------------------------------------------------------------- /docs/src/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/assets/css/main.css -------------------------------------------------------------------------------- /docs/src/changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/changelog.md -------------------------------------------------------------------------------- /docs/src/commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/commands.md -------------------------------------------------------------------------------- /docs/src/configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/configuration.md -------------------------------------------------------------------------------- /docs/src/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/contributing.md -------------------------------------------------------------------------------- /docs/src/databases.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/databases.md -------------------------------------------------------------------------------- /docs/src/dictionary.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/dictionary.txt -------------------------------------------------------------------------------- /docs/src/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/index.md -------------------------------------------------------------------------------- /docs/src/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/installation.md -------------------------------------------------------------------------------- /docs/src/integration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/integration.md -------------------------------------------------------------------------------- /docs/src/license.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/license.md -------------------------------------------------------------------------------- /docs/src/signals.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/signals.md -------------------------------------------------------------------------------- /docs/src/storage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/docs/src/storage.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /scripts/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/scripts/_utils.py -------------------------------------------------------------------------------- /scripts/postgres_live_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/scripts/postgres_live_test.py -------------------------------------------------------------------------------- /scripts/sqlite_live_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/scripts/sqlite_live_test.py -------------------------------------------------------------------------------- /scripts/validate_changelog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/scripts/validate_changelog.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/commands/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/commands/test_base.py -------------------------------------------------------------------------------- /tests/commands/test_dbbackup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/commands/test_dbbackup.py -------------------------------------------------------------------------------- /tests/commands/test_dbrestore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/commands/test_dbrestore.py -------------------------------------------------------------------------------- /tests/commands/test_listbackups.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/commands/test_listbackups.py -------------------------------------------------------------------------------- /tests/commands/test_mediabackup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/commands/test_mediabackup.py -------------------------------------------------------------------------------- /tests/commands/test_mediarestore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/commands/test_mediarestore.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/functional/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/functional/test_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/functional/test_commands.py -------------------------------------------------------------------------------- /tests/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/settings.py -------------------------------------------------------------------------------- /tests/test_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_checks.py -------------------------------------------------------------------------------- /tests/test_connectors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_connectors/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_connectors/test_base.py -------------------------------------------------------------------------------- /tests/test_connectors/test_django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_connectors/test_django.py -------------------------------------------------------------------------------- /tests/test_connectors/test_mongodb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_connectors/test_mongodb.py -------------------------------------------------------------------------------- /tests/test_connectors/test_mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_connectors/test_mysql.py -------------------------------------------------------------------------------- /tests/test_connectors/test_postgresql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_connectors/test_postgresql.py -------------------------------------------------------------------------------- /tests/test_connectors/test_sqlite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_connectors/test_sqlite.py -------------------------------------------------------------------------------- /tests/test_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_init.py -------------------------------------------------------------------------------- /tests/test_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_log.py -------------------------------------------------------------------------------- /tests/test_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_settings.py -------------------------------------------------------------------------------- /tests/test_signals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_signals.py -------------------------------------------------------------------------------- /tests/test_storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_storage.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/testapp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testapp/blobs/gpg/pubring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/gpg/pubring.gpg -------------------------------------------------------------------------------- /tests/testapp/blobs/gpg/secring.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/gpg/secring.gpg -------------------------------------------------------------------------------- /tests/testapp/blobs/test.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/test.gz -------------------------------------------------------------------------------- /tests/testapp/blobs/test.txt.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/test.txt.gpg -------------------------------------------------------------------------------- /tests/testapp/blobs/test.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/test.txt.gz -------------------------------------------------------------------------------- /tests/testapp/blobs/test.txt.gz.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/test.txt.gz.gpg -------------------------------------------------------------------------------- /tests/testapp/blobs/test.txt.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/blobs/test.txt.tar -------------------------------------------------------------------------------- /tests/testapp/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testapp/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testapp/management/commands/count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/management/commands/count.py -------------------------------------------------------------------------------- /tests/testapp/management/commands/feed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/management/commands/feed.py -------------------------------------------------------------------------------- /tests/testapp/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/migrations/0001_initial.py -------------------------------------------------------------------------------- /tests/testapp/migrations/0002_textmodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/migrations/0002_textmodel.py -------------------------------------------------------------------------------- /tests/testapp/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testapp/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/models.py -------------------------------------------------------------------------------- /tests/testapp/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/testapp/urls.py -------------------------------------------------------------------------------- /tests/testapp/views.py: -------------------------------------------------------------------------------- 1 | # Create your views here. 2 | -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Archmonger/django-dbbackup/HEAD/tests/utils.py --------------------------------------------------------------------------------