[doc] Missing database prefix for backup/restore (#1085)

Apparently, the commands backup and restore commands changed to be
subcommands of the database command.
Update the docs to reflect that.
This commit is contained in:
Sebastian Neubauer 2022-10-02 03:27:39 +02:00 committed by GitHub
parent 821b2c05c4
commit 2e9a94e703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ To take the backup (assuming our docker environment) you first need to stop the
docker stop <container name>
docker run --rm -i -t -v kanidmd:/data -v kanidmd_backups:/backup \
kanidm/server:latest /sbin/kanidmd backup -c /data/server.toml \
kanidm/server:latest /sbin/kanidmd database backup -c /data/server.toml \
/backup/kanidm.backup.json
docker start <container name>
@ -55,7 +55,7 @@ To restore from the backup:
docker stop <container name>
docker run --rm -i -t -v kanidmd:/data -v kanidmd_backups:/backup \
kanidm/server:latest /sbin/kanidmd restore -c /data/server.toml \
kanidm/server:latest /sbin/kanidmd database restore -c /data/server.toml \
/backup/kanidm.backup.json
docker start <container name>