Skip to content

Releases: sil-org/postgresql-backup-restore

5.1.4 - fix AWS key variables

24 Nov 14:19
2c080a3

Choose a tag to compare

Deprecated

  • Deprecated the old-style AWS key variables: AWS_ACCESS_KEY and AWS_SECRET_KEY.

Fixed

  • Added backward compatibility for the old-style variables to form a bridge to the AWS-compatible variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

What's Changed

  • change the AWS access key variables to the AWS CLI standard by @briskt in #27

Full Changelog: 5.1.3...5.1.4

5.1.3 - fix S3_BUCKET bug introduced in 5.1.2

24 Nov 13:14
e529ed5

Choose a tag to compare

What's Changed

  • remove s3:// S3_BUCKET prefix added in error by @briskt in #26

Full Changelog: 5.1.2...5.1.3

5.1.2 - **BROKEN**

24 Nov 07:43
63fc9d9

Choose a tag to compare

What's Changed

  • Rename docker-compose.yml to compose.yaml by @briskt in #24
  • use the AWS CLI instead of s3cmd by @briskt in #25

Full Changelog: 5.1.1...5.1.2

Filter sensitive values from Sentry events

28 Aug 04:25
309fbb8

Choose a tag to compare

What's Changed

Full Changelog: 5.1.0...5.1.1

Release 5.1.0 - Updated the restore script to verify checksum file

03 Apr 13:49
5c0131a

Choose a tag to compare

What's Changed

  • Updated the Backup Restore Script by @Praveenraj-K in #22
  • Downloads database backup and checksum files from an S3 bucket
  • Decompresses the backup and checksum files
  • Validates backup integrity using SHA-256 checksum verification
  • Restores the database from the backup file
  • Implements error handling with Sentry integration for error reporting
  • Cleans up temporary files after successful restoration

Full Changelog: 5.0.3...5.0.4

Release 5.0.3 - Fix for Checksum

15 Mar 02:23
3e7fd9b

Choose a tag to compare

What's Changed

Full Changelog: 5.0.2...5.0.3

Added Checksum -5.0.2

12 Mar 12:31
e55dae0

Choose a tag to compare

What's Changed

Full Changelog: 5.0.1...5.0.2

Fix for Python 3.12.4 constrain

14 Feb 06:05
5eac2c7

Choose a tag to compare

What's Changed

Full Changelog: 5.0.0...5.0.1

Added -Sentry Notification

22 Jan 05:48
86f6543

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.1...5.0.0

Use current DB owner during restore

20 Aug 18:25
9ed8e80

Choose a tag to compare

Changes

  • Constrain Python version to 3.12.3. s3cmd version 2.4.0 with Python 3.12.4 on Alpine 3.20 fails with an AttributeError.
  • Find and use the current database owner when dropping the database during a restore operation. PostgreSQL requires the user executing a DROP DATABASE statement to be the database owner. PostgreSQL databases are initially owned by the user postgres before the ownership is set to the DB user. Restoring data to a brand new database requires a different user than restoring to an existing database.