docs: document how to convert the data dump to plain sql

Closes #214
This commit is contained in:
Jose Diaz-Gonzalez
2021-09-13 03:27:29 -04:00
parent 2af9cb0203
commit 615db75c3d
2 changed files with 11 additions and 0 deletions

View File

@@ -558,6 +558,12 @@ You can redirect this output to a file:
dokku postgres:export lollipop > data.dump
```
Note that the export will result in a file containing the binary postgres export data. It can be converted to plain text using `pg_restore` as follows
```shell
pg_restore data.dump -f plain.sql.
```
### Backups
Datastore backups are supported via AWS S3 and S3 compatible services like [minio](https://github.com/minio/minio).

5
docs/export.md Normal file
View File

@@ -0,0 +1,5 @@
Note that the export will result in a file containing the binary postgres export data. It can be converted to plain text using `pg_restore` as follows
```shell
pg_restore data.dump -f plain.sql.
```