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
Veeam Software
Posts: 5877
Liked: 808 times
Joined: Sep 01, 2014 11:46 am
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: 3
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
Veeam Software
Posts: 5877
Liked: 808 times
Joined: Sep 01, 2014 11:46 am
Location: Austria
Contact:

Re: export backup in powershell

Post by HannesK »

Hello,
did you try Export-VBRRestorePoint ?

Best regards,
Hannes

veremin
Product Manager
Posts: 17777
Liked: 1626 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: 3
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: 443
Liked: 137 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: mzollmann and 7 guests