Update 'README.md'
This commit is contained in:
24
README.md
24
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
|
||||
Reference in New Issue
Block a user