How do I back up individual folders on Windows servers using Active Backup for Business?

How do I back up individual folders on Windows servers using Active Backup for Business?

Details

Active Backup for Business PC backup and Physical Server backup allow you to back up full devices (bare-metal backup) or full volumes. If you do not wish to back up full devices or volumes or to install the agent, you can use the File Server backup functionality to perform agentless backups of folders on Windows servers using the SMB protocol.1 Windows Volume Shadow Copy Service (VSS) allows you to safely back up individual files and folders stored on Windows servers.2 3 This tutorial shows you how to enable these services on your Windows server and safely create a backup task.

Resolution

Before you start

Before configuring a server backup task, you must confirm that the File Server VSS Agent Service is activated on your Windows Server.4

  1. On Windows Server, go to Start > Windows PowerShell, right-click on Windows PowerShell and select Run as Administrator.
  2. In PowerShell, run the command Import-Module ServerManager.
  3. Run the command Add-WindowsFeature -name File-Services,FS-VSS-Agent and make sure that the status returns as True under Success.
  4. Run the command Get-WindowsFeature -name File-Services,FS-VSS-Agent and make sure that File Server VSS Agent Service is displayed as Installed.
  5. Run the command VSSAdmin List Providers to obtain a list of shadow copy providers on the system and make sure that the list contains Microsoft File Share Shadow Copy Provider.
  6. If the responses to both commands are correct, reboot your server to activate the File Server VSS Agent Service. You can then start to back up Windows Server files with Active Backup for Business using VSS for SMB File Shares.5

Back up files on Windows servers with VSS

You can enable VSS for SMB File Shares in Active Backup for Business by modifying an existing backup task or creating a new task.

To modify an existing task:

  1. In DSM, go to Active Backup for Business > File Server > Task List.
  2. Click on the corresponding backup task and click Edit to edit the task.
  3. In the Task Edit window, go to the General tab and tick the checkbox for Enable VSS for SMB File Shares.
  4. Go to the Backup source tab and select the newly created shared folder as the backup source.
  5. Click OK to confirm your settings.

To create a new task:

If no SMB file shares are available on the backup target, make sure that SMB file and printer sharing service is enabled on your Windows device.

  1. Go to Start > Windows System > Control Panel > Network and Internet > Network and Sharing Settings.
  2. In the left menu, click Change advanced sharing settings.
  3. Under File and printer sharing, select Turn on file and printer sharing.
  4. To share files or folders you wish to back up, right-click on the object and then click Properties > Sharing > Share. Select your Windows Server user account in the menu and click Share. Your file or folder will then be available for File Server backup.
  5. Follow this tutorial to configure a new SMB backup task in Active Backup for Business.
  6. In the Task settings window, select Enable VSS for SMB File Shares.

Notes:

  1. File Server backup tasks over SMB protocol require users to create SMB file shares. Sharing files over SMB is less safe than using an agent-based backup. Agent-based backup is also recommended for backing up system volumes or full devices.
  2. Volume Shadow Copy Service (VSS) is a framework that enables volume backups to be performed while applications on a system continue to write data to the volumes. VSS is highly recommended to prevent conflicts and data inconsistencies from occurring during the backup of actively used data.
  3. Administrative shares with folder names containing the symbol $ (e.g., C$ or D$) are not protected by VSS for SMB File Shares. To back up volume C or D using VSS for SMB File Shares, please create a new shared folder in C:\ or D:\, respectively.
  4. These steps provide a simple method to enable VSS for SMB File Shares. For advanced settings, please refer to this Microsoft article.
  5. VSS for SMB File Shares is only available on Windows Server 2012 or above.
Details
Resolution
Before you start
Back up files on Windows servers with VSS