this post was submitted on 08 Mar 2025
12 points (100.0% liked)

Linux

7040 readers
178 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

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:

  1. How do I access files inside podman container, especially one created through quadlet? Does the quadlet part make a difference?
  2. 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!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 month ago

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.