From d5ae3682c52eaf8363361e47f94172c12c258f5e Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 8 Feb 2021 01:00:12 +0000 Subject: [PATCH] Exclude the current dump file from the dump (#14606) * Exclude the current dump file from the dump Always prevent the current file from being added to the dump. Fix #13618 Signed-off-by: Andrew Thornton * Add skip custom directory option Signed-off-by: Andrew Thornton * placate lint Signed-off-by: Andrew Thornton Co-authored-by: 6543 <6543@obermui.de> --- doc/usage/command-line.en-us.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/usage/command-line.en-us.md b/doc/usage/command-line.en-us.md index 192eaa2c..97882f92 100644 --- a/doc/usage/command-line.en-us.md +++ b/doc/usage/command-line.en-us.md @@ -253,6 +253,7 @@ in the current directory. - `--file name`, `-f name`: Name of the dump file with will be created. Optional. (default: gitea-dump-[timestamp].zip). - `--tempdir path`, `-t path`: Path to the temporary directory used. Optional. (default: /tmp). - `--skip-repository`, `-R`: Skip the repository dumping. Optional. + - `--skip-custom-dir`: Skip dumping of the custom dir. Optional. - `--database`, `-d`: Specify the database SQL syntax. Optional. - `--verbose`, `-V`: If provided, shows additional details. Optional. - Examples: