Hi all, apologies if this is a 'technical issue', I think it fits under the guidelines in the faq linked above.
We're running Veam B&R Enterprise, 10.0.1.4854.
We have 2 sites, each with ESXI hosts. Main site runs vCenter 7 Standard, smaller site is hooked into that same vCenter via ROBO.
Currently each site has a Veeam server backing up locally nightly, and replicating to the other site nightly.
We've recently also setup a scale out repository, and redid our backup jobs so vm's (forward incremental, weekly synthetic) are also backed up to Azure blob storage.
This past week I did a DR test, where I spun up a VM in Azure, installed Veeam, added the azure storage and compute accounts, imported backups, and was able to restore our VM's into Azure, and had them all up and running within a few hours. Worked great, love it.
I'm now looking to see if I can automate this. My thinking here is that this would provide another level of protection from Ransomware in the event someone gets onto our network, and into Veeam console (even with 2fa enabled), and deletes all our backups, including the Azure copies. If I had a weekly job running that was restoring critical VM's from Azure blob to azure compute, then even if the backups are deleted, I still have those restored machines which are at worst a week old. The O365/azure instance is separate from our onsite, so there shouldn't be anyway for an attacker to get at that azure instance, in theory.
With that background in place, I'm looking at the Veeam powershell commands and it seems like it's fairly straightforward to schedule restores to Azure. My question is, it seems like in Veeam when you import backups from Blob, there isn't a "refresh" command to see the latest backups. For example I did my import last week on the 17th, and went into Veeam a few days later, and those imported backups still showed the 17th, even though there were backups through the 20th. To get the most recent backups, I had to 'detach' the Azure blob repository, and then reattach it and import.
I'm not seeing equivalent commands in the powershell documentation, unless it's the Get-VBOObjectStorageRepository command.
Can anyone confirm if what I am trying to do is possible?
Thanks!
-
- Enthusiast
- Posts: 25
- Liked: 5 times
- Joined: Jul 31, 2012 3:45 am
- Full Name: Lee
- Contact:
-
- Enthusiast
- Posts: 25
- Liked: 5 times
- Joined: Jul 31, 2012 3:45 am
- Full Name: Lee
- Contact:
Re: Question on Veeam Azure Powershell
I found the answer to my question:
That works, my backups show up after a minute or so.
Code: Select all
$repository = Get-VBRObjectStorageRepository -Name "MyRespository"
UnMount-VBRObjectStorageRepository -Repository $repository -force
Mount-VBRObjectStorageRepository -Repository $repository
Rescan-VBREntity -AllRepositories
Who is online
Users browsing this forum: No registered users and 63 guests