From aa212aaeab1f2c87ca691e19b2fc3fddf9d42fb5 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 --- doc/usage/backup-and-restore.en-us.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/backup-and-restore.en-us.md b/doc/usage/backup-and-restore.en-us.md index fa73c38b..a0816ebe 100644 --- a/doc/usage/backup-and-restore.en-us.md +++ b/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: ```