Move-VBOEntityData - Veeam Backup for Microsoft Office 365 PowerShell Reference
Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
PowerShell Reference

Move-VBOEntityData

Short Description

Moves an organization entity data from one repository to another.

Syntax

This cmdlet provides 3 parameter sets.

  • For moving of an organization user data:

Move-VBOEntityData -From <VBORepository> -To <VBORepository> -User <VBOUserData> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [-WhatIf] [-Confirm]  [<CommonParameters>]

  • For moving of an organization group data:

Move-VBOEntityData -From <VBORepository> -To <VBORepository> -Group <VBOGroupData> [-Mailbox] [-ArchiveMailbox] [-OneDrive] [-Sites] [-GroupMailbox] [-GroupSite] [-WhatIf] [-Confirm]  [<CommonParameters>]

  • For moving of an organization site data:

Move-VBOEntityData -From <VBORepository> -To <VBORepository> -Site <VBOSiteData> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet allows to move the organization entities data from one repository to another.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

From

Specifies the original location of the entity backed up data.

True

Named

False

False

To

Specifies the target location for the entity backed up data.

True

Named

False

False

User

Specifies the organization user entity.

True

Named

True (ByValue)

False

Mailbox

Indicates that this cmdlet will move the entity mailbox data.

False

Named

False

False

ArchiveMailbox

Indicates that this cmdlet will move the entity archive mailbox data.

False

Named

False

False

OneDrive

Indicates that this cmdlet will move the entity OneDrive data.

False

Named

False

False

Sites

Indicates that this cmdlet will move the entity sites data.

False

Named

False

False

WhatIf

Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

False

Named

False

False

Confirm

Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

False

Named

False

False

Group

Specifies the organization group entity.

True

Named

True (ByValue)

False

GroupMailbox

Indicates that this cmdlet will move the organization group mailbox data.

False

Named

False

False

GroupSite

Indicates that this cmdlet will move the organization group site data.

False

Named

False

False

Site

Specifies the organization site entity.

True

Named

True (ByValue)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This example shows how to move data of a user with a name "Chuck Brown" from one repository to another.

You will need to perform the following steps:

  1. Run Get-VBORepository with a Name parameter to get the source repository. Save the result to the $repository variable.
  2. Run Get-VBORepository with a Name parameter to get the destination repository. Save result to the $destination variable
  3. Run Get-VBOEntityData with a Name parameter and a $repository variable. Save result to the $user variable.
  4. Run Move-VBOEntityData with the $repository, $destination and $user variables and Mailbox, ArchiveMailbox, OneDrive and Sites parameters to move the corresponding data to the specified repository.

PS C:\PS> $repository = Get-VBORepository -Name "ABC Daily Backup"

PS C:\PS> $destination = Get-VBORepository -Name "support_north"

PS C:\PS> $user = Get-VBOEntityData -Type User -Repository $repository -Name "Chuck Brown"

PS C:\PS> Move-VBOEntityData -From $repository -To $destination -User $user -Mailbox -ArchiveMailbox -OneDrive -Sites

Example 2

This example shows how to move data of an organization group with a name "support" from one repository to another.

You will need to perform the following steps:

  1. Run Get-VBORepository with a Name parameter to get the source repository. Save the result to the $repository variable.
  2. Run Get-VBORepository with a Name parameter to get the destination repository. Save result to the $destination variable
  3. Run Get-VBOEntityData with a Name parameter and a $repository variable. Save result to the $group variable.
  4. Run Move-VBOEntityData with the $repository, $destination and $group variables and Mailbox, ArchiveMailbox, OneDrive, Sites, GroupMailbox and GroupSite parameters to move the corresponding data to the specified repository.

PS C:\PS> $repository = Get-VBORepository -Name "ABC Daily Backup"

PS C:\PS> $destination = Get-VBORepository -Name "support_north"

PS C:\PS> $group = Get-VBOEntityData -Type Group -Repository $repository -Name "support"

PS C:\PS> Move-VBOEntityData -From $repository -To $destination -Group $group -Mailbox -ArchiveMailbox -OneDrive -Sites -GroupMailbox -GroupSite

Example 3

This example shows how to move data of an organization site with a name "support" from one repository to another.

You will need to perform the following steps:

  1. Run Get-VBORepository with a Name parameter to get the source repository. Save the result to the $repository variable.
  2. Run Get-VBORepository with a Name parameter to get the destination repository. Save result to the $destination variable
  3. Run Get-VBOEntityData with a Name parameter and a $repository variable. Save result to the $site variable.
  4. Run Move-VBOEntityData with the $repository, $destination and $group variables and Mailbox, ArchiveMailbox, OneDrive, Sites, GroupMailbox and GroupSite parameters to move the corresponding data to the specified repository.

PS C:\PS> $repository = Get-VBORepository -Name "ABC Daily Backup"

PS C:\PS> $destination = Get-VBORepository -Name "support_north"

PS C:\PS> $group = Get-VBOEntityData -Type Site -Repository $repository -Name "support"

PS C:\PS> Move-VBOEntityData -From $repository -To $destination -Site $site

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference