Skip to content

Commit

Permalink
docs: use a 'standard' name for the data dump
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Sep 13, 2021
1 parent ba85668 commit f132d89
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ dokku redis:import <service>
Import a datastore dump:

```shell
dokku redis:import lollipop < database.dump
dokku redis:import lollipop < data.dump
```

### export a dump of the redis service database
Expand All @@ -518,7 +518,7 @@ dokku redis:export lollipop
You can redirect this output to a file:

```shell
dokku redis:export lollipop > lollipop.dump
dokku redis:export lollipop > data.dump
```

### Backups
Expand Down
2 changes: 1 addition & 1 deletion subcommands/export
Original file line number Diff line number Diff line change
Expand Up @@ -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=("$@")
Expand Down
2 changes: 1 addition & 1 deletion subcommands/import
Original file line number Diff line number Diff line change
Expand Up @@ -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=("$@")
Expand Down

0 comments on commit f132d89

Please sign in to comment.