VBM Recreation failing after v8 upgrade

PowerShell script exchange

VBM Recreation failing after v8 upgrade

Veeam Logoby laurencebullivant » Sun Nov 30, 2014 12:42 am

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
laurencebullivant
Novice
 
Posts: 5
Liked: never
Joined: Wed Jun 25, 2014 10:51 am
Full Name: Laurence Bullivant

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby tsightler » Sun Nov 30, 2014 5:23 am

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.
tsightler
Veeam Software
 
Posts: 4772
Liked: 1740 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby laurencebullivant » Sun Nov 30, 2014 5:38 am

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.
laurencebullivant
Novice
 
Posts: 5
Liked: never
Joined: Wed Jun 25, 2014 10:51 am
Full Name: Laurence Bullivant

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby tsightler » Sun Nov 30, 2014 5:49 am

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.
tsightler
Veeam Software
 
Posts: 4772
Liked: 1740 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby laurencebullivant » Sun Nov 30, 2014 6:28 am

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.
laurencebullivant
Novice
 
Posts: 5
Liked: never
Joined: Wed Jun 25, 2014 10:51 am
Full Name: Laurence Bullivant

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby v.Eremin » Mon Dec 01, 2014 9:11 am

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.
v.Eremin
Veeam Software
 
Posts: 13293
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby blacktrainee » Tue Jan 06, 2015 1:51 pm

Hi Laurence,

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

Thanks
Serge
blacktrainee
Service Provider
 
Posts: 2
Liked: never
Joined: Tue Feb 12, 2013 1:26 pm
Location: Velbert, Deutschland
Full Name: Serge Remennik

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby darryl.crossley » Wed Jan 14, 2015 12:11 am

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: Wed Oct 03, 2012 1:18 am
Full Name: Darryl Crossley

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby darryl.crossley » Wed Jan 14, 2015 12:22 am

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?
darryl.crossley
Enthusiast
 
Posts: 48
Liked: 5 times
Joined: Wed Oct 03, 2012 1:18 am
Full Name: Darryl Crossley

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby andnym » Wed Feb 11, 2015 11:56 am

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?
andnym
Influencer
 
Posts: 10
Liked: 2 times
Joined: Wed Jul 13, 2011 8:04 am
Full Name: Anders Nyman

Re: VBM Recreation failing after v8 upgrade

Veeam Logoby v.Eremin » Mon Feb 16, 2015 3:36 pm

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.
v.Eremin
Veeam Software
 
Posts: 13293
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 9 guests