Discussions specific to the VMware vSphere hypervisor
Post Reply
WinstonWolf
Expert
Posts: 190
Liked: 5 times
Joined: Jan 06, 2011 8:33 am
Contact:

How to clear the Job History in Veeam B&R 7

Post by WinstonWolf » Dec 08, 2013 10:17 am

Hello ,

Under Backup 6.5 i Clear the Job History from Powershell with the command :
Get-VBRBackupSession | %{$_.delete()}

BUT , it dosent work in Version 7 anymore :-(

Knows anyone the new command ?

Thanks

Gostev
SVP, Product Management
Posts: 24826
Liked: 3579 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: How to clear the Job History in Veeam B&R 7

Post by Gostev » Dec 08, 2013 5:39 pm

Hello,

You can reduce the amount of the sessions stored to a low value, and then it will prune the older records automatically, but you cannot remove the history completely. The ability to delete job history from PowerShell in version 6.5 was not intentional (bug). We do not allow deleting session history, as this prevents audit of the restore activities.

What is your use case for clearing the job history?

Thanks!

WinstonWolf
Expert
Posts: 190
Liked: 5 times
Joined: Jan 06, 2011 8:33 am
Contact:

Re: How to clear the Job History in Veeam B&R 7

Post by WinstonWolf » Dec 10, 2013 6:14 am

Hello ,

I have some bad configured jobs and therefore they failed .
I reconfigured the Jobs and the repositorys and i want to delete the Backup logs after this .

Thanks

Gostev
SVP, Product Management
Posts: 24826
Liked: 3579 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: How to clear the Job History in Veeam B&R 7

Post by Gostev » Dec 10, 2013 5:42 pm

Why do you really need to delete them? Just let them go away with retention. While I understand the desire to "clean things up", please consider other use cases as well.

The reason why we don't provide this functionality is compliance. Ability to delete the history of user activity within the data management system makes the systems non-complaint with the related compliance requirements, policies and laws in most developed countries. Which, in turn, makes the product unusable for every customer who is the subject to those. Because now, anyone can restore a sensitive file from a file server backup, and immediately hide this activity.

Reading back through this page, we never had this capability in the user interface, and had purposely disabled the "workaround" that was unintentionally introduced as a part of our PowerShell API development. Obviously, we would not have disabled a feature that is already implemented and works fine without really serious reasons... we are not enemies to ourselves ;)

burtos
Novice
Posts: 6
Liked: never
Joined: Dec 03, 2012 1:45 pm
Contact:

[MERGED] backup job history location within sql.

Post by burtos » Mar 11, 2014 9:38 am

Hi

Can anyone point me to the location within the sql database as to where the backup job history is located as i need to remove the entries within there.

foggy
Veeam Software
Posts: 18295
Liked: 1569 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: How to clear the Job History in Veeam B&R 7

Post by foggy » Mar 11, 2014 10:16 am

Generally, we neither support manual history cleanup nor manual interference with Veeam B&R database. Could you please elaborate on why do you need to remove them?

Post Reply

Who is online

Users browsing this forum: SLennon and 13 guests