Skip to content
This repository was archived by the owner on Jun 21, 2025. It is now read-only.

Commit 2564496

Browse files
committed
readme updates [skip-ci]
1 parent 16df9b3 commit 2564496

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
POSTGRES_PASSWORD: password
1313

1414
backup:
15-
image: eeshugerman/postgres-backup-s3:13
15+
image: eeshugerman/postgres-backup-s3:15
1616
environment:
1717
SCHEDULE: '@weekly' # optional
1818
BACKUP_KEEP_DAYS: 7 # optional
@@ -28,11 +28,12 @@ services:
2828
POSTGRES_PASSWORD: password
2929
```
3030
31-
- Images are tagged by the major PostgreSQL version they support: `10`, `11`, `12`, `13`, or `14`.
31+
- Images are tagged by the major PostgreSQL version supported: `11`, `12`, `13`, `14`, or `15`.
3232
- The `SCHEDULE` variable determines backup frequency. See go-cron schedules documentation [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules). Omit to run the backup immediately and then exit.
3333
- If `PASSPHRASE` is provided, the backup will be encrypted using GPG.
34-
- Run `docker exec <container name> sh backup.sh` to trigger a backup ad-hoc
35-
- Use `BACKUP_KEEP_DAYS` to set time for how long you want to keep backup.
34+
- Run `docker exec <container name> sh backup.sh` to trigger a backup ad-hoc.
35+
- If `BACKUP_KEEP_DAYS` is set, backups older than this many days will be deleted from S3.
36+
- Set `S3_ENDPOINT` if you're using a non-AWS S3-compatible storage provider.
3637

3738
## Restore
3839
> **WARNING:** DATA LOSS! All database objects will be dropped and re-created.
@@ -64,10 +65,10 @@ This project is a fork and re-structuring of @schickling's [postgres-backup-s3](
6465

6566
## Fork goals
6667
These changes would have been difficult or impossible merge into @schickling's repo or similarly-structured forks.
67-
- [x] dedicated repository
68-
- [x] automated builds
69-
- [x] support multiple PostgreSQL versions
70-
- [x] backup and restore with one image
68+
- dedicated repository
69+
- automated builds
70+
- support multiple PostgreSQL versions
71+
- backup and restore with one image
7172

7273
## Other changes and features
7374
- some environment variables renamed or removed

0 commit comments

Comments
 (0)