PowerShell script exchange
Post Reply
Aggi
Service Provider
Posts: 4
Liked: never
Joined: Sep 20, 2012 11:22 am
Full Name: Agnar Arason
Contact:

export backup in powershell

Post by Aggi »

Hi,

Is there a powershell command that does the same as rightclicking on a backup in the GUI and selecting "Export Backup...", which creates a vbk file containing only that restore point of that VM ?
I thought that the command export-vbrbackup might do the same thing but it seems to copy the whole .vib file to another location

Thanks
HannesK
Product Manager
Posts: 14287
Liked: 2877 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: export backup in powershell

Post by HannesK »

Hello,
unfortunately not... the cmdlet sounds similar, but it is an old cmdlet. We are working on this, but I have no ETA yet.

Best regards,
Hannes
Aggi
Service Provider
Posts: 4
Liked: never
Joined: Sep 20, 2012 11:22 am
Full Name: Agnar Arason
Contact:

Re: export backup in powershell

Post by Aggi »

thank you for the quick answer.
I guess I'll do a lot of mouse-clicking then.

Aggi
JustinP
Novice
Posts: 7
Liked: 1 time
Joined: Apr 16, 2020 6:02 pm
Full Name: Justin Pauls
Contact:

Re: export backup in powershell

Post by JustinP »

Has there been any change in this?

We're looking to automate decom's and currently use the export backup function to grab the last version and disconnect that setting from the Job it was in.
HannesK
Product Manager
Posts: 14287
Liked: 2877 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: export backup in powershell

Post by HannesK »

Hello,
did you try Export-VBRRestorePoint ?

Best regards,
Hannes
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: export backup in powershell

Post by veremin »

Justin, do you need to export latest backup or latest job configuration? Thanks!
JustinP
Novice
Posts: 7
Liked: 1 time
Joined: Apr 16, 2020 6:02 pm
Full Name: Justin Pauls
Contact:

Re: export backup in powershell

Post by JustinP » 1 person likes this post

We were on 9.5u4 and that command wasn't available to us. We just upgraded to v10, so we're looking into that now.

Thanks!
oleg.feoktistov
Veeam Software
Posts: 1912
Liked: 635 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: export backup in powershell

Post by oleg.feoktistov »

To avoid further confusion in case somebody encounters this thread:

- Export-VBRBackup is an old cmdlet, which simply copies backups chosen to another folder. We consider it as a candidate for deprecation.
- Export-VBRRestorePoint is introduced in v10 to mirror Export Backup functionality from the UI.

Cheers!
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests