Skip to main content
Community Scripts logo
Tools & Add-onsPVE Tools

Proxmox VE host tools

Reference for every script in tools/pve, grouped by what you use it for.

The scripts in tools/pve/ do not create containers. They work on the host itself or on guests that already exist: updates, repositories, storage, hardware passthrough and cleanup.

How to run a tool

Open a shell on the host (web interface: node, then Shell; or SSH) as root and paste the command from the tool's page. All commands have this form:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/<name>.sh)"

Things that hold for the whole folder:

  • Most tools are interactive and need a real terminal for their dialogs. PVE LXC Apps Update can also be run unattended through variables.
  • A few scripts live here but do not run on a Proxmox VE host: the four Proxmox Backup Server tools, the Mail Gateway and Datacenter Manager post-install scripts, and the two Home Assistant restore scripts, which run inside the container. Each page says where to run it.
  • Almost every tool loads api/api.func from the core repository and calls init_tool_telemetry "<name>" "pve", which reports the result of the run when the script exits. The base URL can be changed with COMMUNITY_SCRIPTS_CORE_URL.
  • Read the page before you run a tool. Several of them change APT sources, delete data or stop guests, and most have no undo.

Updates and maintenance

ToolSummary
PVE LXC Apps UpdateRuns the application updater in tagged containers, with optional backup and automatic restore on failure.
PVE LXC UpdaterUpgrades the operating system packages of all containers, interactively.
PVE Cron LXC UpdaterInstalls and manages a weekly cron job for container OS updates.
update-lxcs-cronThe worker script that the cron job runs.
PVE Update RepositoriesRewrites /usr/bin/update in older containers from tteck/Proxmox to community-scripts/ProxmoxVE.
PVE LXC ExecuteRuns one command in every Debian and Ubuntu container.
PVE Monitor-AllService that restarts guests tagged mon-restart when they stop responding.

Post-install and upgrades

ToolSummary
PVE Post InstallRepositories, subscription notice, HA services and updates on Proxmox VE 8 and 9.
PBS Post InstallThe same for Proxmox Backup Server 3 and 4.
PMG Post InstallThe same for Proxmox Mail Gateway.
Proxmox Datacenter Manager Post InstallThe same for Proxmox Datacenter Manager.
pve8-upgradeUpgrades Proxmox VE 7.4 to 8.
pbs3-upgradeUpgrades Proxmox Backup Server 2 to 3.
PBS 4 UpgradeUpgrades Proxmox Backup Server 3 to 4.
post-install-hook-examplesExample scripts for var_post_install, the host-side hook after a container is created.

Storage and backup

ToolSummary
Storage-Share-HelperTests SMB, NFS and iSCSI, adds and removes Proxmox storages and LXC bind mounts, creates host shares.
PVE Host BackupArchives selected host files and directories, by default from /etc.
PVE LXC Filesystem TrimRuns pct fstrim on containers.
PVE Disk Health ToolSMART summary for all disks and an optional short self-test.
PVE Privilege ConverterConverts a container between privileged and unprivileged through backup and restore.
container-restore-from-backupRestores a Home Assistant backup inside a Home Assistant Container LXC.
core-restore-from-backupRestores a Home Assistant backup inside a Home Assistant Core LXC.

Hardware

ToolSummary
PVE Processor MicrocodeInstalls an Intel or AMD microcode package on a Proxmox VE host.
PBS Processor MicrocodeThe same for a bare-metal Proxmox Backup Server.
PVE CPU Scaling GovernorShows and sets the CPU scaling governor, optionally at every boot.
PVE Kernel PinPins or unpins the kernel the host boots.
hw-accelerationPasses an Intel GPU into a privileged container and installs the drivers there.
usb-passthroughPasses USB serial devices into a privileged container.
frigate-supportPasses the devices Frigate needs into a container.

Network

ToolSummary
Intel e1000e NIC Offloading FixDisables offloading on Intel e1000e and e1000 interfaces through systemd services.
PVE LXC TagService that writes the IP addresses of guests into their tags.

Cleanup

ToolSummary
PVE LXC CleanerDeletes logs, caches and temporary files inside containers.
PVE Clean Orphaned LVMFinds and removes LVM volumes that belong to no guest.
PVE Kernel CleanRemoves old kernel packages.
PVE Guest DeletionDestroys selected containers and VMs.