Run Proxmox Backup Server as a VM with Disk Passthrough
Running Proxmox Backup Server (PBS) as a VM on the same Proxmox VE host is a practical and cost-effective setup for home labs. Instead of dedicating a separate machine to backups, you pass a physical disk directly through to the PBS VM — giving it exclusive, direct access to the backup storage.
This guide covers the full setup on Proxmox VE 9.x.
Requirements
- Proxmox VE 9.x
- A dedicated physical disk for backup storage (separate from your OS disk)
- PBS ISO downloaded from proxmox.com/downloads
Step 1 – Find the Disk ID
Disk passthrough in Proxmox is done using the disk’s persistent ID, not /dev/sdb — device names can change after a reboot.
SSH into your Proxmox host and list disks by ID:
ls -l /dev/disk/by-id/Find your backup disk. It will look something like:
ata-WDC_WD4000FYYZ_WD-XXXXX -> ../../sdbNote the full ID path — you’ll need it in Step 4. Ignore entries ending in -part1, -part2 etc. (those are partitions).
Step 2 – Create the PBS Virtual Machine
- In the Proxmox web interface, click “Create VM”
- General – give it a name (e.g.
pbs) and a VM ID - OS – select your PBS ISO, set OS type to Linux, kernel 6.x
- System – leave defaults, optionally enable Qemu Agent
- Disks – create a small boot disk (32 GB is enough for the PBS OS)
- Set Bus/Device to VirtIO Block
- CPU – 2 cores, type Host
- Memory – 4096 MB (4 GB) minimum, 8 GB recommended
- Network – connect to your main bridge (e.g.
vmbr0) - Confirm – click Finish
Step 3 – Add Disk Passthrough via Command Line
Disk passthrough must be configured from the Proxmox host shell — it cannot be done through the web UI.
SSH into your Proxmox host and run (replace the disk ID and VM ID with your own):
qm set 100 --scsi1 /dev/disk/by-id/ata-WDC_WD4000FYYZ_WD-XXXXX100= your VM ID--scsi1= the next available SCSI slot (usescsi1ifscsi0is your boot disk)- The disk ID path from Step 1
Verify it was added correctly:
qm config 100You should see your passthrough disk listed under scsi1.
Step 4 – Install Proxmox Backup Server
- Start the VM and open the console
- Boot from the PBS ISO
- Follow the installer — set hostname (e.g.
pbs.local), IP address, and password - Complete the installation and reboot
- Remove the ISO from the VM hardware after installation
Access the PBS web interface at:
https://your-pbs-ip:8007Log in with root and the password you set during installation.
Step 5 – Initialize the Backup Disk in PBS
- In the PBS web interface, go to Administration → Disks
- Your passthrough disk should appear in the list
- Select it and click “Initialize Disk with GPT”
- Go to Administration → Disks → Directory
- Click “Create: Directory”
- Select your disk
- Choose filesystem: ext4 (recommended for single disk)
- Set a name for the datastore (e.g.
backup-store)
- Click Create
Step 6 – Add PBS as a Storage Backend in Proxmox VE
- In Proxmox VE, go to Datacenter → Storage → Add → Proxmox Backup Server
- Fill in:
- ID:
pbs(or any name) - Server: IP address of your PBS VM
- Username:
root@pam - Password: your PBS root password
- Datastore: the name you created in Step 5
- ID:
- Click Add
PBS is now available as a backup target for all your VMs.
Step 7 – Configure a Backup Job
- In Proxmox VE, go to Datacenter → Backup → Add
- Select:
- Storage: your PBS storage
- Schedule: daily, weekly, or custom
- VMs: select which VMs to back up
- Mode: Snapshot (recommended)
- Click Create
Your VMs will now be backed up automatically to the dedicated disk in your PBS VM.
Tips
- Set a pruning schedule in PBS to automatically remove old backups and manage disk space
- PBS supports deduplication and compression out of the box — backup storage usage is much lower than raw VM sizes
- You can access backup logs and verify backup integrity directly in the PBS web interface
Related Links
- Proxmox Backup Server Documentation — official PBS docs
- Proxmox VE Disk Passthrough Wiki — official Proxmox wiki
- PBS Downloads — latest PBS ISO