You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to create a backup of my Gitea instance as found on the official docs. As I run my gitea as a service, I prepended the working directory manually when running the command. But the resulting zip files misses the data and custom directories. The log file states that it searched for custom at /usr/local/bin/ which is obviously the wrong directory. Maybe the data directory was silently skipped after that.
Okay, problem solved. I had to set the working directory with -w or --work-path and not via environment variable.
Like so: gitea dump -c /etc/gitea/app.ini -w /var/lib/gitea/
[x]
):Description
I was trying to create a backup of my Gitea instance as found on the official docs. As I run my gitea as a service, I prepended the working directory manually when running the command. But the resulting zip files misses the
data
andcustom
directories. The log file states that it searched forcustom
at/usr/local/bin/
which is obviously the wrong directory. Maybe the data directory was silently skipped after that.Is this a bug or am I missing something?
Commands and resulting zip file:
Log file:
Thanks for your help :)
The text was updated successfully, but these errors were encountered: