Veeam B&R Connection problem via IPSec VPN

Try on backup client add a server IP in hosts table

 

Other reference

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam EndPoint Backup

https://www.veeam.com/kb2335

https://gist.github.com/vertigra/cb4d802cfe3548d9c92b9e2d87b25d66

 

Remark at 29/7/2022

最近發現可能因為Fortigate關係, 於兩邊hosts table增加內網IP就解決

Veeam veeam.backup.shell.exe e0434352

Faulting application name: veeam.backup.shell.exe, version: 10.0.1.4854, time stamp: 0x5f171f15
Faulting module name: KERNELBASE.dll, version: 10.0.14393.4350, time stamp: 0x606eafeb
Exception code: 0xe0434352
Fault offset: 0x0000000000034f38
Faulting process id: 0x1d5c
Faulting application start time: 0x01d7842d2cd217aa
Faulting application path: C:\Program Files\Veeam\Backup and Replication\Console\veeam.backup.shell.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 72de948c-6293-4f7a-86f6-8d87c1f85080
Faulting package full name:
Faulting package-relative application ID:

C:\Users\[YourUserName]\AppData\Local\Veeam_Software_Group_GmbH\veeam.backup.shell.exe_Url_hu1utqnj52thvmhrg5kie2bl15o22i22\10.0.0.0\
rename user.config

Veeam B&R restore Physical SQL cluster server to ESXi for UAT environment

This lab will use local disk for Quorum not share disk, and just restore 1 cluster hosts let SQL online

Remark: if we want to auto start cluster, we need to restore AD to UAT environment or using a script to start without quorum.

Export disk to VMDK

Our lab don’t need Q: and F:

We can found restored to our ESXi UAT environment

Add A new VM using existing disk

Delete default “Hard disk 1”, and add existing disk just restored.

Our phyical server using EFI bios

Power On windows and we can see the cluster can’t startup

Type below command to startup without Quorum disk

net.exe stop clussvc
net.exe start clussvc /forcequorum

Delete Cluster disk.

If we don’t delete it, we can’t let the disk online in “Disk Management”

Make the SQL data disk online

Reconfig the IP

Click “Start Role” to let SQL Server online

We can see SQL is Running now

But it can’t auto start after reboot server, we need to config Quorum

Delete the old one, because Quorum can’t online in local disk

Create a SMB share

This step need AD to authenticate

Veeam backup for Microsoft O365 remove unused user date & license

$org = Get-VBOOrganization -Name “xxx.onmicrosoft.com”
$User1 = Get-VBOLicensedUser -Organization $org -Name “myname@domain.com”
$User1

$repository = Get-VBORepository -Name “xxx Backup Repository”
$user = Get-VBOEntityData -Type User -Repository $repository -Name “myname@domain.com”
Remove-VBOEntityData -Repository $repository -User $user -Mailbox -ArchiveMailbox -OneDrive -Sites
#Y will accept the deleting of data

$org = Get-VBOOrganization -Name “xxx.onmicrosoft.com”
$licensedUser = Get-VBOLicensedUser -Organization $org -Name “myname@domain.com”
Remove-VBOLicensedUser -User $licensedUser

Veeam Backup for o365 Account Permission

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking

Get-ManagementRoleAssignment -Role “ApplicationImpersonation”
New-ManagementRoleAssignment –Role ApplicationImpersonation –User backup@xxx.com
Get-ManagementRoleAssignment -Role “ApplicationImpersonation”

Get-ManagementRoleAssignment -Role “View-Only Configuration”
New-ManagementRoleAssignment –Role “View-Only Configuration” –User backup@xxx.com
Get-ManagementRoleAssignment -Role “View-Only Configuration”

Get-ManagementRoleAssignment -Role “View-Only Recipients”
New-ManagementRoleAssignment –Role “View-Only Recipients” –User backup@xxx.com
Get-ManagementRoleAssignment -Role “View-Only Recipients”

Get-ManagementRoleAssignment -Role “Mailbox Search”
New-ManagementRoleAssignment –Role “Mailbox Search” –User backup@xxx.com
Get-ManagementRoleAssignment -Role “Mailbox Search”

Remove

Get-ManagementRoleAssignment -RoleAssignee “backup@xxx.com” -Role “ApplicationImpersonation” -RoleAssigneeType user | Remove-ManagementRoleAssignment

Get-ManagementRoleAssignment -RoleAssignee “backup@xxx.com” -Role “View-Only Configuration” -RoleAssigneeType user | Remove-ManagementRoleAssignment

Get-ManagementRoleAssignment -RoleAssignee “backup@xxx.com” -Role “View-Only Recipients” -RoleAssigneeType user | Remove-ManagementRoleAssignment

Get-ManagementRoleAssignment -RoleAssignee “backup@xxx.com” -Role “Mailbox Search” -RoleAssigneeType user | Remove-ManagementRoleAssignment

 

https://www.veeam.com/free-backup-microsoft-office-365.html?ad=menu-products

https://helpcenter.veeam.com/docs/vbo365/guide/permisisons_exchange.html?ver=40