Setup Windows DFS

Go to Server Manager -> Add Roles and Features.
Select under file and storage service, check DFS Namespaces and DFS Replication, Click Install

Create New Namespace

Create DFS Folders linking to target folder

This will be the DFS shared folder

This is what it will look like in Server Manager

Second Server to replicate data

Install-WindowsFeature -name “FS-DFS-Replication” -IncludeManagementTools

Install-WindowsFeature -name “FS-DFS-Namespace” -IncludeManagementTools

Go to DFS management. Add Folder Target

\\Server02\folder_name

Set Primary Member, Topology Full mesh, Replicate continuously using the specified bandwidth

Source : https://www.nakivo.com/blog/configure-dfs-replication-for-windows-server/, https://msftwebcast.com/2020/01/install-and-configure-dfs-namespaces-in-windows-server-2019.html