Back Up Windows File Server to Synology NAS
In this article
This guide walks you through backing up a Windows file server to a Synology NAS, giving you an off-server copy of your data that survives hardware failure, ransomware, and accidental deletion. You'll set up a shared folder on the NAS, create a backup task in Windows Server, and verify the first run. Before starting, make sure the Windows server and the NAS can reach each other over the network, and that you have administrator rights on both.
What You'll Need
- A Windows file server (Windows Server 2016, 2019, 2022, or 2025) with the files you want to back up.
- A Synology NAS (DSM 6.2 or DSM 7.x) with enough free storage for the backup.
- Administrator credentials for both the Windows server and the Synology NAS.
- Network connectivity between the two devices (static IPs recommended for reliability).
- A backup plan: decide which folders to include, how often to run the backup, and how long to keep versions.
Step-by-Step
- Create a shared folder on the Synology NAS. Log into DSM, open Control Panel > Shared Folder, click Create, and name it something like
WindowsBackup. Set permissions so the Windows server account can read and write. If you're using SMB, enable it under File Services > SMB. - Create a dedicated backup user on the NAS (optional but recommended). Go to Control Panel > User > Create, create a user like
backupuser, and grant it read/write access only to theWindowsBackupshared folder. This limits the blast radius if credentials are compromised. - Map the NAS share on the Windows server. On the Windows server, open File Explorer, right-click This PC, choose Map network drive, and assign a drive letter (e.g.,
Z:) to the NAS share. Use the NAS IP or hostname, like\\192.168.1.100\WindowsBackup. Check Connect using different credentials and enter the backup user's credentials. Test the connection by copying a small file. - Choose your backup method. Windows Server has built-in tools: Windows Server Backup (install via Add Roles and Features if missing) or Robocopy (command-line). For this guide, we'll use Windows Server Backup because it's graphical and supports scheduled backups.
- Configure Windows Server Backup. Open Server Manager > Tools > Windows Server Backup. Click Backup Schedule in the right pane. The wizard will ask what to back up—choose Custom and add the folders or volumes you need. For the destination, select Remote shared folder and enter the UNC path to the NAS share (e.g.,
\\192.168.1.100\WindowsBackup). Provide the backup user's credentials. Set the schedule (e.g., daily at 2 AM) and finish. - Run an initial manual backup. In Windows Server Backup, click Backup Once to run a full backup immediately. This verifies the configuration and populates the NAS with the first copy. Monitor the progress; the first backup may take a while depending on data size.
- Verify the backup. After the backup completes, open the NAS share and confirm files are present. On the Windows server, open Windows Server Backup and check the backup status. You can also test a file restore: right-click a file in the backup and choose Restore to a test location.
- Set up versioning (optional but recommended). Synology NAS supports Snapshot Replication (in the Package Center) or SMB shadow copies. Enable File Services > SMB > Advanced Settings > Enable Previous Versions to allow Windows to access previous versions of files from the NAS. This gives you point-in-time recovery.
Common Mistakes
- Using the wrong credentials. The backup task runs under a specific account. If that account lacks write permission on the NAS, the backup fails. Always test with a manual copy first.
- Not considering network speed. Backing up over Wi-Fi or a slow link can take forever. Use a wired gigabit connection between the server and NAS, and consider running backups during off-peak hours.
- Ignoring backup size. If you back up the entire system volume (including OS), the backup can be huge. Limit to data folders (e.g.,
D:\Shares) to save space and time. - Forgetting to monitor backups. A backup that fails silently is useless. Check the backup log periodically or set up email notifications in Windows Server Backup or DSM.
- Not testing restores. A backup is only good if you can restore it. Test a restore at least once after the first backup.
Tips
- Use a dedicated backup folder. Keep the NAS share separate from other data to avoid accidental deletion.
- Enable SMB encryption. In DSM, go to File Services > SMB > Advanced Settings and enable Encrypt SMB to protect data in transit, especially if the network is not trusted.
- Set up a retention policy. Decide how many backup versions to keep. Windows Server Backup keeps a limited number; Synology Hyper Backup (a package) offers more flexible retention. Consider using Hyper Backup instead if you need long-term versioning.
- Use a static IP for the NAS. If the NAS IP changes, the backup destination breaks. Reserve an IP in your router's DHCP settings.
- Perform a test restore regularly. At least quarterly, restore a random file to verify the backup is healthy.
Troubleshooting
- Backup fails with access denied. Check the NAS share permissions and the credentials used. Ensure the user has write access to the shared folder. On Windows, verify the mapped drive is accessible with those credentials.
- Backup fails with network path not found. Ping the NAS IP from the server. If it fails, check network cables, firewall rules (allow SMB port 445), and that SMB is enabled on the NAS.
- Backup is slow or hangs. Check for network congestion, antivirus scanning the backup files, or the NAS disk being full. Try a smaller test backup to isolate the issue.
- Windows Server Backup doesn't support remote shared folders for scheduled backups. This is a known limitation in some versions. Workaround: use Robocopy with a scheduled task, or use Synology Hyper Backup with the Windows agent.
- Previous versions not showing up. Ensure SMB shadow copy is enabled on the NAS and that the Windows server has the Previous Versions client feature installed (it's default).
Frequently Asked Questions
- Can I back up to the NAS over the internet? Yes, but it's not recommended due to speed and security. Use a VPN or Synology QuickConnect with proper encryption.
- Does Windows Server Backup support incremental backups? Yes, it does incremental backups after the first full backup, but it's not as flexible as third-party tools.
- Can I use Robocopy instead of Windows Server Backup? Yes, Robocopy is a command-line tool that copies files and can be scheduled with Task Scheduler. It's simpler but lacks versioning.
- How much storage do I need on the NAS? At least the size of the data you're backing up, plus extra for versions. A good rule is 1.5x the data size.
- What if the NAS is full? The backup will fail. Monitor disk usage and set up alerts in DSM to avoid this.
- Can I restore individual files from the NAS? Yes, either through Windows Server Backup's restore wizard or by browsing the NAS share and copying files back.