Converting Backups from Non-Root to Root Shared Folders
Veeam Backup & Replication allows adding a server root folder as a source for file share backup jobs. In this case, all changes to separate shared folders residing on this server will be reflected in the file share backup job where the root shared folder of this server is added. You can even add shared root folders using different protocols to one file share backup job and thus protect all file shares that are or will be added on the server.
If you previously had several separate non-root shared folders residing on the same server and want to switch to using a single root shared folder to cover the same shares, you do not have to run full backups to update data of protected shares. Instead, you can convert existing backups and update existing file share backup jobs to protect single root shared folders comprising all other non-root shared folders residing on the same server. Perform the conversion with extreme caution.
To convert backups from non-root to root shared folders, do the following:
- Disable file share backup jobs protecting file shares, for which you want to convert backups. To do that, right-click the required job in the Jobs node of the inventory pane in the Home view and select Disable. Alternatively, you can click Disable on the ribbon.
- Make sure that your backup infrastructure has a root share (for example, NFS or SMB) added for the whole server or storage system where existing non-root shares reside. These shares must reside on the same server or storage system. The correspondence of the shares must be full except for the host name.
- Run the Convert-VBRNASBackupRootFormat PowerShell cmdlet to convert backups created by one file share backup job for separate non-root shared folders residing on the same server into the backup created for the server single root folder with all the non-root shared folders of the same type under it. For more information, see the description of the Convert-VBRNASBackupRootFormat cmdlet in the Veeam PowerShell Reference.
As a result, the backup will be moved from Backups > Disk node to Backups > Disk (Orphaned) node in the inventory pane of the Home view.
At this step, you can check if the cmdlet has correctly converted the backup. To do that, check if backup object names in the Disk (Orphaned) node have changed and now show the path to the server root folder. If object names have not changed and show the paths to multiple separate non-root shared folders as before, continuing the conversion process can lead to the unwanted result. For example, when you enable the backup job for the converted backup, it will back up all shared folders under root folder not with an incremental run, but with a full run instead, which may lead to extra costs.
- Use the Edit File Backup Job wizard to edit the file backup job that protects the file shares:
- At the Files and Folders step of the wizard, remove the existing non-root shared folders from the job and add the server root folder instead.
- At the Storage step of the wizard, map the job to the backup that was converted at step 2.
- Enable file share backup jobs protecting file shares, for which you converted backups. To do that, right-click the required job from the Jobs node of the inventory pane in the Home view and clear selection Disable. Alternatively, you can click Disable on the ribbon.