serhii.net

In the middle of the desert you can say anything you want

13 Mar 2025

Exporting gitea projects

Backup and Restore | Gitea Documentation has the full detailed story.

The easy stupid way for backing up gitea running in docker, untested and will fail if DB was being used during dumping. I haven’t tried to import it anywhere as well, may be wrong.

docker exec -it --user git gitea-container bash

gitea dump

# then outside the container, copy from the gitea container to host OSooj

docker cp gitea-container:/whatveer/gitea-dump.zip /tmp
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus