summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/usage/backup-and-restore.en-us.md
diff options
context:
space:
mode:
authortryfail <31454293+tryfail@users.noreply.github.com>2022-08-01 06:16:38 +0100
committerGitHub <noreply@github.com>2022-08-01 13:16:38 +0800
commite56005f901141f7dcd5e82fc0755e6637f0784d8 (patch)
tree3fae35b1d5d4e7786610dc8116f793c44b86cb0e /docs/content/doc/usage/backup-and-restore.en-us.md
parent1a8d7d03fd67c3b09cb62f223032e18bc9e32899 (diff)
downloadgitea-e56005f901141f7dcd5e82fc0755e6637f0784d8.tar.gz
gitea-e56005f901141f7dcd5e82fc0755e6637f0784d8.zip
Fix typos in backup documentation (#20567)
Fixed multiple typos "/user/local/bin" to the proper path "/usr/local/bin"
Diffstat (limited to 'docs/content/doc/usage/backup-and-restore.en-us.md')
-rw-r--r--docs/content/doc/usage/backup-and-restore.en-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/usage/backup-and-restore.en-us.md b/docs/content/doc/usage/backup-and-restore.en-us.md
index 95e6d376d0..c9c41c413c 100644
--- a/docs/content/doc/usage/backup-and-restore.en-us.md
+++ b/docs/content/doc/usage/backup-and-restore.en-us.md
@@ -74,7 +74,7 @@ The command has to be executed with the `RUN_USER = <OS_USERNAME>` specified in
Example:
```none
-docker exec -u <OS_USERNAME> -it -w <--tempdir> $(docker ps -qf 'name=^<NAME_OF_DOCKER_CONTAINER>$') bash -c '/user/local/bin/gitea dump -c </path/to/app.ini>'
+docker exec -u <OS_USERNAME> -it -w <--tempdir> $(docker ps -qf 'name=^<NAME_OF_DOCKER_CONTAINER>$') bash -c '/usr/local/bin/gitea dump -c </path/to/app.ini>'
```
\*Note: `--tempdir` refers to the temporary directory of the docker environment used by Gitea; if you have not specified a custom `--tempdir`, then Gitea uses `/tmp` or the `TMPDIR` environment variable of the docker container. For `--tempdir` adjust your `docker exec` command options accordingly.