You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,13 @@ This key is intentionally absent from pg2s3's configuration in order to require
52
52
|`age_public_key`| No | Public key for backup encryption |
53
53
54
54
## Usage
55
-
The pg2s3 command-line tool offers three commands:
55
+
The pg2s3 command-line tool offers three mutually-exclusive actions:
56
56
*`pg2s3 -backup` - Create a new backup and upload to S3
57
57
*`pg2s3 -restore` - Download the latest backup from S3 and restore
58
58
*`pg2s3 -prune` - Prune old backups from S3
59
59
60
+
If none of these are provided, the pg2s3 will attempt to run in scheduled mode: sleeping until `backup_schedule` arrives and then performaing a backup + prune.
61
+
60
62
## Local Development
61
63
To develop and test locally, containers for [PostgreSQL](https://www.postgresql.org/) and [MinIO](https://min.io/) must be running:
0 commit comments