Skip to content

Releases: jkaninda/pg-bkup

v1.2.7

28 Sep 01:59
6be82f2
Compare
Choose a tag to compare

What's Changed

  • fix: backup scheduled mode script for Docker, remove port number by @jkaninda in #77

Full Changelog: v1.2.6...v1.2.7

v1.2.6

12 Sep 04:39
72507a1
Compare
Choose a tag to compare

What's Changed

  • chore: Add exit after database test connection failed
  • chore: modify intro message

v1.2.5

10 Sep 21:09
63c0bda
Compare
Choose a tag to compare

What's Changed

  • feat: add Telegram notification
  • chore: code refactoring

v1.2.4

03 Sep 05:00
095757f
Compare
Choose a tag to compare

What's Changed

  • chore: rename environment variable for database migration operation
  • chore: code refactoring

Simple database migration

services:
  pg-bkup:
    image: jkaninda/pg-bkup
    container_name: pg-bkup
    command: migrate
    volumes:
      - ./backup:/backup
    environment:
      ## Source database
      - DB_PORT=5432
      - DB_HOST=postgres
      - DB_NAME=database
      - DB_USERNAME=username
      - DB_PASSWORD=password
      ## Target database
      - TARGET_DB_HOST=target-postgres
      - TARGET_DB_PORT=5432
      - TARGET_DB_NAME=dbname
      - TARGET_DB_USERNAME=username
      - TARGET_DB_PASSWORD=password
    networks:
      - web
networks:
  web:

v1.2.3

30 Aug 17:06
ae23107
Compare
Choose a tag to compare

What's Changed

  • Feat: add database migration, migrate database from one to another one
  • Fix: backup, restore scripts
  • Fix: backup encryption permission warning message

Simple database migration

services:
  pg-bkup:
    # In production, it is advised to lock your image tag to a proper
    # release version instead of using `latest`.
    # Check https://github.com/jkaninda/pg-bkup/releases
    # for a list of available releases.
    image: jkaninda/pg-bkup
    container_name: pg-bkup
    command: migrate
    volumes:
      - ./backup:/backup
    environment:
      ## Target database
      - DB_PORT=5432
      - DB_HOST=postgres
      - DB_NAME=database
      - DB_USERNAME=username
      - DB_PASSWORD=password
      ## Source database
      - SOURCE_DB_HOST=postgres
      - SOURCE_DB_PORT=5432
      - SOURCE_DB_NAME=sourcedb
      - SOURCE_DB_USERNAME=jonas
      - SOURCE_DB_PASSWORD=password
    # pg-bkup container must be connected to the same network with your database
    networks:
      - web
networks:
  web:

v1.2.2

15 Aug 03:16
bc68a62
Compare
Choose a tag to compare

What's Changed

  • Fix: backup encryption permission issue on Openshift
  • Feat: add backup and restore scripts

v1.2.1

10 Aug 09:35
a3df3d0
Compare
Choose a tag to compare

What's changed

  • Add Docker Entrypoint to make Docker deployment easy
  • Code refactoring

v1.2.0

04 Aug 11:15
42c4dd0
Compare
Choose a tag to compare

What's Changed

  • Fix: Improvement of logging
  • Fix AWS S3 and SSH backup in scheduled mode on Docker and Docker Swarm mode

v1.1

03 Aug 23:34
296ee1e
Compare
Choose a tag to compare

What's Changed

  • Fix: fix the log that was not displaying in schedule mode
  • Feat: add AWS, SSH, Database environment variables verification

v1.0

03 Aug 00:08
7da123a
Compare
Choose a tag to compare

What's Changed

  • Feat: Add Backup to SSH remote server
  • Feat: Add backup encrypt and decrypt with GPG
  • Feat: Replaced s3fs with AWS SDK for Go
  • Add GitHub page
  • Fix: Improvement