From 47f59589c5971f69b6ad9a066bcd6798384266df Mon Sep 17 00:00:00 2001 From: Jesse Lucas Date: Sat, 9 Jun 2018 15:16:16 -0400 Subject: [PATCH] Update backup and restore doc usage (#4165) Edit example of `./gitea dump` to include -c option to pass app.ini Signed-off-by: Jesse Lucas --- docs/content/doc/usage/backup-and-restore.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 fa73c38bc..a0816ebe4 100644 --- a/docs/content/doc/usage/backup-and-restore.en-us.md +++ b/docs/content/doc/usage/backup-and-restore.en-us.md @@ -20,7 +20,7 @@ file can be unpacked and used to restore an instance. ## Backup Command (`dump`) -Switch to the user running gitea: `su git`. Run `./gitea dump` in the gitea installation +Switch to the user running gitea: `su git`. Run `./gitea dump -c /path/to/app.ini` in the gitea installation directory. There should be some output similar to the following: ```