Skip to content

Commit f13f932

Browse files
authored
Improve Documentation for Restoration from backup (#29321)
Comment the default path for repos and suggest using doctor for when things are stuck
1 parent 49e4826 commit f13f932

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/content/administration/backup-and-restore.en-us.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ cd gitea-dump-1610949662
9292
mv app.ini /etc/gitea/conf/app.ini
9393
mv data/* /var/lib/gitea/data/
9494
mv log/* /var/lib/gitea/log/
95-
mv repos/* /var/lib/gitea/gitea-repositories/
95+
mv repos/* /var/lib/gitea/data/gitea-repositories/
9696
chown -R gitea:gitea /etc/gitea/conf/app.ini /var/lib/gitea
9797

9898
# mysql
@@ -111,6 +111,8 @@ With Gitea running, and from the directory Gitea's binary is located, execute: `
111111

112112
This ensures that application and configuration file paths in repository Git Hooks are consistent and applicable to the current installation. If these paths are not updated, repository `push` actions will fail.
113113

114+
If you still have issues, consider running `./gitea doctor check` to inspect possible errors (or run with `--fix`).
115+
114116
### Using Docker (`restore`)
115117

116118
There is also no support for a recovery command in a Docker-based gitea instance. The restore process contains the same steps as described in the previous section but with different paths.

0 commit comments

Comments
 (0)