I am new to podman, so please forgive me that I might be asking about the basics.
Today, I decided to migrate forgejo into a container, to harden my “server”. For this, I backed up forgejo using forgejo dump
, which gave me a ZIP file. Now I am lost on putting it into the podman container…
Basically, I want to know:
- How do I access files inside podman container, especially one created through quadlet? Does the quadlet part make a difference?
- How can I restore forgejo backup created by
forgejo dump
? Despite this being seemingly common task, there seems to be no documentation about how to restore the backup.
I have been struggling a lot with setting it up. Until moments ago, I had great difficulty debugging networking issue from firewall, which was quite exhausting. So I would like to ask help first for this problem. If anyone could give some pointers or help, it would be greatly appreciated!
Thanks, I manage to successfully mount the volume on my host! Sadly, it seems like forgejo’s usual version and docker/podman version are quite different, so there are issues arising from that. I guess I have to set things up from ground-up; At least I have a backup of the repositories now.