docs: add supported extensions to the doc
This commit is contained in:
10
README.md
10
README.md
@@ -54,7 +54,7 @@ PostgreSQL Backup and Restoration tool. Backup database to AWS S3 storage or any
|
|||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
| Name | Requirement | Description |
|
| Name | Requirement | Description |
|
||||||
|-------------|--------------------------------------------------|----------------------|
|
|-------------|--------------------------------------------------|------------------------------------------------------|
|
||||||
| DB_PORT | Optional, default 5432 | Database port number |
|
| DB_PORT | Optional, default 5432 | Database port number |
|
||||||
| DB_HOST | Required | Database host |
|
| DB_HOST | Required | Database host |
|
||||||
| DB_NAME | Optional if it was provided from the -d flag | Database name |
|
| 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 |
|
| SECRET_KEY | Optional, required for S3 storage | AWS S3 Secret Key |
|
||||||
| BUCKET_NAME | Optional, required for S3 storage | AWS S3 Bucket Name |
|
| BUCKET_NAME | Optional, required for S3 storage | AWS S3 Bucket Name |
|
||||||
| S3_ENDPOINT | Optional, required for S3 storage | AWS S3 Endpoint |
|
| 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:
|
## Note:
|
||||||
@@ -79,11 +79,9 @@ Creating a user for backup tasks who has read-only access is recommended!
|
|||||||
Simple backup usage
|
Simple backup usage
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pg-bkup --operation backup
|
bkup backup
|
||||||
```
|
|
||||||
```sh
|
|
||||||
pg-bkup -o backup
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### S3
|
### S3
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
Reference in New Issue
Block a user