Making the backup dump file with certain name?

Hi guys!

I have automated my system to make a dump by this command

/usr/local/bin/gitea dump -c /etc/gitea/gitea.ini

but the file is usually like this

is there any possibilities to change the output name? Also is there a way to direct the output file on certain location?

Yes, you can use the --file flag.

1 Like