Run Import VBRBackup command and specify encryption password

PowerShell script exchange

Run Import VBRBackup command and specify encryption password

Veeam Logoby jed-hyper » Mon Jan 11, 2016 1:45 am

I'm trying to run this command
Code: Select all
Get-VBRServer | where {$_.Type -eq 'HvServer'} | Import-VBRBackup –FileName 'Y:\Veeam_Backups\BackupJob\BackupJob.vbm'

But when i run that command a dialog box appears with this message
'Backup is encrypted and will appear under Encrypted backups node until a valid password is supplied'
How can i run the Import VBRBackup command and specify encryption password?
jed-hyper
Enthusiast
 
Posts: 33
Liked: 4 times
Joined: Wed Feb 26, 2014 4:42 am
Full Name: Jed Parkes

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby v.Eremin » Mon Jan 11, 2016 10:12 am

Currently, it is not possible via PS. So, it's still going to be two-step operation:

1) Import backup files via PS.
2) Decrypt backup files via GUI.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13525
Liked: 1002 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby jed-hyper » Mon Jan 11, 2016 10:37 pm

Thanks for getting back to me so quick.
I need to be able to do this via powershell.
Is this option going to be added in a future release?
jed-hyper
Enthusiast
 
Posts: 33
Liked: 4 times
Joined: Wed Feb 26, 2014 4:42 am
Full Name: Jed Parkes

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby v.Eremin » Tue Jan 12, 2016 10:05 am

Can't provide any comments regarding future versions. But Import-VBRBackup commandlet has been implemented at the time when no VB&R encryption existed, so, it's not that trivial to make it conceive encryption or work with encryption keys.

Anyway, thank you for the feedback; highly appreciated!
v.Eremin
Veeam Software
 
Posts: 13525
Liked: 1002 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby jed-hyper » Tue Jan 12, 2016 8:35 pm

Umm not 100% sure what you are asking?
I'm running the latest version of Veeam Backup & Replication 8.0.0.2084
I want to be able to run the Import-VBRBackup command and specify my encryption password so that i can automation a guest file (windows) restore.
I am curious if this option is going to be available in a future release of Veeam?
jed-hyper
Enthusiast
 
Posts: 33
Liked: 4 times
Joined: Wed Feb 26, 2014 4:42 am
Full Name: Jed Parkes

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby v.Eremin » Tue Jan 12, 2016 10:26 pm

Actually, I haven't asked anything, I just pointed out that I can't comment on future versions of our product at that moment.

What you're asking is not currently possible, and I've tried to give you some general explanation why it cannot be implemented immediately.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13525
Liked: 1002 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby jed-hyper » Tue Jan 12, 2016 10:28 pm

ah ok, i'll just have to wait and see what happens then?
Is there somewhere where i should put a feature request?
jed-hyper
Enthusiast
 
Posts: 33
Liked: 4 times
Joined: Wed Feb 26, 2014 4:42 am
Full Name: Jed Parkes

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby v.Eremin » Tue Jan 12, 2016 10:42 pm

It's definitely not possible in version 9. Plans for next updates/versions are yet to be determined.

You've already put a feature request by posting on these forums. :)
v.Eremin
Veeam Software
 
Posts: 13525
Liked: 1002 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby Kyrowire » Mon Apr 25, 2016 8:46 pm

I would like to second this feature request.
Kyrowire
Service Provider
 
Posts: 23
Liked: 3 times
Joined: Tue Jul 29, 2014 9:40 am
Location: Auckland, New Zealand

[MERGED] Specify password

Veeam Logoby wpeeters » Tue Aug 16, 2016 3:49 pm

An imported encrypted backup needs a password to move to the available backups.
-->Move from "Disk (encrypted)" to "Disk (imported)".
This functionality is not available in Power Shell.
Case # 01881583
wpeeters
Lurker
 
Posts: 1
Liked: never
Joined: Mon Feb 29, 2016 7:07 am
Location: Belgium
Full Name: Wouter Peeters

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby v.Eremin » Tue Aug 16, 2016 3:59 pm

As mentioned above, the given functionality does not exist in PowerShell at the moment. Thank you for the feedback, though; appreciated.
v.Eremin
Veeam Software
 
Posts: 13525
Liked: 1002 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby jed-hyper » Tue Jun 06, 2017 2:22 am

In version 9.5 i can now use
Set-VBREncryptedBackupPassword
https://helpcenter.veeam.com/docs/backu ... tml?ver=95
Which is working great.
I have another issue now though
If i import a backup but DO NOT do the specify password step then it is listed in Veeam under backups as 'Disk (encrypted)'
I can't find a way with powershell to remove that backup without first unencrypting it.
This command does not work
Get-VBRImportedEncryptedBackup | Remove-VBRBackup -Confirm:$False
jed-hyper
Enthusiast
 
Posts: 33
Liked: 4 times
Joined: Wed Feb 26, 2014 4:42 am
Full Name: Jed Parkes

Re: Run Import VBRBackup command and specify encryption pass

Veeam Logoby v.Eremin » Mon Jun 19, 2017 3:54 pm

Looks like a bug; we will investigate it further. Thanks for letting us know.
v.Eremin
Veeam Software
 
Posts: 13525
Liked: 1002 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 2 guests