Hi, i self host a gitea in my raspberry pi cluster, i’ve deployed in a docker container using a docker compose running in the machine.
My backups consists to a bash script that literaly get the container id, enter on it, and execute the command, “gitea dump > file” to backup, that i save in my NAS.
I was thinking, since i have no docker volumes, why no simply make a docker commit (to generate a image from a running container) and save the backup image in some local image repo? Are there any cons on doing it?

I was thinking because would be really simple to restore in case of any problem.