1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

support custom file name in gitea dump command (#6474)

* support custom file name in `gitea dump` command

* simpler approach to handle default dump file name
in `gitea dump` command
This commit is contained in:
glaszig
2019-04-01 01:31:37 -03:00
committed by techknowlogick
parent 2e1ead8054
commit dbba46c216
2 changed files with 7 additions and 1 deletions

View File

@@ -148,6 +148,7 @@ in the current directory.
- Options:
- `--config path`, `-c path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
- `--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.
- `--database`, `-d`: Specify the database SQL syntax. Optional.