PowerShell script exchange
Post Reply
laurencebullivant
Novice
Posts: 5
Liked: never
Joined: Jun 25, 2014 10:51 am
Full Name: Laurence Bullivant
Contact:

VBM Recreation failing after v8 upgrade

Post by laurencebullivant »

I am trying to run a script to recreate the vbm file.

I have been using the method outlined at http://www.sys-pro.co.uk/blog/2014/manu ... epository/ to do this in the past.

However with the upgrade to v8 i now get an error:

Code: Select all

PS C:\Users\user> $Data = [Veeam.Backup.Core.CBackupMetaGenerator]::GenerateMeta($Backup)
Cannot find an overload for "GenerateMeta" and the argument count: "1".
At line:1 char:1
+ $Data = [Veeam.Backup.Core.CBackupMetaGenerator]::GenerateMeta($Backup)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodCountCouldNotFindBest

PS C:\Users\user>

Can you please advise what the new command should look like?

Thanks
-Laurence
tsightler
VP, Product Management
Posts: 6009
Liked: 2842 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by tsightler »

This was always an unsupported call and I'm not sure of the new one, however, can I ask why you need to create a new VBM file? I believe that v8 allows you to map to backups that don't have a VBM file so there's not a lot of reasons that a VBM would be required.
laurencebullivant
Novice
Posts: 5
Liked: never
Joined: Jun 25, 2014 10:51 am
Full Name: Laurence Bullivant
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by laurencebullivant »

I need this to be able to map backups after a folder move. Even in version 8 you don't seem to be able to map backups to an imported backup folder.
tsightler
VP, Product Management
Posts: 6009
Liked: 2842 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by tsightler »

Yeah, I realized after I typed that last post that it didn't make any sense. I guess that's what I get for trying to answer a post at 1AM. :oops:

So you don't have the original VBM? Unfortunately I don't know what the new backend call would be to force creation of a new VBM file from scratch.
laurencebullivant
Novice
Posts: 5
Liked: never
Joined: Jun 25, 2014 10:51 am
Full Name: Laurence Bullivant
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by laurencebullivant »

I have the original VBM's however i was trying to recreate them as i have two files from two different locations that i wanted recreated into one.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by veremin »

You mean two backup jobs that you want to merged? If so, why not to create a backup copy job selecting both backup jobs as a source for it and letting it run initial cycle. Once that operation is done, you will be able to create a new backup job and map to the resulting backup (created by the backup copy job). Thanks.
blacktrainee
Lurker
Posts: 2
Liked: never
Joined: Feb 12, 2013 1:26 pm
Full Name: Serge Remennik
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by blacktrainee »

Hi Laurence,

i'm getting same error.
Could you recreate your VBM ?

Thanks
Serge
darryl.crossley
Enthusiast
Posts: 48
Liked: 5 times
Joined: Oct 03, 2012 1:18 am
Full Name: Darryl Crossley
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by darryl.crossley »

Same issue for me too.

Recreating a VBM is something I've done on a number of occasions, especially when a VBM file has become corrupt. I've encountered a number of instances where this is the case using Windows deduplication in Server 2012. The actual backup files are 100% consistent, simply the VBM is corrupt. There must be a way to resolve this?
Running an active full is not an option due to
a). Backup repository space
b). Backup window
darryl.crossley
Enthusiast
Posts: 48
Liked: 5 times
Joined: Oct 03, 2012 1:18 am
Full Name: Darryl Crossley
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by darryl.crossley »

tsightler wrote:Yeah, I realized after I typed that last post that it didn't make any sense. I guess that's what I get for trying to answer a post at 1AM. :oops:
So you don't have the original VBM? Unfortunately I don't know what the new backend call would be to force creation of a new VBM file from scratch.
Tom, who do we need to speak to for us to figure this out?
andnym
Influencer
Posts: 10
Liked: 2 times
Joined: Jul 13, 2011 8:04 am
Full Name: Anders Nyman
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by andnym »

I got this problem when moving my repository to a different location. I have moved repository data serveral times without any problem, but this time i got an error during import. I figure that the vmb file has been corrupted since my individual vbk files can be imported.

However I need to remap the repository to the job but cannot do this if I just import the vbm files at it seems. I probably need the vbm to solve this.
Had I been running a previous version the script might have worked, but in v8 it isn't working anymore.

So Veeam, can we find a way to do this as it was possible to do with previous versions?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: VBM Recreation failing after v8 upgrade

Post by veremin »

So Veeam, can we find a way to do this as it was possible to do with previous versions?
Support team has a script to recreate .VBM file. So, open a ticket and request it. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests