Files
gitea/README.md
2022-10-05 13:04:46 +01:00

728 B

Gitea

Backup And Restore

Official 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