<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Backups on rHomelab</title><link>https://rhomelab.com/tags/backups/</link><description>Recent content in Backups on rHomelab</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 13 Aug 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://rhomelab.com/tags/backups/index.xml" rel="self" type="application/rss+xml"/><item><title>Proxmox Backup Server: Setting Up Automated, Deduplicated Backups for Your Homelab</title><link>https://rhomelab.com/proxmox/proxmox-backup-server-setup/</link><pubDate>Thu, 13 Aug 2026 00:00:00 +0000</pubDate><guid>https://rhomelab.com/proxmox/proxmox-backup-server-setup/</guid><description>How to stand up Proxmox Backup Server for a home cluster - what it actually buys you over vzdump, sizing the storage, setting retention, and the restore test you should run before you trust it.</description><content:encoded><![CDATA[<p>Backups are the thing every homelab guide tells you to do and almost nobody actually verifies works until the day they need it. Proxmox makes this easier than most platforms because it ships a real backup product, Proxmox Backup Server (PBS), instead of leaving you to bolt one on yourself. Here&rsquo;s how to actually set it up, what it buys you over the built-in <code>vzdump</code> backups, and the one step most people skip that makes the whole thing worthless if you never do it.</p>
<h2 id="what-pbs-actually-is">What PBS actually is</h2>
<p>Proxmox VE has backup built in already, through <code>vzdump</code>. It works, and if you&rsquo;ve got a single node and modest storage it might be all you need. But <code>vzdump</code> backups are full copies by default (or full-plus-incremental with some tuning), stored as flat archive files. Every backup run costs you close to the full size of the VM or container again, and restoring means unpacking a whole archive.</p>
<p>Proxmox Backup Server is a separate product, built specifically to fix that. It runs as its own lightweight install, either on a dedicated machine, a VM, or (with some caveats) inside an LXC container on the same node it&rsquo;s backing up. PBS backups are:</p>
<ul>
<li><strong>Incremental at the block level.</strong> After the first full backup, every run after that only sends the changed blocks, not the whole disk again.</li>
<li><strong>Deduplicated.</strong> Identical blocks across backups, and even across different VMs and containers, get stored once. Ten LXCs all running the same base Debian image will not cost you ten times the storage for that shared base layer.</li>
<li><strong>Compressed</strong> using zstd, on top of the deduplication.</li>
<li><strong>Verified.</strong> PBS can run scheduled verification jobs that checksum stored chunks and flag corruption before you find out about it during a restore.</li>
</ul>
<p>The practical result: your backup storage grows much slower than your VM/container footprint does, and your backup windows shrink from &ldquo;however long it takes to copy everything&rdquo; to &ldquo;however long it takes to copy what changed today.&rdquo;</p>
<h2 id="where-to-run-it">Where to run it</h2>
<p>You want PBS on separate storage from the VMs and containers it&rsquo;s protecting, full stop. A backup that lives on the same disk as the thing it&rsquo;s backing up isn&rsquo;t a backup, it&rsquo;s a second copy that dies at the same time as the first one. Three common patterns, roughly in order of how good the isolation is:</p>
<ol>
<li><strong>Dedicated hardware.</strong> A small separate box (even something like an old NUC or a cheap mini PC) running PBS bare-metal or as its own Proxmox VE host, with its own disks. Best isolation, most hardware to manage.</li>
<li><strong>A VM on a different node.</strong> If you&rsquo;re already running a cluster, put PBS on a node that doesn&rsquo;t share physical disks with your primary workloads.</li>
<li><strong>A VM on the same node, different disks.</strong> Acceptable if that&rsquo;s genuinely all you&rsquo;ve got, as long as the PBS datastore lives on a physically separate drive from your VM/container storage, not just a different partition on the same disk. This protects you from filesystem-level corruption and accidental deletion, though not from the whole box failing.</li>
</ol>
<p>Whatever you pick, PBS wants its own storage pool, called a &ldquo;datastore&rdquo; in its terminology, formatted as a ZFS pool or plain directory on the disk you&rsquo;re dedicating to it. Give it real headroom. As a starting point, plan for at least double your total protected VM/container disk usage before dedup kicks in and shrinks that footprint over time, more if you&rsquo;re keeping longer retention windows.</p>
<h2 id="setup-at-a-high-level">Setup, at a high level</h2>
<ol>
<li><strong>Install PBS.</strong> Grab the ISO from Proxmox&rsquo;s site and install it like you would Proxmox VE itself, on whatever hardware or VM you&rsquo;ve chosen. It gets its own web UI, separate from the Proxmox VE UI you&rsquo;re used to, on port 8007.</li>
<li><strong>Create a datastore.</strong> In the PBS web UI, point it at the disk or ZFS pool you&rsquo;re dedicating to backups. This is where chunks get stored.</li>
<li><strong>Add a PBS storage target in Proxmox VE.</strong> Back in your Proxmox VE web UI, go to Datacenter &gt; Storage &gt; Add &gt; Proxmox Backup Server, and give it the PBS host&rsquo;s address and an API token (create this in the PBS UI under Access Control, don&rsquo;t reuse the root password here).</li>
<li><strong>Create a backup job.</strong> Datacenter &gt; Backup &gt; Add. Pick which VMs/containers to include, which storage target (your new PBS datastore), a schedule, and a retention policy.</li>
</ol>
<p>That last piece, retention, is where PBS earns its keep over <code>vzdump</code>&rsquo;s simpler &ldquo;keep N backups&rdquo; model. PBS lets you set retention by time bucket: keep the last 7 daily backups, the last 4 weekly, the last 6 monthly, and so on, pruning everything else automatically. This gives you real point-in-time recovery options (last Tuesday, three weeks ago, two months ago) without manually managing a pile of full-size archive files.</p>
<h2 id="a-sane-starting-retention-policy">A sane starting retention policy</h2>
<p>There&rsquo;s no universal right answer here, it depends on how often your data actually changes and how much storage you&rsquo;re willing to dedicate. A reasonable default for a home setup:</p>
<ul>
<li><strong>Keep last:</strong> 3-4 (recent daily backups, for &ldquo;oops I broke a config an hour ago&rdquo;)</li>
<li><strong>Keep daily:</strong> 7 (a week of daily granularity)</li>
<li><strong>Keep weekly:</strong> 4 (a month of weekly granularity)</li>
<li><strong>Keep monthly:</strong> 6 (half a year of monthly granularity)</li>
</ul>
<p>Tune this against your actual datastore size once you&rsquo;ve got a few weeks of real backups to look at. PBS&rsquo;s UI shows you dedup and compression ratios per datastore, so you&rsquo;re not guessing, you can watch actual growth and adjust retention before you run out of room.</p>
<h2 id="encryption-if-youre-backing-up-off-site">Encryption, if you&rsquo;re backing up off-site</h2>
<p>If your PBS datastore, or a sync target for it, ever leaves your own network (cloud storage, a friend&rsquo;s homelab, a colo box), turn on client-side encryption. PBS supports it natively, generating a key on the client side (your Proxmox VE host) before data ever leaves for the PBS server. This matters more than it sounds like it should: without it, whoever controls the storage your backups land on can read the contents of every VM and container you&rsquo;ve backed up, including anything with credentials baked into disk images or config files. Keep the encryption key backed up somewhere separate from both the source data and the backup target. A lost key means every encrypted backup made with it is permanently unreadable, which is its own kind of data loss.</p>
<h2 id="the-step-everyone-skips-actually-restore-something">The step everyone skips: actually restore something</h2>
<p>A backup you&rsquo;ve never restored from is a theory, not a backup. This is the single most common gap in homelab backup setups, and it&rsquo;s the one that turns &ldquo;I had backups&rdquo; into &ldquo;I thought I had backups&rdquo; at the worst possible moment.</p>
<p>Pick a low-stakes VM or container, ideally something you could afford to lose without real consequences, and actually run a full restore from PBS into a new VMID on your Proxmox VE host. Confirm it boots, confirm the data inside matches what you expect, and time how long the process takes so you have a real number for your recovery time expectations instead of a guess. Do this once when you first set PBS up, and again periodically, maybe quarterly, especially after any change to your storage layout or PBS version.</p>
<p>While you&rsquo;re at it, test a single-file restore too, not just a full VM restore. PBS supports mounting a specific backup snapshot and pulling individual files back out, which is often what you actually need day to day (someone deleted a config file, not &ldquo;the whole VM is gone&rdquo;). This is faster to verify than a full VM restore and worth confirming works on its own.</p>
<h2 id="off-site-copies-briefly">Off-site copies, briefly</h2>
<p>PBS supports sync jobs between datastores, which is how you get a second copy of your backups onto a different piece of hardware, a different location, or both, following the same 3-2-1 principle (three copies, two different media, one off-site) that applies to backups generally, not just Proxmox specifically. A single PBS datastore protects you from VM-level mistakes and disk failure on the primary storage. It does not protect you from the building it&rsquo;s sitting in, whether that&rsquo;s a fire, a flood, or a theft. If your data actually matters to you, budget for a second target eventually, even if it starts as an external drive you rotate off-site by hand rather than an automated sync.</p>
<h2 id="bottom-line">Bottom line</h2>
<p>If you&rsquo;re running Proxmox and still relying on ad-hoc <code>vzdump</code> snapshots or, worse, nothing at all, Proxmox Backup Server is a free, genuinely well-built piece of software that closes that gap without much complexity. Dedicate separate storage to it, set a retention policy that matches how your data actually changes, encrypt anything that leaves your network, and then prove to yourself it works with a real restore before you need it for real. That last part is the whole point. A backup system nobody has tested is just a very elaborate way of hoping.</p>
]]></content:encoded></item></channel></rss>