Uploaded October 2024 | Updated November 2026, 1 day ago
How To Optimize Proxmox Backups by Reducing The Backup FileSize
In this tutorial, I will show you how to Optimize Proxmox Backups by Reducing The Backup FileSize, this is done in two steps:
- First enabling the discard option in the hard disk options
- Second executing the fstrim command on the filesystem
If your storage supports thin provisioning (see the storage chapter in the Proxmox VE guide), you can activate the Discard option on a drive.
With Discard set and a TRIM-enabled guest OS, when the VMโs filesystem marks blocks as unused after deleting files, the controller will relay this information to the storage, which will then shrink the disk image accordingly.
For the guest to be able to issue TRIM commands, you must enable the Discard option on the drive. Some guest operating systems may also require the SSD Emulation flag to be set. Note that Discard on VirtIO Block drives is only supported on guests using Linux Kernel 5.0 or higher.
fstrim is used on a mounted filesystem to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. By default, fstrim will discard all unused blocks in the filesystem.
๐ธ Support channel & make donation :
paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
๐ธ Proxmox Backup Server Backup & Restore Operations
youtu.be/RSXrE8uBOEM
๐ธ How To Install and Configure Proxmox Backup Server
youtu.be/GLZz_dilpWE
๐ธ How To Lower The Power Use of Proxmox Server
youtu.be/FJiEeHmiiH0
๐ธ Proxmox Backup with Veeam Backup & Replication 12.2
youtu.be/NVQsE11MvN8
๐ธ Proxmox VE Helper Scripts
youtu.be/gRVSbqXejtk
๐ธ How To Migrate Windows Server VM from Hyper V to Proxmox VE
youtu.be/mREaCkIeu_Q
๐ธ How to migrate Hyper-v vhdx VM to Proxmox qcow2
youtu.be/CoUVh9mDqFA
๐ธ Proxmox Subscription and Update Repositories
youtu.be/OXyhDefrtPs
๐ธ Upgrading from Proxmox 8.1 to 8.2
youtu.be/XKvu-9C2mIQ
๐ธ How To Install Proxmox in VMware Workstation
youtu.be/tzrlZW5D0u8
๐ธHow To Setup a Local Git Server on Proxmox
youtu.be/yeE74Q3ZGMg
๐ธProxmox Useful CLI Commands
youtu.be/PNCF4QFItSo
๐ธProxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0
๐ธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
๐ธHow To Run TrueNAS on Proxmox VE Server
youtu.be/mpOgaymIL6o
๐ธProxmox Passthrough Disk Configuration
youtu.be/pPPPt5GPbvw
๐ธHow To Install OPNSense Firewall on Proxmox VE
youtu.be/XdoXGjVwkug
๐ธHow To Install Windows Server 2025 VM on Proxmox VE
youtu.be/ZiEopfr4E60
๐ธHow to Configure SDN Software Defined Network on Proxmox
youtu.be/EinV4FqvCHA
๐ธHow To Install Ubuntu 24.04 Noble Numbat on Proxmox VE
youtu.be/OuFgRe4POh4
๐ธ How To Upgrade Proxmox Host to version 8 .1
youtu.be/WLgnEIxeO2I
๐ธ Proxmox Protecting sensitive data with Ansible Vault
youtu.be/ApRplW4hBoU
๐ธ How to Deploy LXC Container in Proxmox with Ansible
youtu.be/XdozKMndWdo
๐ธ How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
๐ธ How to deploy VMs in Proxmox with Terraform
youtu.be/wkoMcVBqjuI
๐ธ How to Deploy LXC Container in Proxmox with Terraform
youtu.be/lA6ldI42fBc
๐ธ How To Create Proxmox Cloud-init Templates
hyoutu.be/3TH7fBUAIxk
๐ธ How to check ZFS File System Storage Pool on Proxmox
youtu.be/3mkP09SonD4
๐ธ How to Fix Proxmox PVE canโt create ZFS pool
youtu.be/JtHzV2TXs6M
๐ธ How to Rename Proxmox Node with Existing VMs & Containers
youtu.be/2NzLYKRVRtk
๐ธ How to take Snapshots and run Backups on Proxmox
youtu.be/98WDxmvTkwY
๐ธ How to Create Windows Server 2022 Virtual Machine on Proxmox
youtu.be/lBEwjt0ahhA
๐ธ How to Create Proxmox Linux Container
youtu.be/IfMPyttso68
๐ธ Troubleshooting Proxmox using Command Line Tools
youtu.be/RH8mlE-YXGY
๐ธ Proxmox Sizing CPU and Memory
youtu.be/R172TAWV9xY
๐ธ How to create a Proxmox Template
youtu.be/waswSpK8X_M
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY
๐ธ How to migrate a Virtual Machine from Proxmox to Vmware ESXI
youtu.be/wuKzNbDpkfg
***********************************************************************
#backup #pbs #proxmox
How To Optimize Proxmox Backups by Reducing The Backup FileSize
In this tutorial, I will show you how to Optimize Proxmox Backups by Reducing The Backup FileSize, this is done in two steps:
- First enabling the discard option in the hard disk options
- Second executing the fstrim command on the filesystem
If your storage supports thin provisioning (see the storage chapter in the Proxmox VE guide), you can activate the Discard option on a drive.
With Discard set and a TRIM-enabled guest OS, when the VMโs filesystem marks blocks as unused after deleting files, the controller will relay this information to the storage, which will then shrink the disk image accordingly.
For the guest to be able to issue TRIM commands, you must enable the Discard option on the drive. Some guest operating systems may also require the SSD Emulation flag to be set. Note that Discard on VirtIO Block drives is only supported on guests using Linux Kernel 5.0 or higher.
fstrim is used on a mounted filesystem to discard (or "trim") blocks which are not in use by the filesystem. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. By default, fstrim will discard all unused blocks in the filesystem.
๐ธ Support channel & make donation :
paypal.me/aminenina/10
๐ธ Subscribe for more videos :
Youtube: youtube.com/user/aminosninatos
๐ธ Follow me On Social Media
Facebook : facebook.com/aminosninatos
***********************************************************************
๐ธ Proxmox Backup Server Backup & Restore Operations
youtu.be/RSXrE8uBOEM
๐ธ How To Install and Configure Proxmox Backup Server
youtu.be/GLZz_dilpWE
๐ธ How To Lower The Power Use of Proxmox Server
youtu.be/FJiEeHmiiH0
๐ธ Proxmox Backup with Veeam Backup & Replication 12.2
youtu.be/NVQsE11MvN8
๐ธ Proxmox VE Helper Scripts
youtu.be/gRVSbqXejtk
๐ธ How To Migrate Windows Server VM from Hyper V to Proxmox VE
youtu.be/mREaCkIeu_Q
๐ธ How to migrate Hyper-v vhdx VM to Proxmox qcow2
youtu.be/CoUVh9mDqFA
๐ธ Proxmox Subscription and Update Repositories
youtu.be/OXyhDefrtPs
๐ธ Upgrading from Proxmox 8.1 to 8.2
youtu.be/XKvu-9C2mIQ
๐ธ How To Install Proxmox in VMware Workstation
youtu.be/tzrlZW5D0u8
๐ธHow To Setup a Local Git Server on Proxmox
youtu.be/yeE74Q3ZGMg
๐ธProxmox Useful CLI Commands
youtu.be/PNCF4QFItSo
๐ธProxmox Create a Firewall Rule Template
youtu.be/9rKA1KPFtS0
๐ธHow to Configure the Firewall on Proxmox
youtu.be/SnjBjU9irtg
๐ธHow To Run TrueNAS on Proxmox VE Server
youtu.be/mpOgaymIL6o
๐ธProxmox Passthrough Disk Configuration
youtu.be/pPPPt5GPbvw
๐ธHow To Install OPNSense Firewall on Proxmox VE
youtu.be/XdoXGjVwkug
๐ธHow To Install Windows Server 2025 VM on Proxmox VE
youtu.be/ZiEopfr4E60
๐ธHow to Configure SDN Software Defined Network on Proxmox
youtu.be/EinV4FqvCHA
๐ธHow To Install Ubuntu 24.04 Noble Numbat on Proxmox VE
youtu.be/OuFgRe4POh4
๐ธ How To Upgrade Proxmox Host to version 8 .1
youtu.be/WLgnEIxeO2I
๐ธ Proxmox Protecting sensitive data with Ansible Vault
youtu.be/ApRplW4hBoU
๐ธ How to Deploy LXC Container in Proxmox with Ansible
youtu.be/XdozKMndWdo
๐ธ How To Install Packages on Proxmox VM with Terraform
youtu.be/RRJrLTeU67Y
๐ธ How to deploy VMs in Proxmox with Terraform
youtu.be/wkoMcVBqjuI
๐ธ How to Deploy LXC Container in Proxmox with Terraform
youtu.be/lA6ldI42fBc
๐ธ How To Create Proxmox Cloud-init Templates
hyoutu.be/3TH7fBUAIxk
๐ธ How to check ZFS File System Storage Pool on Proxmox
youtu.be/3mkP09SonD4
๐ธ How to Fix Proxmox PVE canโt create ZFS pool
youtu.be/JtHzV2TXs6M
๐ธ How to Rename Proxmox Node with Existing VMs & Containers
youtu.be/2NzLYKRVRtk
๐ธ How to take Snapshots and run Backups on Proxmox
youtu.be/98WDxmvTkwY
๐ธ How to Create Windows Server 2022 Virtual Machine on Proxmox
youtu.be/lBEwjt0ahhA
๐ธ How to Create Proxmox Linux Container
youtu.be/IfMPyttso68
๐ธ Troubleshooting Proxmox using Command Line Tools
youtu.be/RH8mlE-YXGY
๐ธ Proxmox Sizing CPU and Memory
youtu.be/R172TAWV9xY
๐ธ How to create a Proxmox Template
youtu.be/waswSpK8X_M
๐ธ How to Install Proxmox QEMU Guest Agent on Ubuntu
youtu.be/ZpEYkA4C4jY
๐ธ How to migrate a Virtual Machine from Proxmox to Vmware ESXI
youtu.be/wuKzNbDpkfg
***********************************************************************
#backup #pbs #proxmox










