-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Removing VMs from a backup
Occasionally I need to restore a restore point from tape. We have only just enough disk space to restore one, maybe two restore points, so I need to use them and delete them soon after.
I noticed that I can delete VMs from the restored restore points, but the vbk file remains the same size. I assume it merely marks the removed VMs as deleted. Is it possible to rewrite the vbk file so it's only the size required for the remaining VMs?
If I could do this then I could safely keep the restored restore points around a bit longer.
I noticed that I can delete VMs from the restored restore points, but the vbk file remains the same size. I assume it merely marks the removed VMs as deleted. Is it possible to rewrite the vbk file so it's only the size required for the remaining VMs?
If I could do this then I could safely keep the restored restore points around a bit longer.
-
- Product Manager
- Posts: 20282
- Liked: 2257 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Removing VMs from a backup
Nope, you cannot shrink restored backup file. Thanks.Is it possible to rewrite the vbk file so it's only the size required for the remaining VMs?
-
- Veeam Software
- Posts: 21070
- Liked: 2115 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Removing VMs from a backup
Peter, what kind of restore do you need to do? Just FYI, you can perform restore directly to infrastructure, without the need for staging repository.
-
- Veeam Software
- Posts: 4
- Liked: 1 time
- Joined: Apr 27, 2017 12:55 pm
- Full Name: Stefan Letinu
- Contact:
Re: Removing VMs from a backup
When Veeam Backup & Replication removes data for deleted VMs from regular backup chains, it does not free up space on the backup repository. It marks the space as available to be overwritten, and this space is overwritten during subsequent job sessions or the backup file compact operation.
When Veeam Backup & Replication removes data for deleted VMs from per-VM backup chains, it does not mark the space as available but deletes backup files since they contain data for 1 VM only.
When Veeam Backup & Replication removes data for deleted VMs from per-VM backup chains, it does not mark the space as available but deletes backup files since they contain data for 1 VM only.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Removing VMs from a backup
In this case we're doing an investigation, checking for presence of particular files, so we need to browse and compare the VM file system with other dates, not restore.foggy wrote:Peter, what kind of restore do you need to do? Just FYI, you can perform restore directly to infrastructure, without the need for staging repository.
-
- Service Provider
- Posts: 171
- Liked: 51 times
- Joined: Mar 11, 2016 7:41 pm
- Full Name: Cory Wallace
- Contact:
Re: Removing VMs from a backup
Just out of curiosity here, if you told Veeam to run a defrag and compact operation on the full backup file? When Veeam re-writes the vbk, will it remove the "empty space" marked as rewritable from the vbk? If so, then I imagine you can delete the VM data, then schedule a defrag and compact for the next day and reclaim some space.
-
- Veeam Software
- Posts: 21070
- Liked: 2115 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Removing VMs from a backup
Hi Cory, compact cannot be triggered separately from the job schedule, while in this case Peter restores backup files from the tape, so there's no job.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Removing VMs from a backup
So it's technically possible, but not available in the GUI? Can I suggest it as a new feature?
It could be available as an option to run any time on a vbk file, or optionally scheduled after a VM is deleted from it. It could also be an option when restoring a restore point from tape, to specify which VMs you want included in it, and the vbk file could be either built from those only as the data is read from tape, or fully restored then the rest removed, followed by compaction.
It could be available as an option to run any time on a vbk file, or optionally scheduled after a VM is deleted from it. It could also be an option when restoring a restore point from tape, to specify which VMs you want included in it, and the vbk file could be either built from those only as the data is read from tape, or fully restored then the rest removed, followed by compaction.
-
- Veeam Software
- Posts: 21070
- Liked: 2115 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Removing VMs from a backup
No, there's currently no such functionality. But we already have a dedicated thread requesting this, so your voice is counted.pshute wrote:So it's technically possible, but not available in the GUI? Can I suggest it as a new feature?
-
- Service Provider
- Posts: 171
- Liked: 51 times
- Joined: Mar 11, 2016 7:41 pm
- Full Name: Cory Wallace
- Contact:
Re: Removing VMs from a backup
I understand that, but what I'm saying is that if you have a compact operation scheduled from within the job options, the compact operation will in fact reclaim this space. Is that correct or am I mistaken?foggy wrote:Hi Cory, compact cannot be triggered separately from the job schedule, while in this case Peter restores backup files from the tape, so there's no job.
-
- Veeam Software
- Posts: 21070
- Liked: 2115 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Removing VMs from a backup
That is correct.
-
- Veteran
- Posts: 254
- Liked: 14 times
- Joined: Nov 23, 2015 10:56 pm
- Full Name: Peter Shute
- Contact:
Re: Removing VMs from a backup
Where's that thread, please?foggy wrote:No, there's currently no such functionality. But we already have a dedicated thread requesting this, so your voice is counted.
-
- Veeam Software
- Posts: 21070
- Liked: 2115 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Who is online
Users browsing this forum: No registered users and 57 guests