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


Remark at 29/7/2022

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

Veeam e0434352

Faulting application name:, version:, 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\
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 72de948c-6293-4f7a-86f6-8d87c1f85080
Faulting package full name:
Faulting package-relative application ID:

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 ""
$User1 = Get-VBOLicensedUser -Organization $org -Name ""

$repository = Get-VBORepository -Name "xxx Backup Repository"
$user = Get-VBOEntityData -Type User -Repository $repository -Name ""
Remove-VBOEntityData -Repository $repository -User $user -Mailbox -ArchiveMailbox -OneDrive -Sites
#Y will accept the deleting of data

$org = Get-VBOOrganization -Name ""
$licensedUser = Get-VBOLicensedUser -Organization $org -Name ""
Remove-VBOLicensedUser -User $licensedUser

Veeam Backup for o365 Account Permission

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking

Get-ManagementRoleAssignment -Role "ApplicationImpersonation"
New-ManagementRoleAssignment –Role ApplicationImpersonation –User
Get-ManagementRoleAssignment -Role "ApplicationImpersonation"

Get-ManagementRoleAssignment -Role "View-Only Configuration"
New-ManagementRoleAssignment –Role "View-Only Configuration" –User
Get-ManagementRoleAssignment -Role "View-Only Configuration"

Get-ManagementRoleAssignment -Role "View-Only Recipients"
New-ManagementRoleAssignment –Role "View-Only Recipients" –User
Get-ManagementRoleAssignment -Role "View-Only Recipients"

Get-ManagementRoleAssignment -Role "Mailbox Search"
New-ManagementRoleAssignment –Role "Mailbox Search" –User
Get-ManagementRoleAssignment -Role "Mailbox Search"


Get-ManagementRoleAssignment -RoleAssignee "" -Role "ApplicationImpersonation" -RoleAssigneeType user | Remove-ManagementRoleAssignment

Get-ManagementRoleAssignment -RoleAssignee "" -Role "View-Only Configuration" -RoleAssigneeType user | Remove-ManagementRoleAssignment

Get-ManagementRoleAssignment -RoleAssignee "" -Role "View-Only Recipients" -RoleAssigneeType user | Remove-ManagementRoleAssignment

Get-ManagementRoleAssignment -RoleAssignee "" -Role "Mailbox Search" -RoleAssigneeType user | Remove-ManagementRoleAssignment