From charlesreid1

Revision as of 06:59, 14 February 2018 by Admin (talk | contribs)

Via Gitea documentation: https://docs.gitea.io/en-us/command-line/

Can dump the entire contents of Gitea's database to a zip directory using the gitea dump command.

The way I have described installing Gitea, it is important to run this command as the correct user, in this case the user git:

chmod 777 /temp/
cd /temp/
sudo -H -u git /www/gitea/bin/gitea dump --verbose

This will begin the backup process, which will take a few minutes.