Friday, November 28GNOME IT SOLUTIONS LLC

How to Back Up Proxmox to NAS (Step-by-Step Complete Guide)

Backing up your Proxmox VE server to a NAS (Network Attached Storage) is essential for data protection, disaster recovery, and business continuity. This guide explains multiple reliable methods to back up Proxmox VMs, containers, and configuration files to a NAS—without using images, making it ideal for documentation or clean blog publishing.


Why Back Up Proxmox to a NAS?

  • Centralized storage for backups
  • Protection against host failure
  • Easy restore to same or another Proxmox node
  • Cost-effective compared to cloud backups
  • Works with NFS, SMB/CIFS, or iSCSI

Supported NAS Protocols in Proxmox

Proxmox supports the following NAS types:

  • NFS (Recommended)
  • SMB / CIFS
  • iSCSI (advanced use)
  • Proxmox Backup Server (PBS) (best option if available)

Method 1: Back Up Proxmox to NAS Using NFS (Recommended)

Step 1: Configure NFS on NAS

On your NAS:

  • Create a shared folder (example: /proxmox-backups)
  • Enable NFS access
  • Allow Proxmox IP
  • Set read/write permission

Step 2: Add NFS Storage in Proxmox

  1. Log in to Proxmox Web UI
  2. Go to Datacenter → Storage → Add → NFS
  3. Enter:
    • ID: nas-backup
    • Server: NAS IP
    • Export: /proxmox-backups
    • Content: VZDump backup file
  4. Save

Verify status:

pvesm status

Step 3: Run Backup

Manual backup:

  1. Select a VM or CT
  2. Click Backup
  3. Choose Storage: nas-backup
  4. Mode: Snapshot
  5. Start

CLI backup:

vzdump 101 --storage nas-backup --mode snapshot

Method 2: Back Up Proxmox to NAS Using SMB / CIFS

Step 1: Enable SMB on NAS

  • Create user and password
  • Create shared folder
  • Allow Proxmox host access

Step 2: Add CIFS Storage in Proxmox

Datacenter → Storage → Add → CIFS

  • ID: nas-smb
  • Server: NAS IP
  • Share: backup
  • Username / Password
  • Content: VZDump backup file

Test:

mount | grep cifs

Method 3: Automated Scheduled Backups to NAS

Configure Backup Job

  1. Go to Datacenter → Backup
  2. Click Add
  3. Select:
    • Storage: NAS storage
    • Schedule: Daily / Weekly
    • Mode: Snapshot
    • Retention: Keep last 7
  4. Save

Method 4: Back Up Proxmox Using Proxmox Backup Server (Best Practice)

If you have another machine or NAS capable of running PBS:

Why PBS?

  • Deduplication
  • Compression
  • Incremental backups
  • Encryption
  • Faster restore

Steps:

  1. Install Proxmox Backup Server
  2. Create datastore on NAS mount
  3. Add PBS in Proxmox as backup target
  4. Schedule backups

Back Up Proxmox Configuration Files (Important)

Backup system configuration manually:

tar czvf /mnt/nas/proxmox-config-$(date +%F).tar.gz \
/etc/pve \
/etc/network/interfaces \
/etc/hosts \
/etc/resolv.conf

Restore VM from NAS Backup

From Web UI:

  1. Go to Storage → Backups
  2. Select backup
  3. Click Restore
  4. Choose target node

CLI:

qmrestore /mnt/pve/nas-backup/dump/vzdump-qemu-101.vma.zst 101

Best Practices

  • Use NFS for best compatibility
  • Store backups on separate hardware
  • Enable email notifications
  • Test restore quarterly
  • Keep off-site copy if possible
  • Enable retention pruning

Common Issues & Fixes

IssueSolution
NAS disconnectCheck NFS permissions and firewall
Backup slowUse compression zstd
VM lock errorUse stop-mode backup
Permission deniedVerify UID/GID mapping