Host-based backup of VMware vSphere VMs.
Post Reply
accf
Novice
Posts: 3
Liked: never
Joined: Mar 17, 2017 12:42 pm
Contact:

Removing restore points when VM no longer managed by a job

Post by accf »

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
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

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

Post by DGrinev »

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
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

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

Post by DGrinev » 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!
Stabz
Veeam Legend
Posts: 113
Liked: 7 times
Joined: Apr 07, 2017 7:40 am
Full Name: Philippe DUPUIS
Contact:

[MERGED] Deleted Vm Repository Per-Vm

Post by Stabz »

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
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: Deleted Vm Repository Per-Vm

Post by DGrinev »

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!
Stabz
Veeam Legend
Posts: 113
Liked: 7 times
Joined: Apr 07, 2017 7:40 am
Full Name: Philippe DUPUIS
Contact:

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

Post by Stabz »

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 ?
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

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

Post by DGrinev »

I'd recommend you to use built-in option called Deleting from Disk to be sure you've deleted the right files. Thanks!
accf
Novice
Posts: 3
Liked: never
Joined: Mar 17, 2017 12:42 pm
Contact:

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

Post by accf »

Great, thanks for looking into this.
mkretzer
Veeam Legend
Posts: 1140
Liked: 387 times
Joined: Dec 17, 2015 7:17 am
Contact:

[MERGED] Retention of deleted VMs with per-VM

Post by mkretzer »

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
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

Re: Retention of deleted VMs with per-VM

Post by DGrinev »

Hi Markus,

Please review this thread as it describes the workaround to enable deleted VMs functionality work. Thanks!
mkretzer
Veeam Legend
Posts: 1140
Liked: 387 times
Joined: Dec 17, 2015 7:17 am
Contact:

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

Post by mkretzer » 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!
DGrinev
Veteran
Posts: 1943
Liked: 247 times
Joined: Dec 01, 2016 3:49 pm
Full Name: Dmitry Grinev
Location: St.Petersburg
Contact:

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

Post by DGrinev »

Hi,

We have a private patch that you can obtain by raising a support ticket, it should fix the issue. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests