diff options
author | zeripath <art27@cantab.net> | 2021-02-08 01:00:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 09:00:12 +0800 |
commit | 3477e616abe9ad47eb020d19a3ac925bd961e47b (patch) | |
tree | ff75b24a5799a39ee034b0c52f1a9fe1727976b8 /docs/content/doc | |
parent | e65cfabda7caa22eef92137c5c501d1c60fcc42a (diff) | |
download | gitea-3477e616abe9ad47eb020d19a3ac925bd961e47b.tar.gz gitea-3477e616abe9ad47eb020d19a3ac925bd961e47b.zip |
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 <art27@cantab.net>
* Add skip custom directory option
Signed-off-by: Andrew Thornton <art27@cantab.net>
* placate lint
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'docs/content/doc')
-rw-r--r-- | docs/content/doc/usage/command-line.en-us.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md index 192eaa2c5a..97882f9203 100644 --- a/docs/content/doc/usage/command-line.en-us.md +++ b/docs/content/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: |