From c2c8bd5285786466eb1501156fca4184ead51445 Mon Sep 17 00:00:00 2001 From: "marcio.fernandes" Date: Wed, 5 Oct 2022 13:03:11 +0100 Subject: [PATCH] Update 'README.md' --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35d1e1f..c4ee91f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ -# gitea +# Gitea -## backup +- [Homepage](https://gitea.io/) +- [Documentation](https://docs.gitea.io) +- [API](https://try.gitea.io/api/swagger) +- [GitHub](https://github.com/go-gitea) + +## Backup And Restore + +_Official Source - https://docs.gitea.io/en-us/backup-and-restore/_ + +### Gitea dump from docker host + +```bash +# exec -> execute +# -u -> container name +# -w -> working directory on container +# bash -c "x" -> execute bash with command x /usr/bin/docker exec -u git -w /tmp/backups gitea bash -c "/app/gitea/gitea dump" +``` + +## Other References + +- limbosolutions gitea hosting https://git.limbosolutions.com \ No newline at end of file