Proxmox Offline Mirror - Debian Repository needed?

roggeb

New Member
Dec 14, 2023
5
0
1
Hi,

I set um the Proxmox Offline Mirror successfully, and connected my nodes with it.

My question is fairly simple: To keep my nodes updated (and most importantly all security holes patched), do I need a snapshot of the Debian repository, too?

Right now I only snapshotted (meaning syncd and downloaded) the PVE and Ceph repositories, thinking that would be enough for the future. But now I am in doubt. I guess the newest kernel version would only be in the Debian repository? (Excuse my naiveté, I have been a purely Windows admin and user before.)
I am asking, because the Debian repo is fairly big and I would prefer to skip that.

Here are the options the PMO gives me for selecting repositories, when doing the guided setup:
Bash:
Select distro to mirror
   0) Proxmox VE
   1) Proxmox Backup Server
   2) Proxmox Mail Gateway
   3) Proxmox Ceph
   4) Debian

Also: why can't I put the PVE, Ceph and Debian repo into one snapshot? It says my input "034" is not a valid choice. Whereas "03" is.

Thank you in advance.
 
you also need the matching Debian repository, just like a regular PVE system needs to have that configured. if you use the guided mode to setup a PVE mirror, it will ask you whether you want to mirror the corresponding Debian repositories as well. you can filter (by section or package name) to reduce the scope of the mirroring if space usage is a concern - but note that Debian stable gets a lot less updates than PVE itself, so once you have a mirror, it shouldn't be too expensive to keep it up to date.

Also: why can't I put the PVE, Ceph and Debian repo into one snapshot? It says my input "034" is not a valid choice. Whereas "03" is.

well, "03" is "3" - this is a single choice prompt ;) each repository is snapshotted on its on anyway, we cannot force the other repositories to freeze while POM is busy mirroring the first one after all.. I guess we could add an option to mirror all Proxmox products + Debian.
 
  • Like
Reactions: roggeb
Thank you for your very fast response, fabian.

Cool, then I will snapshot the Debian repo as well. But could it be possible that it is way more than 5 TB as I see here: https://www.debian.org/mirror/size ? Hard sell to the storage team.
The PMO manual suggests to skip the "linux image", "games" and "debug" packages. Games I get, but is the "linux image" package not essential for the kernel like it says in the PMO manual ("filter Debian linux kernel image packages") (again, Linux noob at work)? Also debug information seems important.
Can you point me in the right direction of what to skip exactly, that is irrelevant for a fully functioning PVE operation?

Edit: Concerning the numbers input in the guided installation: If I do a "apt update" and then a "apt search pve" on a node connected to the PMO I do get PVE packages. So the input of "03" must have also included PVE (0).
Just as an example:
Code:
pve-firmware/now 3.7-1 all [installed,local]
  Binary firmware code for the pve-kernel
 
Last edited:
a full snapshot of a single Debian release (like "Bookworm") is something like 100-150G, depending on your filter settings. note that you only need architecture all and amd64 packages, as opposed to Debian itself, which supports a much wider range of architectures (and therefore also needs a lot more space ;) a full mirror of Debian will also contain things like installer files that are not mirrored by POM).

"linux-image" will filter out the Debian kernel image packages, since we ship our own.
"debug" is needed for debugging, obviously. if you don't expect to to do that, you can skip them (they can get quite big!)
pve-firmware (and some other packages) contains "pve" in the package name, but are actually relevant for all our products. this has historic reasons, and where easily doable, we try to phase those out to a more generic "promox-" prefix.
 
  • Like
Reactions: roggeb

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!