#1 Co-authored-by: Mácio Fernandes <marcio.fernandes@outlook.pt> Reviewed-on: #2
33 lines
954 B
Markdown
33 lines
954 B
Markdown
# Gitea
|
|
|
|
- [Gitea](#gitea)
|
|
- [Links](#links)
|
|
- [Backup And Restore](#backup-and-restore)
|
|
- [Gitea dump from docker host](#gitea-dump-from-docker-host)
|
|
- [Other References](#other-references)
|
|
|
|
## Links
|
|
|
|
- [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
|
|
|
|
_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 (chech the git repository https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com ) |