Converting Backups from SMB or NFS Shares to NAS Filer Shares
You can use enterprise storage systems integrated with Veeam Backup & Replication both to host simple SMB or NFS shares and to act as NAS filer shares.
To use all the advantages of NAS filer shares, for example the native file change tracking technology, you can convert backups created for existing SMB or NFS shares into the format of NAS filer shares. After that you can continue to protect the file shares as NAS filer shares by running existing file share backup jobs and by using existing backup files. Perform the conversion with extreme caution.
To convert SMB or NFS shares into NAS filer shares, do the following:
- Disable file share backup jobs protecting SMB or NFS 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 you have created NAS filer, which corresponds to existing SMB or NFS shares, added to the Veeam Backup & Replication inventory. The NAS filer and these shares must reside on the same storage system. The correspondence of the shares must be full except for the host name.
- Run the Convert-VBRNASBackupSANFormat PowerShell cmdlet to convert the format of the file share backup to provide support of NAS filer shares.
$nasbackup = Get-VBRNASBackup -name "File Backup Job 1" |
For more information, see the description of the Convert-VBRNASBackupSANFormat 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 NAS filer share. If object names have not changed and show the path to the SMB or NFS share 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 the NAS filer share 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 SMB and NFS shares from the job and add the corresponding NAS filer shares.
- 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 of Disable. Alternatively, you can click Disable on the ribbon.
Starting from version 11a (build 11.0.1.1261), Veeam Backup & Replication supports conversion of backups created with backup copy jobs. To continue the old backup chain created with the backup copy job, do the following:
- Disable file share backup jobs protecting SMB or NFS 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 you have created NAS filer, which corresponds to existing SMB or NFS shares, added to the Veeam Backup & Replication inventory. The NAS filer and these shares must reside on the same storage system. The correspondence of the shares must be full except for the host name.
- Run the Convert-VBRNASBackupSANFormat PowerShell cmdlet to convert the format of the file share backup to provide support of NAS filer shares.
$backup_copy = Get-VBRNASBackup -name "File Backup Job 1 (Copy)" |
For more information, see the description of the Convert-VBRNASBackupSANFormat cmdlet in the Veeam PowerShell Reference.
- Use the Edit File Backup Job wizard to remove the secondary target storage for the file share backup job that protects the file shares:
- At the Secondary Target step of the wizard, remove the required repository selected as a secondary target for the file share backup job.
- Go through all the wizard steps without running the job. Click Finish.
- Use the Edit File Backup Job wizard to add the secondary target storage back for the file share backup job that protects the file shares:
- At the Secondary Target step of the wizard, add the required repository as a secondary target for the file share backup job.
- Go through all the wizard steps. Click Finish.
- 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 of Disable. Alternatively, you can click Disable on the ribbon.
File share backup copy will automatically map to the file share backup copy job. After that, the backup copy job will back up new points of the main file share backup job if they were created.