Removing restore points when VM no longer managed by a job

Discussions specific to VMware vSphere hypervisor

Removing restore points when VM no longer managed by a job

Veeam Logoby accf » Fri Jul 21, 2017 12:44 pm

I have an issue where VMs that are no longer managed by a job are retained in the backup set.

My jobs are structured with 1 job per datastore. When I perform Storage vMotion a different job will protect that VM.

It appears the previous job will expire restore points until it reaches the last remaining full backup, at this stage it appears to ignore it.

Normally I then delete the final remaining backup using the Veeam console, this isn’t ideal as it requires manual intervention. My preference would be for Veeam to automatically delete this data using the same criteria as for deleted VMs.

I have spoken with support regarding this (Case # 02251991). There appears to be some disconnect when using forward incremental backups. The “Limitations for Retention Policy for Deleted VMs” in the documentation appears to suggest a synthetic full is necessary for automatic deletions when using forward incremental backups. I don’t understand why an active full isn’t a suitable alternative.

How do I ensure a VM backup is automatically removed from a repository <N> days after it is no longer managed by a job? Is this a feature request? Or bug?

Points to note:
1. Backups are forward incremental, with a weekly active full
2. Jobs are configured to remove deleted VMs after 90 days
3. Repository is set to ‘User per-VM backup files’ as it is a deduplication appliance
accf
Novice
 
Posts: 3
Liked: never
Joined: Fri Mar 17, 2017 12:42 pm

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby DGrinev » Mon Jul 24, 2017 5:16 pm

Hi and welcome to the community!

It doesn't look like a normal behavior for the per-VM backup chain, we will investigate it further. Thanks!
DGrinev
Veeam Software
 
Posts: 1008
Liked: 105 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby DGrinev » Thu Jul 27, 2017 9:50 am 2 people like this post

Hi,

Confirmed as a bug thank you for the heads up, we will fix it in the next releases. Thanks!
DGrinev
Veeam Software
 
Posts: 1008
Liked: 105 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

[MERGED] Deleted Vm Repository Per-Vm

Veeam Logoby Stabz » Mon Jul 31, 2017 9:16 am

Hi,
I have a new question for you!

I have Incremental Backup Job with active full backup planed every Saturday, the destination is a repository with the option Per-vm enabled.

Recently, I removed from my Vmware infrastructure some Vms which were useless, to avoid any failed backup, I also removed the Vms from my backup job.

I noticed today that the deleted vms appear like this in the job : "vm is no longer processed by this job. Make sure this change is intentional"
I checked the repository and there are a full backup and some increment for this vms.

Is the option "remove deleted VMS data afeter" could help me to deleted this old files ?

Thanks
Philippe
Stabz
Enthusiast
 
Posts: 42
Liked: 1 time
Joined: Fri Apr 07, 2017 7:40 am
Full Name: Philippe DUPUIS

Re: Deleted Vm Repository Per-Vm

Veeam Logoby DGrinev » Mon Jul 31, 2017 12:29 pm

Hi Philippe,

In your scenario, it's not possible to automatically delete backups for VMs that has been removed from the job due to a known bug.
However, if you will switch to Synthetic fulls with subsequent transform, then retention policy for deleted VMs should work.

Please check this thread for additional information. Thanks!
DGrinev
Veeam Software
 
Posts: 1008
Liked: 105 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby Stabz » Mon Jul 31, 2017 1:47 pm

Hi DGrinev,

Thanks for the answer !

Ok I will take a look to switch to "synthetic fulls".

If I delete manually the files from the repository, is that possible to have any impact or its ok ?
Stabz
Enthusiast
 
Posts: 42
Liked: 1 time
Joined: Fri Apr 07, 2017 7:40 am
Full Name: Philippe DUPUIS

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby DGrinev » Mon Jul 31, 2017 5:14 pm

I'd recommend you to use built-in option called Deleting from Disk to be sure you've deleted the right files. Thanks!
DGrinev
Veeam Software
 
Posts: 1008
Liked: 105 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby accf » Mon Aug 21, 2017 1:46 pm

Great, thanks for looking into this.
accf
Novice
 
Posts: 3
Liked: never
Joined: Fri Mar 17, 2017 12:42 pm

[MERGED] Retention of deleted VMs with per-VM

Veeam Logoby mkretzer » Wed Feb 28, 2018 10:16 am

Hello,

Case 02599551.

We have the problem that with per-VM backup chains backups of VMs which were deleted stay in the backup repo indefinitely.

We do weekly synthetic fulls and monthly active fulls. Problem is that since we do not compact (which we do not want to do because of the active full) that there is simply no mechanism to remove these backups. That was also verified by Veeam support.

The question now is: does anyone already have a powershell script or something else to automatically delete these VM backups after the retention is over?

Markus
mkretzer
Expert
 
Posts: 386
Liked: 77 times
Joined: Thu Dec 17, 2015 7:17 am

Re: Retention of deleted VMs with per-VM

Veeam Logoby DGrinev » Wed Feb 28, 2018 3:37 pm

Hi Markus,

Please review this thread as it describes the workaround to enable deleted VMs functionality work. Thanks!
DGrinev
Veeam Software
 
Posts: 1008
Liked: 105 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby mkretzer » Tue Mar 06, 2018 10:59 am 1 person likes this post

Transform is not really a workaround as it would increase backup times significantly! I hope this will get fixed soon!
mkretzer
Expert
 
Posts: 386
Liked: 77 times
Joined: Thu Dec 17, 2015 7:17 am

Re: Removing restore points when VM no longer managed by a j

Veeam Logoby DGrinev » Wed Mar 07, 2018 4:54 pm

Hi,

We have a private patch that you can obtain by raising a support ticket, it should fix the issue. Thanks!
DGrinev
Veeam Software
 
Posts: 1008
Liked: 105 times
Joined: Thu Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev


Return to VMware vSphere



Who is online

Users browsing this forum: No registered users and 32 guests