Skip to content

Commit 5b402cc

Browse files
klinch0NickVolynkin
authored andcommitted
[postgres] Add instructions for backing up Postgres in the README
Signed-off-by: Nick Volynkin <[email protected]>
1 parent 641e0f4 commit 5b402cc

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

‎packages/apps/postgres/README.md‎

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@ See:
2323

2424
find snapshot:
2525

26-
```bash
27-
restic -r s3:s3.example.org/postgres-backups/database_name snapshots
28-
```
29-
30-
restore:
31-
32-
```bash
33-
restic -r s3:s3.example.org/postgres-backups/database_name restore latest --target /tmp/
26+
Create new app postgres with another name and old values and add to new cluster values:
27+
```yaml
28+
## @param bootstrap.enabled Restore cluster from backup
29+
## @param bootstrap.recoveryTime Time stamp up to which recovery will proceed, expressed in RFC 3339 format, if empty, will restore latest
30+
## @param bootstrap.oldName Name of cluster before deleting
31+
##
32+
bootstrap:
33+
enabled: false
34+
# example: 2020-11-26 15:22:00.00000+00
35+
recoveryTime: ""
36+
oldName: ""
3437
```
3538
3639
more details:

‎packages/apps/versions_map‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ postgres 0.11.0 f9f8bb2f
9696
postgres 0.12.0 6130f43d
9797
postgres 0.12.1 632224a3
9898
postgres 0.14.0 62cb694d
99-
postgres 0.15.1 HEAD
99+
postgres 0.15.1 4369b031
100+
postgres 0.15.2 HEAD
100101
rabbitmq 0.1.0 263e47be
101102
rabbitmq 0.2.0 53f2365e
102103
rabbitmq 0.3.0 6c5cf5bf

0 commit comments

Comments
 (0)