Django-pg-copy

Latest version: v1.1.0

Safety actively analyzes 623412 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.0

What's Changed
* Explicitly pass the `port` from Django's `DATABASES` setting.
* Migrate the repository to `pyproject.toml` and modern build tools.

**Full Changelog**: https://github.com/FlipperPA/django-pg-copy/compare/1.0.0...1.1.0

1.0.0

What's Changed
* We backup and restore with `--no-owner` and `--no-privileges` to avoid errors when backing up with one username, and restoring with another.
* Update trove classifiers to indicate a production release.

**Full Changelog**: https://github.com/FlipperPA/django-pg-copy/compare/0.5.0...1.0.0

0.5.0

* Passes any runtime errors from command invocation back to the shell as an exit status.
* Support parallelization with the `--jobs` parameter. This can have a **drastic** impact on performance.
* On a benchmark test, this reduced the backup time from 47 minutes to 6 minutes when running with `--jobs=8`.
* Be aware that this will also open 8 connections to your database, and will impact the performance of the targeted database.

0.4.0

* Adds a new option to omit tables from the backup: `--exclude-table-data`, `-e`
* Allows passing multiple tables: `-e bigtable1 -e bigtable2`
* Remove trove classifiers for Python 3.5.

0.3.0

* Adds a new option to omit tables from the backup: `--ignore-table`, `-i`
* Allows passing multiple tables: `-i bigtable1 -i bigtable2`
* This is the final release which will support Python 3.5.

0.2.0

Added new command line options: `--db-override`, `--host-override`, `--pg-home`, `--no-confirm`.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.