{"id":10518,"date":"2023-01-31T11:04:19","date_gmt":"2023-01-31T18:04:19","guid":{"rendered":"https:\/\/blog.resilio.com\/blog\/?p=10518"},"modified":"2025-12-19T14:48:31","modified_gmt":"2025-12-19T21:48:31","slug":"robocopy-from-one-server-to-another","status":"publish","type":"post","link":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another","title":{"rendered":"How to Sync Files from One Server to Another with Robocopy"},"content":{"rendered":"\n<p>Robocopy (Robust File Copy) is an aging command-line tool that comes preinstalled on MicrosoftWindows servers. It can be used to copy files on Windows and non-windows file systems.&nbsp;<\/p>\n\n\n\n<p>However, Robocopy suffers from several shortcomings, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Creating complex or specific sync jobs requires implementing complex command prompts.<\/li>\n\n\n\n<li>Because of its limited transfer topology (i.e., point-to-point transfer), and limited tool set, copying using&nbsp;<a target=\"_blank\" href=\"https:\/\/www.resilio.com\/blog\/robocopy-sync-large-files-over-network\" rel=\"noreferrer noopener\">Robocopy to sync large files<\/a>&nbsp;and copying files to multiple endpoints takes a long time and is error prone.<\/li>\n\n\n\n<li>Robocopy will only copy files if the source file and destination file have different timestamps.<\/li>\n\n\n\n<li>Robocopy doesn\u2019t support real-time file sync.<\/li>\n\n\n\n<li>Errors encountered during the file copy process are both hard to diagnose and can cause the entire sync process to fail.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>In this article, we\u2019ll discuss how to synchronize files using Robocopy from one server to another, including the command prompts you can use to create specific file sharing parameters. We\u2019ll also discuss our own file synchronization solution, Resilio Active Everywhere, and how creating sync jobs with Resilio is much easier and more reliable.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Resilio Active Everywhere (formerly Resilio Connect) is a P2P (peer-to-peer) file synchronization solution that\u2019s used by leading companies in tech (Match.com, Kaspersky), gaming (Blizzard, Wargaming.com), media (Mixhits Radio, Turner Sports), and more. It delivers the fastest transfer speeds in the industry (10+ Gbps per server), uses UDP-based WAN transfer technology to optimize file transfer across high-latency and lossy networks, and scales organically to easily handle large sync jobs (tested at 250+ million files in a single job) and replication to many endpoints.\u00a0<\/p>\n\n\n\n<p><em>If you\u2019re interested in learning more about Resilio as a Robocopy alternative,&nbsp;<a href=\"https:\/\/www.resilio.com\/blog\/looking-for-a-robocopy-alternative\" target=\"_blank\" rel=\"noreferrer noopener\">please check out this blog.<\/a><\/em><\/p>\n\n\n\n<p><em>To learn more about syncing your company\u2019s files with Resilio Active Everywhere,&nbsp;<\/em><a href=\"https:\/\/www.resilio.com\/schedule-demo\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>schedule a demo<\/em><\/a><em>.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Create a Robocopy Sync Command<\/h2>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Let\u2019s start by breaking down the basic syntax of the robocopy command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Robocopy C<\/strong><strong>:\\&#91;source]&nbsp; C:\\&#91;destination] &#91;sync parameters]<\/strong><\/code><\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u201c<\/strong><strong>robocopy<\/strong><strong>\u201d<\/strong>: Initiates the robocopy command.<\/p>\n\n\n\n<p><strong>C:\\[source]<\/strong>: The first folder in the command is always the source folder.<\/p>\n\n\n\n<p><strong>C:\\[destination]<\/strong>: The second folder in the command is always the destination folder.<\/p>\n\n\n\n<p><strong>[sync parameters]<\/strong>: This is where you enter commands that govern how your folder sync occurs. The sync parameters don\u2019t need to be in any particular order.<\/p>\n<\/blockquote>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Sync parameter commands include:<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\/<\/strong><strong>copyall<\/strong>&nbsp;\u2014 This command copies all source file information, including file names, security permissions, auditing information, and more.<\/p>\n\n\n\n<p><strong>\/s<\/strong>&nbsp;\u2014 This command copies subdirectories, excluding empty subdirectories.<\/p>\n\n\n\n<p><strong>\/e<\/strong>&nbsp;\u2014 This command copies subdirectories, including empty subdirectories.<\/p>\n\n\n\n<p><strong>\/z<\/strong>&nbsp;\u2014 This command copies files in restartable mode.<\/p>\n\n\n\n<p><strong>\/b<\/strong>&nbsp;\u2014 This command copies files in backup mode.<\/p>\n\n\n\n<p><strong>\/zb<\/strong>&nbsp;\u2014 This command uses restartable mode, and switches to backup mode if access is denied.<\/p>\n\n\n\n<p><strong>\/PURGE<\/strong>&nbsp;\u2014 This command deletes destination files and folders and subfolders that no longer exist in the source.<\/p>\n\n\n\n<p><strong>\/<\/strong><strong>mir<\/strong>&nbsp;\u2014 This command copies subdirectories (including empty folders) and deletes destination files that no longer exist in the source server. You should be aware that the NTFS permissions for the files in the destination directory tree will also be overwritten.<\/p>\n\n\n\n<p><strong>\/Copy:DAT<\/strong> \u2014 This command copies file data, attributes, and timestamps.<\/p>\n\n\n\n<p><strong>\/Copy:DATSOU<\/strong> \u2014 This command copies file data, attributes, timestamps, security information, owner information, and auditing information.<\/p>\n\n\n\n<p><strong>\/<\/strong><strong>dcopy<\/strong>&nbsp;\u2014 This command copies directory timestamps.<\/p>\n\n\n\n<p><strong>\/MT:16<\/strong>&nbsp;\u2014 This command copies files in multithreaded mode \u2014 i.e., multiple files are copied simultaneously.<\/p>\n\n\n\n<p><strong>\/mov<\/strong>&nbsp;\u2014 This command moves files and deletes them from the source directory after they\u2019re copied.<\/p>\n\n\n\n<p><strong>\/MAXage:n<\/strong> \u2014 This command excludes files older than a certain time\/date. Replace n with the time\/date you want to exclude.<\/p>\n\n\n\n<p><strong>\/R:N<\/strong>&nbsp;\u2014 This command specifies the number of retries Robocopy will perform when a file transfer fails. N should be replaced by the desired number.<\/p>\n\n\n\n<p><strong>\/W:N<\/strong>&nbsp;\u2014 This command specifies the amount of time Robocopy should wait before retrying a sync (in seconds). N should be replaced with the number of seconds you want Robocopy to wait (the default is 30 seconds).<\/p>\n\n\n\n<p><strong>\/tee<\/strong>&nbsp;\u2014 This command instructs Robocopy to output what it\u2019s doing to the screen display.<\/p>\n\n\n\n<p><strong>\/v<\/strong>&nbsp;\u2014 This command instructs Robocopy to display verbose output and show skipped files.<\/p>\n\n\n\n<p><strong>\/np<\/strong>&nbsp;\u2014 This command instructs Robocopy not to display the progress of the copy operation.<\/p>\n<\/blockquote>\n\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The following command prompt represents an example of what an actual robocopy powershell command might look like:<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>robocopy C:\\sourcefolder\\sharename&nbsp;C:\\destinationfolder\\sharename&nbsp;\/e \/b<\/strong><\/code><\/pre>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The above command will copy all subdirectories, including empty ones, in backup mode.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Four Reasons Why Resilio Platform Is a Superior File Sync Solution<\/h2>\n\n\n\n<p>As stated above, while you can use Robocopy to create highly specific sync jobs, doing so requires knowing and implementing complex command prompts.<\/p>\n\n\n\n<p>It\u2019s also not the best tool for large sync jobs (syncing large files and syncing to multiple endpoints can take a long time). And when it breaks down, identifying and troubleshooting replication issues can be difficult \u2014 like most free command-line tools, it doesn\u2019t provide a lot of insight into replication jobs.<\/p>\n\n\n\n<p>But Resilio Platform is a real-time, P2P-based file sync solution that is superior to Robocopy in several key ways, including:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Resilio is easy to centrally manage.&nbsp;<\/strong>&nbsp;All jobs can be easily controlled, tracked, and monitored through a single pane of glass.<\/li>\n\n\n\n<li><strong>Resilio provides real-time, organically scalable synchronization.&nbsp;&nbsp;<\/strong>Changes to files and folders are automatically and efficiently synchronized to as many other systems as needed.&nbsp;<\/li>\n\n\n\n<li><strong>Resilio is optimized to transfer files over WAN networks.<\/strong><\/li>\n\n\n\n<li><strong>Resilio offers superior security features.<\/strong><\/li>\n<\/ol>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong><em>Note:<\/em><\/strong><em>&nbsp;For smaller sync jobs, you can also use&nbsp;<\/em><a href=\"https:\/\/www.resilio.com\/sync-business\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>Resilio Sync<\/em><\/a><em>. At $7-$14 per user per month, Resilio Sync is perfect for:<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>Individuals who want to sync files from a personal computer to another computer or remote device can use Resilio Sync.<\/em><\/li>\n\n\n\n<li><em>Small businesses that need to sync files for collaboration among geographically distributed teams.<\/em><\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1. Creating, Managing, and Automating Sync Jobs with Resilio Is Much Easier<\/h3>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Deploying Resilio Platform and creating synchronization jobs (no matter how complex or specific) is much easier than Robocopy, as Resilio was designed to be easy to use and manage.<\/p>\n\n\n\n<p><strong>Resilio can be easily deployed on your existing infrastructure and begin replicating in as little as 2 hours.<\/strong> It\u2019s an agent-based software that\u2019s more flexible than Robocopy \u2014 it can be set up in the cloud, on-prem, or in a hybrid cloud model. Resilio supports a variety of cloud storage services, virtual cloud servers, mobile devices (Resilio offers iOS and Android apps), and desktops. And Resilio can be configured cross-platform on a variety of file servers, including Windows, Ubuntu, Linux, Unix, iOS, MacOS, Android, and more.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"605\" src=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-1-1024x605.png\" alt=\"Resilio's Management Console.\" class=\"wp-image-10499\" style=\"width:768px;height:454px\" srcset=\"https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-1-1024x605.png 1024w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-1-300x177.png 300w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-1-768x454.png 768w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-1-1536x908.png 1536w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-1.png 1695w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Managing sync jobs with Resilio is easy with Resilio\u2019s Management Console, which provides insight into the state of replication via real-time notifications and detailed transfer logs.<\/strong> You can also use it to sync jobs and parameters that suit your needs, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adjusting replication parameters. Configure buffer size and disk I\/O threads, create bandwidth usage policies on each server (including creating profiles that govern how much bandwidth each server can use at specific times of the day or days of the week), and more.<\/li>\n\n\n\n<li>Setting up Webhooks.<\/li>\n\n\n\n<li>Configuring user permissions.<\/li>\n\n\n\n<li>Allocating bandwidth.&nbsp; It\u2019s easy to centrally control how much bandwidth each job can utilize, and change the policy as needed over time.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Monitoring replication and troubleshooting replication issues is easy with Resilio, as Resilio provides detailed information on replication jobs.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"532\" src=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-2-1024x532.png\" alt=\"The dashboard provides detailed transfer logs and real-time notifications.\" class=\"wp-image-10500\" style=\"width:768px;height:399px\" srcset=\"https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-2-1024x532.png 1024w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-2-300x156.png 300w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-2-768x399.png 768w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-2-1536x798.png 1536w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-2.png 1999w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Resilio also gives you all of the automation capabilities that Robocopy provides without any of the complexity, enabling you to easily automate any type of scripting or functionality using the GUI, REST API, and command-line prompts.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"664\" src=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-3-1024x664.png\" alt=\"Overview of job summaries.\" class=\"wp-image-10501\" style=\"width:768px;height:498px\" srcset=\"https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-3-1024x664.png 1024w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-3-300x194.png 300w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-3-768x498.png 768w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-3-1536x996.png 1536w, https:\/\/getsynccom.wpenginepowered.com\/wp-content\/uploads\/2023\/01\/check-resync-progress-3.png 1677w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2. Real-Time, Organically Scalable Synchronization<\/h3>\n\n\n\n<p>Because of its point-to-point topology, Robocopy is slower, less reliable, and less scalable than Resilio Active Everywhere.<\/p>\n\n\n\n<p>With point-to-point replication, files can only be transferred to one server at a time (i.e., from one server to another). This transfer methodology is slow (especially when syncing large files and\/or syncing to multiple endpoints) and can create bottlenecks. If one server is on a slow network (or file transfer is impeded by some other issue), every other server must wait for that file transfer to complete before they can receive their files.<\/p>\n\n\n\n<p><strong>But Resilio uses real-time file change detection, P2P transfer, and file chunking to deliver fast (up to 10 Gbps per endpoint), reliable file synchronization<\/strong>.<\/p>\n\n\n\n<p>Resilio can detect and immediately replicate file changes using real-time notifications from the host OS and optimized checksum calculations \u2014 i.e., it assigns an identification marker to each file that changes whenever a change is made to the file.<\/p>\n\n\n\n<p>And each server in your replication environment is equally privileged and can share files with any other server. This means that there is no single point of failure \u2014 if the network is slow or goes down on any server, the necessary files or servers can be provided by any other server.<\/p>\n\n\n\n<p>Resilio also uses a process known as file chunking, where a file is split into several chunks that can transfer independently from each other. With file chunking and Resilio\u2019s P2P transfer topology, file transfer can occur simultaneously across all of the servers in your environment,&nbsp;<strong>resulting in transfer speeds that are 3-10x faster than point-to-point solutions.<\/strong><\/p>\n\n\n\n<p>For example, when replicating a file from Server 1 to the other servers in your environment, Server 1 can split that file into six chunks. Then it can share the first chunk with Server 2 (or any other server). When Server 2 receives the first chunk, it can begin sharing it with Server 3 before it has received the full file.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"388\" src=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2022\/07\/p2p-vs-client-server.gif\" alt=\"P2P vs Client-Server architecture.\" class=\"wp-image-10164\"\/><\/figure>\n<\/div>\n\n\n<div style=\"height:25px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><a target=\"_blank\" href=\"https:\/\/www.innovative.ink\/\" rel=\"noreferrer noopener\">Innovative Design<\/a>&nbsp;is a creative print and media marketing agency that uses Resilio to collaborate on projects and sync files across 3 offices.<\/p>\n\n\n\n<p><em><strong>\u201cWe were able to turn around graphic proofs quicker based on our staff\u2019s availability versus forcing it through a bottleneck at a specific office. Resilio has made us more efficient.\u201d<\/strong><\/em><\/p>\n\n\n\n<p><a href=\"https:\/\/www.resilio.com\/casestudies\/innovativedesign\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Learn more about how Innovative Design syncs over 800,000 files across locations and transfers, consolidates, and restores 4.5TB of data.<\/strong><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Superior WAN Transfer<\/h3>\n\n\n\n<p>Most point-to-point replication solutions like Robocopy aren\u2019t optimized for copying or synchronizing files across the WAN.&nbsp; For basic WAN transfers, they rely on TCP, which performs poorly over WANs.<\/p>\n\n\n\n<p><strong>But Resilio optimizes transfer over lossy, high-latency WAN networks using a proprietary UDP-based WAN acceleration protocol known as Zero Gravity Transport\u2122 (ZGT)<\/strong>. <\/p>\n\n\n\n<p>ZGT uses several methods to optimize WAN transfer, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Calculating the ideal send rate via a congestion control algorithm.<\/li>\n\n\n\n<li>Sending interval acknowledgements for a group of packets (that contains information about packet loss), rather than for each individual packet.<\/li>\n\n\n\n<li>Retransmitting lost packets just once per RTT (Round Trip Time).<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Because of Resilio&#8217;s WAN optimization technology, it can also sync and transfer files from the edge of the network \u2014 i.e., to and from remote locations with poor internet connections. Our client Shifo, for example, uses Resilio to sync files to poor, remote areas in Uganda and other locations.<\/p>\n\n\n\n<p><a target=\"_blank\" href=\"https:\/\/www.shifo.org\/\" rel=\"noreferrer noopener\">Shifo<\/a>&nbsp;is a health data solution company that delivers life saving healthcare solutions to remote communities and uses Resilio Platform to quickly deliver files to over 3,000 remote locations with poor quality networks.&nbsp;<\/p>\n\n\n\n<p><em><strong>\u201cResilio Platform reliably runs in the background \u2014 and just works. Like a humble, dependable friend\u2026 We sleep better because Resilio is there. That\u2019s a critical piece. You can\u2019t imagine how difficult it was for us (prior to Resilio): Delays, nothing being synchronized; now I don\u2019t hear any of those problems. Now we can focus on solving healthcare problems (instead of moving files).\u201d&nbsp;<\/strong><\/em><\/p>\n\n\n\n<p><a href=\"https:\/\/www.resilio.com\/casestudies\/shifo-foundation\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Learn more about how Resilio delivers reliable file distribution for Shifo across any network connection.<\/strong><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Superior Security Features<\/h3>\n\n\n\n<p>Robocopy doesn\u2019t encrypt your data at rest or in transit, leaving it vulnerable to interception and malicious activity.<\/p>\n\n\n\n<p>But Resilio uses 3rd-party reviewed, state-of-the art security features to protect your data. It encrypts data at rest and in transit using AES 256 and one-time session encryption keys. And it uses mutual authentication to ensure files are only delivered to secure, approved endpoints and cryptographic integrity validation to ensure files arrive at their destination intact and uncorrupted.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use Resilio Platform for Fast, Reliable Server Synchronization<\/h2>\n\n\n\n<p>While Robocopy can be used for server synchronization, setting up and troubleshooting sync jobs can be difficult. You should use an alternative&nbsp;<a target=\"_blank\" href=\"https:\/\/www.resilio.com\/blog\/real-time-replication-software\" rel=\"noreferrer noopener\">replication solution<\/a>&nbsp;like Resilio.<\/p>\n\n\n\n<p>Resilio is a superior&nbsp;<a target=\"_blank\" href=\"https:\/\/www.resilio.com\/blog\/looking-for-a-robocopy-alternative\" rel=\"noreferrer noopener\">alternative to Robocopy<\/a>&nbsp;for file synchronization because it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Uses proven P2P replication topology to sync files faster and in real-time.<\/li>\n\n\n\n<li>Is organically scalable with no single point-of-failure.<\/li>\n\n\n\n<li>Uses WAN optimization technology when needed to optimize file transfer over any network, including high-latency networks with varying degrees of packet loss.<\/li>\n\n\n\n<li>Provides built in security features that protect your data at rest and in transit, and provides encryption end-to-end.&nbsp;<\/li>\n<\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><em>To learn more about syncing with Resilio Active Everywhere,&nbsp;<\/em><a href=\"https:\/\/www.resilio.com\/schedule-demo\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>schedule a demo<\/em><\/a><em>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.<\/p>\n","protected":false},"author":51,"featured_media":10519,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[227],"tags":[142,158,295,184,189],"class_list":["post-10518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-serversync","tag-featured-secondary","tag-featured-tertiary","tag-post-with-sidebar-new-hero-section","tag-resilio-sync","tag-robocopy"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Sync Files from One Server to Another with Robocopy | Resilio Blog<\/title>\n<meta name=\"description\" content=\"Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Sync Files from One Server to Another with Robocopy | Resilio Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\" \/>\n<meta property=\"og:site_name\" content=\"Resilio Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-31T18:04:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-19T21:48:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"758\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Team Resilio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Resilio\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\"},\"author\":{\"name\":\"Team Resilio\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/dbac859fba0a6f5dc571c328b52be1e1\"},\"headline\":\"How to Sync Files from One Server to Another with Robocopy\",\"datePublished\":\"2023-01-31T18:04:19+00:00\",\"dateModified\":\"2025-12-19T21:48:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\"},\"wordCount\":2148,\"publisher\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png\",\"keywords\":[\"Featured-secondary\",\"Featured-tertiary\",\"Post with sidebar new hero section\",\"resilio sync\",\"Robocopy\"],\"articleSection\":[\"Server Sync\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\",\"url\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\",\"name\":\"How to Sync Files from One Server to Another with Robocopy | Resilio Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png\",\"datePublished\":\"2023-01-31T18:04:19+00:00\",\"dateModified\":\"2025-12-19T21:48:31+00:00\",\"description\":\"Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage\",\"url\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png\",\"contentUrl\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png\",\"width\":1536,\"height\":758,\"caption\":\"How to Sync Files from One Server to Another with Robocopy\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.resilio.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Sync Files from One Server to Another with Robocopy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#website\",\"url\":\"https:\/\/blog.resilio.com\/blog\/\",\"name\":\"Resilio Blog\",\"description\":\"Explore Common Use cases, How to&#039;s, Comparisons &amp; More\",\"publisher\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.resilio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#organization\",\"name\":\"Resilio\",\"url\":\"https:\/\/blog.resilio.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png\",\"contentUrl\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png\",\"width\":512,\"height\":512,\"caption\":\"Resilio\"},\"image\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/resilio-inc.\",\"https:\/\/youtube.com\/resilio\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/dbac859fba0a6f5dc571c328b52be1e1\",\"name\":\"Team Resilio\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e47dcb5de2df9c075b483ff541c52d4cd4c54a4496e448b10fb13158c29fdcef?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e47dcb5de2df9c075b483ff541c52d4cd4c54a4496e448b10fb13158c29fdcef?s=96&d=mm&r=g\",\"caption\":\"Team Resilio\"},\"sameAs\":[\"https:\/\/www.resilio.com\"],\"url\":\"https:\/\/blog.resilio.com\/blog\/author\/team-resilio\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Sync Files from One Server to Another with Robocopy | Resilio Blog","description":"Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another","og_locale":"en_US","og_type":"article","og_title":"How to Sync Files from One Server to Another with Robocopy | Resilio Blog","og_description":"Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.","og_url":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another","og_site_name":"Resilio Blog","article_published_time":"2023-01-31T18:04:19+00:00","article_modified_time":"2025-12-19T21:48:31+00:00","og_image":[{"width":1536,"height":758,"url":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png","type":"image\/png"}],"author":"Team Resilio","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team Resilio","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#article","isPartOf":{"@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another"},"author":{"name":"Team Resilio","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/dbac859fba0a6f5dc571c328b52be1e1"},"headline":"How to Sync Files from One Server to Another with Robocopy","datePublished":"2023-01-31T18:04:19+00:00","dateModified":"2025-12-19T21:48:31+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another"},"wordCount":2148,"publisher":{"@id":"https:\/\/blog.resilio.com\/blog\/#organization"},"image":{"@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage"},"thumbnailUrl":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png","keywords":["Featured-secondary","Featured-tertiary","Post with sidebar new hero section","resilio sync","Robocopy"],"articleSection":["Server Sync"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another","url":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another","name":"How to Sync Files from One Server to Another with Robocopy | Resilio Blog","isPartOf":{"@id":"https:\/\/blog.resilio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage"},"image":{"@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage"},"thumbnailUrl":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png","datePublished":"2023-01-31T18:04:19+00:00","dateModified":"2025-12-19T21:48:31+00:00","description":"Learn how to use Robocopy to sync file servers and the commands you can use to control how the sync is performed.","breadcrumb":{"@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#primaryimage","url":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png","contentUrl":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2023\/01\/robocopy-from-one-server-to-another.png","width":1536,"height":758,"caption":"How to Sync Files from One Server to Another with Robocopy"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.resilio.com\/blog\/robocopy-from-one-server-to-another#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.resilio.com\/blog"},{"@type":"ListItem","position":2,"name":"How to Sync Files from One Server to Another with Robocopy"}]},{"@type":"WebSite","@id":"https:\/\/blog.resilio.com\/blog\/#website","url":"https:\/\/blog.resilio.com\/blog\/","name":"Resilio Blog","description":"Explore Common Use cases, How to&#039;s, Comparisons &amp; More","publisher":{"@id":"https:\/\/blog.resilio.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.resilio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.resilio.com\/blog\/#organization","name":"Resilio","url":"https:\/\/blog.resilio.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png","contentUrl":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png","width":512,"height":512,"caption":"Resilio"},"image":{"@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/resilio-inc.","https:\/\/youtube.com\/resilio"]},{"@type":"Person","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/dbac859fba0a6f5dc571c328b52be1e1","name":"Team Resilio","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e47dcb5de2df9c075b483ff541c52d4cd4c54a4496e448b10fb13158c29fdcef?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e47dcb5de2df9c075b483ff541c52d4cd4c54a4496e448b10fb13158c29fdcef?s=96&d=mm&r=g","caption":"Team Resilio"},"sameAs":["https:\/\/www.resilio.com"],"url":"https:\/\/blog.resilio.com\/blog\/author\/team-resilio"}]}},"_links":{"self":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/posts\/10518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/comments?post=10518"}],"version-history":[{"count":0,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/posts\/10518\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/media\/10519"}],"wp:attachment":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/media?parent=10518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/categories?post=10518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/tags?post=10518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}