Files
gitea/README.md
marcio.fernandes aaa1042d74 Added TOC (#2)
#1

Co-authored-by: Mácio Fernandes <marcio.fernandes@outlook.pt>
Reviewed-on: #2
2024-03-09 12:43:07 +00:00

954 B

Gitea

Backup And Restore

Source - https://docs.gitea.io/en-us/backup-and-restore/

Gitea dump from docker host

# 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