Add Dump to specified directory #14713

Closed
opened 2025-11-02 11:20:54 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @lxxilyd on GitHub (Jul 7, 2025).

Feature Description

There is no option to dump to the specified directory, can add support?

Screenshots

No response

Originally created by @lxxilyd on GitHub (Jul 7, 2025). ### Feature Description There is no option to dump to the specified directory, can add support? ### Screenshots _No response_
GiteaMirror added the type/proposalissue/needs-feedback labels 2025-11-02 11:20:54 -06:00
Author
Owner

@lunny commented on GitHub (Jul 9, 2025):

Did you mean

--file string, -f string      Name of the dump file which will be created, default to "gitea-dump-{time}.zip". Supply '-' for stdout. See type for available types.

?

@lunny commented on GitHub (Jul 9, 2025): Did you mean ``` --file string, -f string Name of the dump file which will be created, default to "gitea-dump-{time}.zip". Supply '-' for stdout. See type for available types. ``` ?
Author
Owner

@lxxilyd commented on GitHub (Jul 10, 2025):

Yes, But I mean is there an argument --dir or -d that specifies the path where the dump generates "gitea-dump-{time}.zip"?

lixxing
@.***

@lxxilyd commented on GitHub (Jul 10, 2025): Yes, But I mean is there an argument --dir or -d that specifies the path where the dump generates "gitea-dump-{time}.zip"? lixxing ***@***.***
Author
Owner

@wxiaoguang commented on GitHub (Jul 10, 2025):

gitea dump --file "/my/dir/gitea-dump-$(date +%s).zip"
@wxiaoguang commented on GitHub (Jul 10, 2025): ```shell gitea dump --file "/my/dir/gitea-dump-$(date +%s).zip" ```
Author
Owner

@lxxilyd commented on GitHub (Jul 10, 2025):

OK, thank you for the tips

lixxing
@.***

@lxxilyd commented on GitHub (Jul 10, 2025): OK, thank you for the tips lixxing ***@***.***
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14713