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.

Note

You cannot convert backups stored on a root server or shares from the root server.

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 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:

  1. Disable file 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.
  2. 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.
  3. 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"
$netapp = Get-NetAppHost -name "pdc-ontap-1"
$netapp_filer = Get-VBRNASServer -SANEntity $netapp
Convert-VBRNASBackupSANFormat -Backup $nasbackup -Server $netapp_filer

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.

  1. Use the Edit File Backup Job wizard to edit the file backup job that protects the file shares:
  1. At the Files and Folders step of the wizard, remove the existing SMB and NFS shares from the job and add NAS filer shares instead.
  2. At the Backup Repository step of the wizard, map the job to the backup that was converted at step 2.
  1. Enable file 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.

Veeam Backup & Replication supports conversion of backups created by backup copy jobs. To continue the old backup chain created by the backup copy job, do the following:

  1. Disable file 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.
  2. 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.
  3. 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)"
$netapp = Get-NetAppHost -name "pdc-ontap-1"
$netapp_filer = Get-VBRNASServer -SANEntity $netapp
Convert-VBRNASBackupSANFormat -Backup $backup_copy -Server $netapp_filer

For more information, see the description of the Convert-VBRNASBackupSANFormat cmdlet in the Veeam PowerShell Reference.

  1. Use the Edit File Backup Job wizard to remove the secondary target storage for the file backup job that protects the file shares:
  1. At the Secondary Target step of the wizard, remove the required repository selected as a secondary target for the file backup job.
  2. Go through all the wizard steps without running the job. Click Finish.
  1. Use the Edit File Backup Job wizard to add the secondary target storage back for the file backup job that protects the file shares:
  1. At the Secondary Target step of the wizard, add the required repository as a secondary target for the file backup job.
  2. Go through all the wizard steps. Click Finish.
  1. Enable file 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 backup copy job. After that, the backup copy job will back up new points of the main file backup job if they were created.

Page updated 11/20/2023

Page content applies to build 12.1.1.56