Upgrading or Switching from Linux Repository to Hardened Repository
Upgrading Linux Repository to Hardened Repository
If you upgrade to Veeam Backup & Replication 12, all Linux backup repositories with enabled Make recent backups immutable for check box will be automatically converted to hardened repositories. Note that if these repositories were added with persistent credentials, they will be automatically converted to single-use credentials.
Note |
If a Linux backup repository with enabled Make recent backups immutable for check box was added with root credentials, the upgrade process will be interrupted. To continue it, you must specify a user account with non-root permissions for this repository. For more information, see this Veeam KB article. |
Switching from Linux Repository to Hardened Repository
If you have a standalone Linux server added to the backup infrastructure as a backup repository and want to use it as a hardened repository, perform the following steps:
- On the Linux server, change permissions for the directory where backups are stored. Both owner and group must be the account with non-root permissions you use to connect to the Linux server.
chown -R owner:group <dir_path> |
- Go to the Veeam Backup & Replication console and perform the following steps:
- Open the Backup Infrastructure view and select Managed Servers in the navigation pane. Right-click the Linux server, select Properties, go to the SSH Connection step of the wizard, and specify the account with non-root permissions you use to connect to the Linux server. Note that these credentials must be single-use.
- Disable all backup jobs that use this Linux repository. For more information, see Disabling and Deleting Jobs.
Note |
If you have Veeam Agent backup jobs managed by Veeam Agent, you need to delete these jobs and configure them once again after you switch to the hardened repository. |
- Remove backup files stored on the Linux repository from the backup configuration. To do this, go to the Backups > Disk node and select the backup file. Hold [Ctrl] and right-click the file. Then click Remove from configuration.
Important |
Removing backups from configuration is designed for experienced users only. It is strongly recommended to create encrypted configuration backup before performing this operation. |
- Add the same Linux server to the backup infrastructure as a hardened repository using the New Backup Repository wizard. At the Review step of the wizard, select the Search the repository for existing backups and import them automatically check box to detect existing backup files and display them in the Veeam Backup & Replication console under the Imported > Backups node. For more information, see Adding Hardened Repositories.
Note |
If you work with encrypted backups, you need to decrypt them after importing. For more information, see How Data Decryption Works. |
- Go to the Jobs node and edit the job associated with the Linux repository. At the Storage step of the wizard, select the hardened repository from the Backup repository list.
Click Map backup and specify imported backups from the previous step.
Finish the wizard to apply changes.
- Open the Backup Infrastructure view and remove the Linux backup repository from the backup infrastructure.
Note |
For more information on enabling immutability for tenant backups, see the Switching from Linux Repository to Hardened Repository section in the Veeam Cloud Connect Guide. |