Exclude Attached HDD from Proxmox Backup of VM

vawaver

Member
Nov 14, 2020
21
2
23
51
Hello,
I would like to ask for advice regarding backup settings on my home Proxmox server. I am using Proxmox Virtual Environment 8.3.1 Free Edition.

Hardware Setup

  1. 4 TB NVMe disk:
    • Hosts Proxmox and several virtual machines (VMs).
  2. 2 TB HDD:
    • Attached as a separate disk to VM01 for storing multimedia files.
  3. 4 TB HDD:
    • Used to store Proxmox backups of VMs from the NVMe disk.

Software Environment

  • Operating system on all VMs: Ubuntu Server 24.04 LTS.
Problem Description
I have VM01 to which I added a 2 TB HDD as a separate disk. The steps I followed were:
  1. Added the 2 TB HDD to Proxmox.
  2. Attached the 2 TB HDD to VM01 using the Hardware tab in Proxmox.
  3. Mounted the 2 TB HDD inside VM01 to the directory /mnt/media.
The disk works correctly, and VM01 has full access to it.

Issue:
When I initiate a backup of VM01, the backup process includes the attached 2 TB HDD. However, I do not want this disk to be part of the backup since it is used only for storing multimedia files.

Questions
  1. How to exclude the 2 TB HDD from the VM01 backup?
    I need a way to configure Proxmox to ensure this disk is not included in the backup process.
  2. Is this the correct way to attach the disk to a VM?
    Should I be using a different approach to attach the disk, one that allows better control over which parts of the VM are included in the backup?
I would appreciate any advice or recommendations to solve this issue.
Looking forward to your responses.




Let me know if further adjustments are needed!
 
I'm not completely clear as to how you added that 2TB disk to VM01.
Could you provide the config for VM01 with output (in code-tags) of:
Code:
qm config <VMID>

 # replacing <VMID> with the actual ID number of VM01
 
simple set backup to 0 on that disk (check box when you edit the disk on the UI)
 

Problem Solved as Follows:

  1. Access VM01 (103 in my case) Settings:
    • In Proxmox, select VM01.
    • Navigate to the Hardware tab.
  2. Select the 2 TB HDD:
    • From the hardware list, select the 2 TB HDD attached to the VM.
  3. Change Disk Settings:
    • Click on Advanced.
    • Disable the Backup option.
  4. Result:
    • Disabling the Backup option ensures that the 2 TB HDD will not be included in the Proxmox backups of VM01 (103 in my case).

Attachment:

I have included an attachment for better illustration of the process.

2tbdisk_nobackup.png
 
  • Like
Reactions: UdoB

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!