How to set up Proxmox Backup Server for homelab backups

This guide walks you through building a backup server on Proxmox Backup Server, joining it to Proxmox VE and Unraid, and pushing a copy to S3-compatible cloud storage. It suits homelab users who already run a hypervisor and want real 3-2-1 backups. You need a spare machine or VM and a separate disk for backup data.

YouTube video: The Backup Setup I Should Have Built Years Ago

Caption availability is unknown. Check the CC control in the YouTube player.

20 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (20)
Video length
37 min 39 s
Time to do it
1 hour
Difficulty
Medium
Steps
10

What you need

Steps

  1. Plan the hardware first. Give the backup server its own machine or VM and add a separate disk for backup data, so backups never share the operating system drive.

  2. Download the Proxmox Backup Server ISO and install it on that machine or VM. Set the hostname, IP address and root password during the installer.

  3. Finish the post-install setup. Update the package lists, add the correct repository, then open the web interface in a browser and log in as root.

  4. Create a ZFS pool on the backup disk and turn it into a datastore. Add namespaces inside it to keep each host's backups separate.

  5. In Proxmox VE, go to Datacenter, then Storage, then Add, then Proxmox Backup Server. Enter the PBS address, datastore, namespace and credentials.

  6. Create a backup job in Proxmox VE under Datacenter, then Backup. Pick the guests, storage, schedule and retention, then run it once by hand.

  7. Test a restore. Delete a test container or virtual machine and restore it from the PBS snapshot to prove the backup really works.

  8. For Unraid, run the PBS client in a Docker container. Map the paths to your shares and point the client at the PBS datastore and namespace.

  9. Add prune and garbage collection jobs so old snapshots are removed on schedule and the disk space is actually reclaimed.

  10. For the offsite copy, create an S3 bucket and access keys, add an S3-backed datastore, then set a sync job from the local datastore to it.

Tips and common mistakes

Keep at least one copy offsite or on a disk you unplug, because a backup on the same machine dies with the machine.

Run a test restore every few months, since an untested backup proves nothing.

Pruning deletes snapshots but only garbage collection frees the space, so schedule both.

Use a namespace per host so Proxmox VE and Unraid backups can share one datastore without confusion.

Questions

Can Proxmox Backup Server back up Unraid or TrueNAS too?

Yes. Run the PBS client in Docker on those systems and point it at the same datastore. Proxmox VE hosts connect natively without Docker.

How much storage should I plan for?

It depends on how much data you have and how many snapshots you keep. PBS deduplicates and compresses, so the first backup is the largest and later ones add little.

Do I need cloud storage for the offsite copy?

No. Any S3-compatible target works, including a second server at another location. A cloud bucket is just the simplest option to start with.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all