Skip to content

Commit 99a5595

Browse files
eeyrjmrdelvh
andauthored
clarify aspects of the dump command (#26887)
clarify aspects of the dump command Possibly closes #26862 --------- Co-authored-by: delvh <[email protected]>
1 parent 918acca commit 99a5595

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/dump.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ It can be used for backup and capture Gitea server image to send to maintainer`,
128128
&cli.StringFlag{
129129
Name: "database",
130130
Aliases: []string{"d"},
131-
Usage: "Specify the database SQL syntax",
131+
Usage: "Specify the database SQL syntax: sqlite3, mysql, mssql, postgres",
132132
},
133133
&cli.BoolFlag{
134134
Name: "skip-repository",

docs/content/administration/command-line.en-us.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,9 @@ in the current directory.
334334
- `--skip-attachment-data`: Skip dumping of attachment data. Optional.
335335
- `--skip-package-data`: Skip dumping of package data. Optional.
336336
- `--skip-log`: Skip dumping of log data. Optional.
337-
- `--database`, `-d`: Specify the database SQL syntax. Optional.
337+
- `--database`, `-d`: Specify the database SQL syntax. Optional (supported arguments: sqlite3, mysql, mssql, postgres).
338338
- `--verbose`, `-V`: If provided, shows additional details. Optional.
339-
- `--type`: Set the dump output format. Optional. (default: zip)
339+
- `--type`: Set the dump output format. Optional. (formats: zip, tar, tar.sz, tar.gz, tar.xz, tar.bz2, tar.br, tar.lz4, tar.zst default: zip).
340340
- Examples:
341341
- `gitea dump`
342342
- `gitea dump --verbose`

0 commit comments

Comments
 (0)