From charlesreid1

(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...")
 
No edit summary
Line 6: Line 6:


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

Revision as of 06:59, 14 February 2018

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.