django-pg-copy

Utilities for backing up and restoring PostgreSQL databases for Django.

BSD-3-CLAUSE License

Downloads
1.6K
Stars
25
Committers
5
django-pg-copy - 1.2.0

Published by FlipperPA 3 months ago

What's Changed

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

django-pg-copy - 1.1.0 Latest Release

Published by FlipperPA over 1 year ago

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

django-pg-copy - 1.0.0

Published by FlipperPA about 2 years ago

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

django-pg-copy - 0.5.0

Published by FlipperPA almost 3 years ago

  • 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.
django-pg-copy - 0.4.0

Published by FlipperPA almost 4 years ago

  • 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.
django-pg-copy - 0.3.0

Published by FlipperPA over 4 years ago

  • 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.
django-pg-copy - 0.2.0

Published by FlipperPA over 4 years ago

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