Merge pull request #38 from jkaninda/develop

docs: add supported extensions to the doc
This commit is contained in:
2024-02-25 21:38:56 +01:00
committed by GitHub

View File

@@ -54,7 +54,7 @@ PostgreSQL Backup and Restoration tool. Backup database to AWS S3 storage or any
## Environment variables
| Name | Requirement | Description |
|-------------|--------------------------------------------------|----------------------|
|-------------|--------------------------------------------------|------------------------------------------------------|
| DB_PORT | Optional, default 5432 | Database port number |
| DB_HOST | Required | Database host |
| DB_NAME | Optional if it was provided from the -d flag | Database name |
@@ -64,7 +64,7 @@ PostgreSQL Backup and Restoration tool. Backup database to AWS S3 storage or any
| SECRET_KEY | Optional, required for S3 storage | AWS S3 Secret Key |
| BUCKET_NAME | Optional, required for S3 storage | AWS S3 Bucket Name |
| S3_ENDPOINT | Optional, required for S3 storage | AWS S3 Endpoint |
| FILE_NAME | Optional if it was provided from the --file flag | File to restore |
| FILE_NAME | Optional if it was provided from the --file flag | Database file to restore (extensions: .sql, .sql.gz) |
## Note:
@@ -79,11 +79,9 @@ Creating a user for backup tasks who has read-only access is recommended!
Simple backup usage
```sh
pg-bkup --operation backup
```
```sh
pg-bkup -o backup
bkup backup
```
### S3
```sh