
Built with Proxmox VE and Veeam Backup & Replication.
Quick overview
This past weekend I repurposed a dental practice’s retired Dell PowerEdge R230 into a dedicated backup server instead of sending it to e-waste. The server had run Windows Server 2012 in production for about 10 years. I reimaged it with Proxmox VE 9.2, built a Windows 11 virtual machine running Veeam Backup & Replication v13 Community Edition, and pointed the backups at the practice’s Synology NAS. The server now powers itself on at night, runs the backup, and shuts itself down when the job finishes. The practice gets a nightly backup on hardware it already owned, without adding another monthly backup subscription.
Why I took this on
I’ll be upfront: I love Proxmox. I’ve run it in my own homelab for years, and I enjoy taking open-source software and making it stable enough for production. My view is simple. If you invest a little time understanding how the hardware and software actually work, you can end up with a very capable setup for a lot less money.
That matters to business owners. A refresh cycle doesn’t have to mean throwing away the old server just because its operating system reached end of life. Servers today are built to run for a very long time. If a retired server can take over as a backup server, the money that would have gone to a third-party backup service every month can go somewhere more useful: savings, equipment, or growing the practice.
Where things started
The R230 had been retired from its original role, and the server closet had grown the way most closets do. Equipment was stacked on top of equipment, a monitor sat on top of the network gear, the NAS was tilted on its side, and cables ran wherever they fit. With everything packed together on the top shelf, airflow was poor in a closet that already holds heat.

Noise was part of the picture too. The R230 uses SAS drives, and a server running around the clock in a small dental office is something the staff hears. That shaped one of my biggest design decisions later on.
Step 1: Cleaning up the server closet
Before touching any software, I reorganized the closet. The shelf isn’t deep, so a wall rack wasn’t realistic without blocking the door. Instead I worked with what was there:
- Removed the monitor from the top shelf.
- Moved the NAS down to the middle shelf, where it runs cooler and isn’t stacked on anything.
- Put rubber feet under the equipment that stays stacked so each device gets some breathing room.
- Routed cables to the back and sides with Velcro and labeled every device by its role.

Now anyone who opens that closet can tell what each box does, and the front stays clear for airflow.
Step 2: Reimaging the R230 with Proxmox VE
The first real obstacle came quickly. Dell’s Lifecycle Controller wouldn’t detect the drive, so I couldn’t start the install. Updating the server’s firmware fixed it. If you’re bringing an older Dell back into service and the installer can’t see your disks, check the firmware before you go down any other path.
With that sorted, I installed Proxmox VE 9.2. Proxmox is a free, open-source virtualization platform. In plain terms, it lets one physical server run several isolated virtual machines, and it gives you a web interface to manage them.
Step 3: Building the Veeam server
Next I created a Windows 11 virtual machine, licensed it, and installed Veeam Backup & Replication v13 Community Edition. Veeam is the software that actually takes the backups and handles restores.
This was the most stubborn part of the weekend. Version 13 needs more resources than earlier versions, and the install didn’t complete cleanly until I gave the VM more CPU and memory. Even after that, several Veeam services were timing out while Windows started up, which locked me out of the console. The fix was giving Windows more time to start services and telling those services to restart automatically if they fail. Since this server now boots every night, getting that right mattered.
Connecting Veeam to Proxmox took some work as well. I didn’t want Veeam using the root account, so I set it up with a separate account that has only the elevated permissions it needs. Proxmox doesn’t ship with the tools that requires, so those had to be installed first.
Step 4: Sending backups to the NAS
The backups land on the practice’s Synology NAS, which is separate hardware from the server. I used an NFS share that only accepts connections from the Veeam server, so no other computer on the network can reach the backup files.
One mistake worth sharing: at one point I allowed the NAS’s own address instead of the Veeam server’s. Everything looked right and nothing connected. Read your permission rules carefully.
Step 5: Remote power control with iDRAC
The R230 has an iDRAC, Dell’s built-in management controller. It stays reachable on the network even when the server is off, which is what makes scheduled power-on possible.
I updated the iDRAC firmware, enabled IPMI over the network, and created a dedicated account that can only control power. The NAS runs a scheduled task that uses that account to turn the server on. Keeping the administrator account out of an automated script was a deliberate choice.
Step 6: A nightly cycle that runs itself
Here’s where the noise and electricity concern came back in. I could back up every hour, and I’m well aware the interval can be shortened. For this practice, one nightly backup was the right balance between protection, power usage, and SAS drives humming in a small office.
The nightly cycle works like this:
- At 7:00 PM, the NAS powers on the R230 through the iDRAC.
- Proxmox boots and starts the Veeam virtual machine automatically.
- At 7:20 PM, Veeam runs the backup.
- Every 15 minutes, a script on the Veeam VM checks whether all of tonight’s jobs have finished successfully.
- When they have, it tells Proxmox to shut down. Proxmox shuts the Veeam VM down gracefully, then powers off the server.
If a job fails, the server stays on so I can see what happened. That was intentional. A server that quietly shuts down after a failed backup hides the exact problem you need to know about.
Challenges and lessons learned
A few things I’d tell anyone attempting this:
- Check firmware first. An outdated Lifecycle Controller kept the installer from seeing the drive.
- Give Veeam v13 real resources. Its services are heavier than earlier versions and can time out at boot on a small VM.
- Veeam v13’s PowerShell needs PowerShell 7.6. My first shutdown script failed because it ran under the older Windows PowerShell. Thankfully it failed safe and left the server on.
- Size your restore target for the machine you’re protecting. Veeam’s direct restore to Proxmox checks the original machine’s CPU and memory, and a large workstation won’t fit on a small host. My approach is to boot Veeam’s recovery media from an ISO inside a pre-built Proxmox VM sized for the R230, then restore from the backup infrastructure.
- Expect small details to cost time. Many of my delays came from one wrong IP address or typing a password into the wrong prompt.
What the practice gets out of it
- A nightly backup on hardware the practice already owned, with no added backup subscription.
- Backups stored on separate hardware from the server, locked to a single machine.
- Remote power control over the server, without a trip to the office.
- Less heat, noise, and electricity, since the server runs only during the backup window.
- A cleaner, labeled server closet that’s easier for anyone to support.
One honest caveat: this is a 10-year-old server. It doesn’t replace an offsite or cloud copy, and its drives won’t last forever. It’s a strong local layer in a backup plan, not the whole plan.
Wrapping up
This project didn’t take expensive hardware. It took patience, some troubleshooting, and a willingness to learn how the pieces fit together. The next steps are watching the nightly cycle over the coming weeks, adding an offsite copy, and running regular restore tests so the practice knows exactly how long recovery takes.

If you’re running a dental practice and aren’t sure how quickly your systems could recover from a server failure, or you have an old server sitting in a closet, that’s a conversation worth having before something goes wrong. Reach out to A Plus Network Solutions.
For first timers: building the Proxmox install USB with Rufus
If you’ve never installed Proxmox, this is where you start. You need a USB drive of 8 GB or more, a Windows PC, and about 15 minutes. Everything on the USB drive gets erased.
- Download the Proxmox VE ISO. Get the latest “Proxmox VE ISO Installer” from the official downloads page at proxmox.com. Note the SHA256 checksum listed next to it.
- Verify the download (optional, but a good habit). In PowerShell, run
Get-FileHash .\proxmox-ve_*.iso -Algorithm SHA256from your Downloads folder and compare it to the checksum on the site. - Download Rufus from rufus.ie. The portable version runs without installing anything.
- Open Rufus and pick your USB drive under Device. Double-check it’s the right drive.
- Click SELECT and choose the Proxmox ISO. Leave the other settings alone.
- Click START. When Rufus asks how to write the image, choose DD Image mode. This is the step that trips people up. ISO mode can produce a USB stick that won’t boot the Proxmox installer.
- Boot the server from the USB. On a Dell, press F11 at startup for the boot menu and pick the USB drive. If the installer can’t see your disks, update the server’s firmware first, which is exactly what happened to me.
The installer walks you through the target disk, country and time zone, a root password and email, and the management network settings. Give the server a static IP or a DHCP reservation so it never moves. When it finishes, you manage everything from a browser at https://<server-ip>:8006.
For the techies: the commands I used
Here’s the code from the build, grouped by where you run it. Anything in angle brackets, like <proxmox-ip>, is a placeholder for your own value. Account names are examples, so pick your own. Read each block before you paste it.
1. Proxmox host: let Veeam connect without using root
Where: the Proxmox web UI, under your node > Shell, logged in as root.
What it’s for: Proxmox doesn’t include sudo, and Veeam needs it to manage the host with a non-root account. Switch to the free No-Subscription repository first (node > Updates > Repositories), or apt update fails without a paid subscription.
apt update && apt install sudo dmidecode -y
adduser <veeam-user>
usermod -aG sudo <veeam-user>
pveum acl modify / --users <veeam-user>@pam --roles Administrator
Full sudo is the quick route. For least privilege, Veeam KB4701 lists exactly which commands the account needs. Test it before adding the server in Veeam:
su - <veeam-user>
sudo /usr/sbin/dmidecode -s system-uuid
In Veeam, add the credential as the plain Linux username (no @pam) and check Elevate account privileges automatically.
2. Veeam VM: keep Veeam’s services from timing out at boot
Where: an elevated PowerShell window on the Windows VM running Veeam.
What it’s for: on a small VM, Veeam v13’s services can take longer than Windows waits for them. These give them five minutes and make them restart on failure. Reboot afterward.
reg add HKLM\SYSTEM\CurrentControlSet\Control /v ServicesPipeTimeout /t REG_DWORD /d 300000 /f
'VeeamBackupSvc','VeeamBackupRESTSvc','VeeamWebSvc' | ForEach-Object {
sc.exe failure $_ reset= 86400 actions= restart/180000/restart/180000/restart/180000
}
To see what happened at the last boot:
$boot = (Get-CimInstance Win32_OperatingSystem).LastBootUpTime
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Service Control Manager'; StartTime=$boot} |
Where-Object Message -like '*Veeam*' | Format-Table TimeCreated, Id, Message -Wrap
3. Synology NAS: power the server on through iDRAC
Where: an SSH session to the NAS (enable SSH under Control Panel > Terminal & SNMP), using a small container image with ipmitool installed in Container Manager.
What it’s for: the NAS stays on 24/7, so it sends the nightly power-on command to the server’s iDRAC over IPMI. Use a dedicated iDRAC account with Operator rights, not root.
Note: any machine that’s always on can send this command: a NAS, a Raspberry Pi, a small Linux VM on other hardware, or a Windows PC with ipmitool and a scheduled task. It just has to reach the server’s management port on the network. In my case I used a Synology DS1621+, running ipmitool in a Docker container through Container Manager, with a DSM scheduled task.
Store that account’s password in a file with no trailing newline, readable only by root:
sudo -i
printf '%s' 'YOUR-PASSWORD' > /volume1/docker/ipmi-power/idrac-password
chmod 600 /volume1/docker/ipmi-power/idrac-password
Check the server’s power state. Swap power status for power on to turn it on:
docker run --rm --network host \
-v /volume1/docker/ipmi-power/idrac-password:/run/idrac-password:ro \
<ipmi-image> -I lanplus -C 3 -H <idrac-ip> -U <idrac-user> -f /run/idrac-password chassis power status
One gotcha: if you run this through sudo, the first password prompt is sudo asking for your NAS password, not the iDRAC password. I lost time to that. For the schedule, the power-on command goes into a DSM Task Scheduler task that runs as root daily at 7:00 PM.
4. Proxmox host: an account that can only shut the server down
Where: the Proxmox shell as root.
What it’s for: the Veeam VM needs a way to tell the host to shut down when backups finish. This account can’t log in with a password, and its key can run exactly one command.
useradd -m -s /bin/bash <power-user> && passwd -l <power-user>
mkdir -p /home/<power-user>/.ssh && chmod 700 /home/<power-user>/.ssh
echo '<power-user> ALL=(root) NOPASSWD: /usr/sbin/shutdown' > /etc/sudoers.d/<power-user>
chmod 440 /etc/sudoers.d/<power-user> && visudo -c
Add the Veeam VM’s public key (step 5), locked to the shutdown command:
echo 'command="sudo /usr/sbin/shutdown -h +2",no-pty,no-port-forwarding <paste-public-key>' > /home/<power-user>/.ssh/authorized_keys
chown -R <power-user>:<power-user> /home/<power-user>/.ssh && chmod 600 /home/<power-user>/.ssh/authorized_keys
5. Veeam VM: the SSH key
Where: an elevated PowerShell window on the Veeam VM.
What it’s for: the key the shutdown script uses. Press Enter twice for no passphrase. Windows’ SSH client refuses keys that other users can read, hence the icacls line.
New-Item -ItemType Directory C:\ProgramData\BDR -Force
ssh-keygen -t ed25519 -f C:\ProgramData\BDR\shutdown_key
icacls C:\ProgramData\BDR\shutdown_key /inheritance:r /grant:r "Administrators:F" "SYSTEM:F"
Get-Content C:\ProgramData\BDR\shutdown_key.pub
6. Veeam VM: the shutdown script
Where: saved as C:\ProgramData\BDR\BDR-AutoShutdown.ps1 and run by Task Scheduler.
What it’s for: every 15 minutes during the night, it checks whether all of tonight’s Veeam jobs finished without failing. If they did, it uses the key to shut Proxmox down. If anything failed, the server stays on.
Veeam v13’s PowerShell module requires PowerShell 7.6, so this must run under pwsh.exe, not the built-in Windows PowerShell 5.1. Start with $DryRun = $true and check the log before letting it shut anything down.
$ProxmoxHost = '<proxmox-ip>'
$SshUser = '<power-user>'
$SshKey = 'C:\ProgramData\BDR\shutdown_key'
$PowerOnTime = '19:00'
$LogFile = 'C:\ProgramData\BDR\autoshutdown.log'
$DryRun = $true
function Write-Log($msg) { "$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss') $msg" | Add-Content -Path $LogFile }
# Only act between 7:30 PM and 6:00 AM
$now = Get-Date
if ($now.Hour -ge 6 -and $now.Hour -lt 19) { exit }
if ($now.Hour -eq 19 -and $now.Minute -lt 30) { exit }
$windowStart = Get-Date $PowerOnTime
if ($now.Hour -lt 12) { $windowStart = $windowStart.AddDays(-1) }
try {
Import-Module Veeam.Backup.PowerShell -ErrorAction Stop -WarningAction SilentlyContinue
Connect-VBRServer -Server localhost -ErrorAction Stop
} catch { Write-Log "Could not connect to Veeam: $($_.Exception.Message)"; exit }
try {
$jobs = Get-VBRJob -WarningAction SilentlyContinue | Where-Object { $_.IsScheduleEnabled }
if (-not $jobs) { Write-Log 'No enabled jobs found.'; exit }
$running = $jobs | Where-Object { $_.IsRunning }
if ($running) { Write-Log "Still running: $($running.Name -join ', ')"; exit }
$agentRunning = Get-VBRComputerBackupJobSession -ErrorAction SilentlyContinue |
Where-Object { $_.State -ne 'Stopped' -and $_.CreationTime -ge $windowStart }
if ($agentRunning) { Write-Log "Agent job still running: $($agentRunning.Name -join ', ')"; exit }
foreach ($job in $jobs) {
$s = $job.FindLastSession()
if (-not $s -or $s.CreationTime -lt $windowStart) { Write-Log "$($job.Name): no session tonight yet."; exit }
Write-Log "$($job.Name): started $($s.CreationTime), result $($s.Result)"
if ($s.Result -eq 'Failed') { Write-Log "$($job.Name): FAILED - leaving server on."; exit }
}
Write-Log 'All jobs finished - shutting down the Proxmox host.'
if (-not $DryRun) {
& ssh -i $SshKey -o BatchMode=yes -o StrictHostKeyChecking=accept-new "$SshUser@$ProxmoxHost"
Write-Log "ssh exit code: $LASTEXITCODE"
} else { Write-Log 'DryRun is on - no shutdown sent.' }
}
finally { Disconnect-VBRServer -ErrorAction SilentlyContinue }
7. Veeam VM: scheduling the script
Where: Task Scheduler > Create Task on the Veeam VM.
What it’s for: runs the check every 15 minutes overnight.
- General: run as an admin account, “Run whether user is logged on or not,” “Run with highest privileges.”
- Trigger: daily at 7:30 PM, repeat every 15 minutes for 12 hours, stop if it runs longer than 30 minutes.
- Action: Program
C:\Program Files\PowerShell\7\pwsh.exe, with arguments:
-NoProfile -ExecutionPolicy Bypass -File "C:\ProgramData\BDR\BDR-AutoShutdown.ps1"
In Proxmox, also set the Veeam VM’s shutdown timeout to 300 seconds and turn on Start at boot, so Windows has time to close cleanly and comes back up on its own every night.
8. Security basics before you call it done
A backup server holds a copy of everything, so it deserves at least as much protection as the systems it backs up. Two things I’d do on any build like this:
- Turn on two-factor authentication in Proxmox. In the web UI, go to Datacenter > Permissions > Two Factor, or your user menu > TFA, and add a TOTP authenticator app for every admin account. Keep the recovery keys somewhere safe. Accounts used only by automation, like Veeam’s, can’t answer a 2FA prompt, so give those the minimum permissions they need instead.
- Change the default password on the remote management controller. Whether it’s Dell iDRAC, HPE iLO, or another vendor’s tool that handles IPMI, factory credentials are widely published. Set a strong, unique password on the admin account, create separate limited accounts for automation like the power-on task, and keep the management interface off the public internet.