From charlesreid1

Revision as of 06:59, 14 February 2018 by Admin (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

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

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