docs: use a 'standard' name for the data dump

This commit is contained in:
Jose Diaz-Gonzalez
2021-09-13 03:25:06 -04:00
parent b2e1a78073
commit 6bfd8040a2
3 changed files with 4 additions and 4 deletions

View File

@@ -536,7 +536,7 @@ dokku postgres:import <service>
Import a datastore dump:
```shell
dokku postgres:import lollipop < database.dump
dokku postgres:import lollipop < data.dump
```
### export a dump of the postgres service database
@@ -555,7 +555,7 @@ dokku postgres:export lollipop
You can redirect this output to a file:
```shell
dokku postgres:export lollipop > lollipop.dump
dokku postgres:export lollipop > data.dump
```
### Backups

View File

@@ -9,7 +9,7 @@ service-export-cmd() {
#E by default, datastore output is exported to stdout
#E dokku $PLUGIN_COMMAND_PREFIX:export lollipop
#E you can redirect this output to a file
#E dokku $PLUGIN_COMMAND_PREFIX:export lollipop > lollipop.dump
#E dokku $PLUGIN_COMMAND_PREFIX:export lollipop > data.dump
#A service, service to run command against
declare desc="export a dump of the $PLUGIN_SERVICE service database"
local cmd="$PLUGIN_COMMAND_PREFIX:export" argv=("$@")

View File

@@ -7,7 +7,7 @@ source "$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")/functions"
service-import-cmd() {
#E import a datastore dump
#E dokku $PLUGIN_COMMAND_PREFIX:import lollipop < database.dump
#E dokku $PLUGIN_COMMAND_PREFIX:import lollipop < data.dump
#A service, service to run command against
declare desc="import a dump into the $PLUGIN_SERVICE service database"
local cmd="$PLUGIN_COMMAND_PREFIX:import" argv=("$@")