Host-based backup of VMware vSphere VMs.
Post Reply
nhiorns
Novice
Posts: 5
Liked: never
Joined: Sep 30, 2014 10:58 am
Full Name: Neil Hiorns

Pruning Backups for non-existant servers

Post by nhiorns »

Is there an automatic way to prune backups of servers that no longer exist?

We had a file server and this was migrated to a new file server (new name and OS). The old file server has been deleted but we still need to keep the contents for 2 years, however, as the server no longer exists it is not in the backup and so its backup files are no longer being pruned once it is greater than 2 years in age.

Is there a way to do this automatically or does it need to be done manually?
Mildur
Product Manager
Posts: 9846
Liked: 2604 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Pruning Backups for non-existant servers

Post by Mildur »

Yes, you need todo a Veeam Backup File Compact Operation. Veeam will recreate the vbk file without the old deleted backup data blocks.

https://helpcenter.veeam.com/docs/backu ... ml?ver=100
Removal of Deleted VMs Data

During the compact operation, Veeam Backup & Replication does not copy all data blocks from the VBK file to the newly created file. It copies only data blocks of VMs whose information is stored in the configuration database. For example, if the VM is removed from the backup job, its data is not copied to the new full backup file. This approach helps reduce the size of the full backup file and remove unnecessary data from it.
Product Management Analyst @ Veeam Software
Dima P.
Product Manager
Posts: 14716
Liked: 1702 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Pruning Backups for non-existant servers

Post by Dima P. »

Hello Neil,

You can enable the retention for the deleted items in the vm backup jobs (for agents it's possible as well). Such retention will force the job to remove the backup files for the deleted VMs. Cheers!
Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests