kartoza / docker-pg-backup

A cron job that will back up databases running in a docker postgres container
GNU General Public License v2.0
452 stars 103 forks source link

clean_s3 bucket fix and restore from s3 implemented #75

Closed klibr007 closed 1 year ago

klibr007 commented 1 year ago

Hey Kartoza I wasn't sync with your repository in my previous pull request. But now everything should be good.0 A little update on your scripts to fix the bucket clean in the backups.sh script And I needed to download from s3 before restoring so I created a function in your restore script that takes the date of the backup we want to restore for example "2023-03-21" and the name of the database to restore in postgresql example "vault". You have to exec in the container to execute it though. So I'll let you check what you want to keep or modify what I've done

NyakudyaA commented 1 year ago

LGTM