proxmox-offline-mirror mirror gc
to run a garbage collection to actually remove files which are no longer referenced by any snapshot and free up the space.Ok Fabian, got it. Thanks a lot for the information.the snapshots use hardlinks under the hood to only keep a single copy of each required file. removing older snapshots should not affect newer ones. you do need to callproxmox-offline-mirror mirror gc
to run a garbage collection to actually remove files which are no longer referenced by any snapshot and free up the space.
but keep in mind - many repositories are append-only (exceptions like Debian testing or unstable excluded). so unless you also changed the filter settings, removing old snapshots usually doesn't free up much space
Hi Fabian, I managed to fix it. So I had to change the mountpoint from /mirror to /mirror/.pool/ in the /etc/proxmox-offline-mirror.cfg. Not sure why this was looking for wrong directory.please post the full config..
thanks Fabian, understood. So in the end what I am trying to do is to have 3 clients servers to have their subscription activated from my central POM server. I bought 4 subscription licenses: 1 for the POM itself and 3 for the client nodes.you need to provide the helper binary access to the mountpoint of the medium as a path at the moment (it can be a mountpoint of some kind though, like NFS). we do have plans to allow an API based access to the POM instance at some point, which would allow fetching the offline subscription data over the internal network as well, for systems that are no air-gapped completely.
We are proud to announce the first release of our new Proxmox Offline Mirror tool.
With the Proxmox Offline Mirror tool, you can manage a local apt mirror for all package updates for Proxmox and Debian projects. From this local apt mirror you can create an external medium, for example a USB flash drive or a local network share, to update systems which cannot access the package repositories directly (or proxied) via the internet. Such systems might be restricted by policies to access the public internet or are completely air-gapped. Finally, you can also manage subscriptions for such restricted hosts.
Documentation
https://pom.proxmox.com
Community Forum
https://forum.proxmox.com
Source Code
https://git.proxmox.com
Bugtracker
https://bugzilla.proxmox.com
FAQ
Q: How can I install Proxmox Offline Mirror?
A: See the installation chapter in the reference documentation.
Q: Do I need a subscription to mirror APT repositories with Proxmox Offline Mirror?
A: No, you do not need a subscription for offline mirroring of APT repositories.
Q: Do I require a subscription to activate subscription keys offline with Proxmox Offline Mirror?
A: Yes, you require a special subscription to activate a subscription key of a Proxmox solution offline. Standard and Premium subscriptions include one for free.
Q: What types of repositories does Proxmox Offline Mirror support?
A: All APT-based repositories should work in theory, but we only test those of Proxmox and Debian projects.
Q: How is offline repository mirroring integrated with Proxmox VE, Proxmox Backup Server or Proxmox Mail Gateway?
A: Offline mirrors can be accessed like ordinary APT repositories. Theproxmox-offline-mirror-helper
utility facilitates the setup.
Q: What version of Proxmox VE, Proxmox Backup Server or Proxmox Mail Gateway supports offline subscription key activation?
A: See the docs for the minimum Package versions required for managing offline subscriptions.
My question is: how do I tell POM I have 3 more licenses for client servers? and how does POM "send" this subscriptions keys to the client servers? Is it via the mirror?
Hello everybody
I'm trying Proxmox Offline Mirror and I have some doubts.
My main objective is to create a mirror in the company where I work, to speed up the updating of production and approval servers.
I managed to configure the mirrors and take their snapshots, what I still don't understand is how to publish, as it apparently doesn't generate a publication folder, much less a command to create it, it keeps the snapshot in a folder with the date it was taken. (2024-04-19T11:19:01Z) where they are maintained and updated with hardlinks.
This would give me the trouble of updating the repository folder settings manually or by script.
I would like to know if I am right in my analysis.
But it works very well as an generic APT mirror solution, at least since update v0.6.6. And it is convenient to set up compared to other solutions.note that the main use case for POM is not as an APT proxy (there are other solutions for that), but for updating air-gapped or heavily restricted installations (that usually don't get very frequent updates either).
One point I'd like to mention is that I still see a difference whether a system uses official Debian / Proxmox repositories in contrast to a mirror create using the exact same repository. Somehow metadata is lost on the way because security updates are not presented as such, e.g. when using aptitude. But that is a minor inconvenience.
You could also consider using an internal mirror as being a good netizen who saves bandwidth of the remote mirrors, especially if the number of servers that is used internally reaches a certain numberof course you can use a full-fledged mirror as a stand-in for a proxy, if you update it often enough, but in many cases, it is overkill
Quick solution (maybe not the best).. create a soft link called latest which reads the latest snapshot file: used command is: ln -s ./`ls -rt | tail -n1` latest . You can create a bash routine/script which runs from time to time to validate if a new snapshot file appeared.Hello everybody
I'm trying Proxmox Offline Mirror and I have some doubts.
My main objective is to create a mirror in the company where I work, to speed up the updating of production and approval servers.
I managed to configure the mirrors and take their snapshots, what I still don't understand is how to publish, as it apparently doesn't generate a publication folder, much less a command to create it, it keeps the snapshot in a folder with the date it was taken. (2024-04-19T11:19:01Z) where they are maintained and updated with hardlinks.
This would give me the trouble of updating the repository folder settings manually or by script.
I would like to know if I am right in my analysis.