Moving Tenant Backups to Another Cloud Repository
The SP may need to move tenant data to another cloud repository, for example, if the initial cloud repository is running out of space.
There are two scenarios of moving tenant data:
- Scenario 1: replacing the cloud repository. The SP may want to replace the initial cloud repository with a new cloud repository, for example, with a cloud repository that has more storage capacity. This scenario does not require any actions on the tenant side.
- Scenario 2: adding a new cloud repository. The SP may want to configure a new cloud repository in addition to the initial cloud repository and move tenant data to it. This scenario requires additional actions on the tenant side.
Consider the following:
- This section describes procedures of moving tenant data between regular, or simple, backup repositories used as cloud repositories. To operations that involve scale-out backup repositories, the following limitations apply:
- You can move tenant backups to a cloud repository that has a scale-out backup repository as a back end with Microsoft PowerShell cmdlet only. To learn more, see the Switch-VBRCloudTenantsQuotaRepositoryToSOBR section in the Veeam PowerShell Reference.
This contrasts with the same scenario in previous versions of Veeam Backup & Replication, which required you to contact Veeam Customer Support.
- You cannot move tenant data to a cloud repository that has a scale-out backup repository as a back end if this repository has object storage added as a performance tier extent.
- If you want to move tenant data from a scale-out backup repository used as a cloud repository, follow instructions for the Scenario 2. You cannot use the Scenario 1 to move data from a scale-out backup repository.
Tip |
You can also migrate tenant backups between performance extents within the same scale-out backup repository. To learn more, see Migrating Tenant Data Between Performance Tier Extents. |
- You cannot move tenant data from a cloud repository that has object storage as a back end.
Scenario 1. Replacing Cloud Repository
The SP must complete the following tasks:
- Configure a new backup repository that you plan to use as a cloud repository.
- Disable the tenant account:
- Open the Cloud Connect view.
- In the inventory pane, click Tenants.
- In the working area, right-click the tenant account and select Disable.
- Copy a folder with tenant backup files from the initial cloud repository to the new cloud repository.
- Change resource allocation settings for the tenant on the initial cloud repository:
- Open the Cloud Connect view.
- In the inventory pane, click Tenants.
- In the working area, right-click the tenant account and select Properties.
- At the Backup Resources step of the wizard, select the initial cloud repository in the list and click Edit.
- In the Edit Quota window, change the underlying backup repository for the initial cloud repository. To do this, from the Backup repository list, select the backup repository that you configured at the step 1.
- If necessary, you can increase or decrease the tenant quota.
- Click Finish to save the changes.
- Enable the tenant account:
- Open the Cloud Connect view.
- In the inventory pane, click Tenants.
- In the working area, right-click the tenant account and select Disable.
To learn more about this operation, see Disabling and Enabling Tenant Accounts.
If the SP moved tenant data between backup repositories based on servers with different operating systems, the tenant must rescan the cloud repository in the tenant Veeam Backup & Replication console:
- In the tenant Veeam backup console, open the Backup Infrastructure view.
- In the inventory pane, click Backup Repositories.
- In the working area, right-click the cloud repository and select Rescan.
If the SP changed the tenant quota, the new quota becomes visible to the tenant after the tenant performs a rescan operation for the service provider or cloud repository on their backup server, or after the next job run.
Scenario 2. Adding New Cloud Repository
The SP must complete the following tasks:
- Configure a new backup repository that you plan to use as a cloud repository.
- On a newly configured cloud repository, allocate resources to the tenant:
- Open the Cloud Connect view.
- In the inventory pane, click Tenants.
- In the working area, right-click the tenant account and select Properties.
- At the Backup Resources step of the wizard, click Add and allocate resources on the new cloud repository to the tenant.
- Click Finish to save the changes.
- Disable the tenant account:
- Open the Cloud Connect view.
- In the inventory pane, click Tenants.
- In the working area, right-click the tenant account and select Disable.
- Copy a folder with tenant backup files from the initial cloud repository to the new cloud repository.
If you move tenant backups from a scale-out backup repository, make sure to copy all folders with tenant backup files from repository extents.
- Enable the tenant account:
- Open the Cloud Connect view.
- In the inventory pane, click Tenants.
- In the working area, right-click the tenant account and select Disable.
To learn more about this operation, see Disabling and Enabling Tenant Accounts.
- Rescan the new cloud repository:
- In the SP Veeam Backup & Replication console, open the Backup Infrastructure view.
- In the inventory pane, click Backup Repositories.
- In the working area, right-click the backup repository that is exposed as a new cloud repository and select Rescan.
Important |
Do not delete backup files on the initial cloud repository at this moment. It is strongly recommended that you delete backup files after the tenant completes the data migration procedure on their backup server and ensures no data is lost. |
The tenant must complete the following tasks:
- Rescan the service provider:
- In the tenant Veeam Backup & Replication console, open the Backup Infrastructure view.
- In the inventory pane, click Service Providers.
- In the working area, right-click the service provider and select Rescan.
- Enumerate backups on the new cloud repository.
Backups that reside in the new cloud repository will appear in the Home view next to backups that were created in the initial cloud repository.
Unencrypted backups will be displayed under the Backups > Cloud node. Encrypted backups will be displayed under the Backups > Cloud (Encrypted) node. To unlock backups:
- Select the Backups > Cloud (Encrypted) node, right-click the backup in the working area and select Specify password.
- In the Specify Password window, type in the password for the backup.
Unlocked backups will be moved under the Backups > Cloud node.
- Map backup jobs and backup copy jobs to backups on the new cloud repository:
- Open the Home view.
- In the inventory pane, click Jobs.
- In the working area, right-click the job that you want to edit and select Edit.
- At the Storage (for backup jobs) or Target (for backup copy) step of the wizard, select the new cloud repository from the Backup repository list.
- Click Map backup.
- In the Select Backup window, choose the backup job and click OK.
- Save the job settings.
- Repeat steps c–g for all jobs that whose backups have been moved.
- After the tenant makes sure that backups have been successfully copied and mapped to jobs, the tenant can delete backup files from the initial cloud repository:
- Open the Home view.
- In the inventory pane, click Backups > Cloud.
- In the working area, right-click the backup job whose backups you want to remove and select Delete from disk.
- Repeat steps b–c for all jobs whose backups whose backups have been moved.
Important |
Make sure that you do not delete backup files from the new cloud repository instead of the initial cloud repository. |