Storage and BackupBackup PlatformsIntermediate2-3 hoursLab build

Build a Proxmox Backup Server Lab with Retention Policies and Monthly Recovery Drills

Build a Proxmox Backup Server lab with retention policy, backup job evidence, and a monthly restore drill so recovery confidence comes from tested restores.

Last reviewed4/30/2026
Proxmox Backup ServerWindows share backup audits
Proxmox Backup ServerLinuxCron

Expected Outcome

A fully functional Proxmox Backup Server configured with retention policies and a scheduled plan for monthly recovery drills.

Assumptions

  • Basic understanding of Linux command line
  • Access to a Proxmox VE environment
  • A dedicated server or virtual machine for the Proxmox Backup Server

Bill of Materials

  • Proxmox Backup Server ISO
  • Sufficient storage for backups
  • Network access to Proxmox VE

Build Steps

  1. Install Proxmox Backup Server

    Download the Proxmox Backup Server ISO and install it on your dedicated server or virtual machine.

    Example pattern only. Adjust for your environment before running.

    wget https://downloads.proxmox.com/iso/pbs/Proxmox-Backup-Server_2.4-1.iso
    dd if=Proxmox-Backup-Server_2.4-1.iso of=/dev/sdX bs=4M status=progress
    reboot
  2. Configure Proxmox Backup Server

    Access the Proxmox Backup Server web interface and configure your storage settings.

    Example pattern only. Adjust for your environment before running.

    https://<your-backup-server-ip>:8007
  3. Set Up Retention Policies

    Define retention policies to manage backup data and optimize storage usage.

    Example pattern only. Adjust for your environment before running.

    pbs-cli datastore create <datastore-name>
    pbs-cli retention set <datastore-name> --keep-last 5 --keep-daily 7 --keep-weekly 4 --keep-monthly 12
  4. Schedule Monthly Recovery Drills

    Create a cron job to automate the monthly recovery drills to ensure backups are valid.

    Example pattern only. Adjust for your environment before running.

    echo '0 1 1 * * pbs-cli restore <backup-id> <target-path>' | crontab -
  5. Run a manual restore validation

    Before trusting the schedule, restore a small test backup to an isolated target and confirm the restored files or VM data are readable.

    Example pattern only. Adjust for your environment before running.

    proxmox-backup-client snapshots --repository <user>@pbs@<pbs-host>:<datastore-name>
    mkdir -p /tmp/pbs-restore-test
    proxmox-backup-client restore <snapshot-id> <archive-name> /tmp/pbs-restore-test --repository <user>@pbs@<pbs-host>:<datastore-name>
  6. Record retention and restore evidence

    Capture the configured retention policy, latest backup timestamp, and restore test result in your backup operations notes.

    Example pattern only. Adjust for your environment before running.

    date -Iseconds
    du -sh /tmp/pbs-restore-test

Validation

  • Check the backup status in the Proxmox Backup Server web interface.
  • Perform a test restore from the backup to verify integrity.

Troubleshooting

  • If backups fail, check network connectivity and storage availability.
  • Review the Proxmox Backup Server logs for error messages.

Cleanup or Rollback

  • Remove any unnecessary backups after validation.
  • rm -rf /tmp/pbs-restore-test
  • Remove temporary restore drill targets after evidence is captured.
  • Ensure that the retention policies are correctly applied.

Next Improvements

  • Integrate backup solutions for other environments, such as Windows shares.
  • Consider implementing additional monitoring for backup health.