A Robocopy Alternative, Resilio Connect

What is Robocopy?

Robocopy (Robust File Copy) is an MS DOS command-line tool for copying files, folders or drives for Windows OS. It is an upgraded version of xcopy and copy commands in Windows.

Robocopy vs. Rsync

Robocopy is included into MS Windows operating system as a default package for all versions starting from Vista. Robocopy is the Windows alternative to the famous Linux-based “rsync”. The tool is designed for reliable copying or mirroring while maintaining the permissions, attributes, owner information, timestamps and properties of the objects copied.

Robocopy Moves Files

Robocopy is able to:

  • Move folders/files with content to different locations
  • Mirror folders/files
  • Perform recursive folder copying
  • Maintain folder and files attributes

The functionality of Robocopy to move files is quite simple. The tool is usually used in order to synchronize data and to distribute files and changes.

Robocopy Features

When considering an alternative for Robocopy it’s important to understand  its capabilities and drawbacks.

Robocopy has a set of basic capabilities:

  • Tolerating network interruptions and resuming copying afterwards
  • Skipping NTFS junction points which can cause copying failures because of infinite loops
  • Keeping the folder metadata: copy file data and attributes correctly, preserve original timestamps, as well as NTFS ACLs, owner and audit information using command line switches.
  • Asserting the Windows NT “backup right” so an administrator may copy an entire directory, including files denied readability to the administrator.
  • Persistence by default, with a programmable number of automatic retries if a file cannot be opened.
  • A “mirror” mode, which keeps trees in sync by optionally deleting files out of the destination that are no longer present in the source.
  • Ability to skip files that already appear in the destination folder with identical size and timestamp.
  • A continuously updated command-line progress indicator.
  • Ability to copy paths exceeding 259 characters — up to a theoretical limit of about 32,000 characters — without errors
  • Multithreaded copying
  • Return code on program termination for batch file usage

Robocopy Problems and Solutions

Unfortunately, Robocopy (vs Rsync) to move files has a set of limitations and bugs. It is a perfect solution for a single user sharing a few files within Windows OS. However, when it comes to scaling, users can run into problems and a Robocopy alternative should be considered.

Robocopy Operating Systems Limitations

Moving files with Robocopy only works with Windows OS. If some of your machines use other operating systems, say Linux, you won’t be able to create a two-way channel. Having a platform independent product as an alternative to Robocopy, like Resilio Connect, solves this problem.

Speed of Robocopy vs. Alternatives

The only possible way to make Robocopy faster is by using multithreading. Multithreading is the ability of a central processing unit (CPU) to execute multiple processes or threads concurrently, supported by the operating system. So the speed of file processing with Robocopy vs. an alternative depends on the number of CPUs.

Peer-to-peer solutions like Resilio Connect are free of any kind of CPU limitations. The more peers are available, the higher processing speed is vs. the speed limit experienced with Robocopy.

Robocopy Moves Files

Robocopy works initially with folders. If you need Robocopy to sync files or folder, it takes additional effort. To move files using Robocopy, files need to be selected or excluded using the optional filespec filtering argument. Filespecs can only refer to the filenames relative to the folders already selected for copying. Fully-qualified path names are not supported. It also implies dealing with errors. This behavior is a drawback when dealing with particular files within a large folder hierarchy.

Most other Robocopy alternatives, including Resilio Connect, rsync, and other vendor-specific utilities work with both files and folders.

Robocopy File Size Limit

Robocopy can experience file size limitations, as Robocopy can’t handle terabyte-sized files. Windows has a certain amount of memory pool space that it can allocate to programs, if the program uses all the memory available from that pool, errors start occurring.

Resilio Connect as an alternative to Robocopy optimizes the checksum calculations so that it can sync files of any size, eliminating entirely the file size limitation seen with Robocopy and allowing for exceptional fast file transfer speeds.

Robocopy and SSH

Robocopy does not encrypt its connections and there is no way to configure SSH within the tool. It requires users to install and configure additional encryption channels such as SSH or VPN. Using additional channels means constantly managing and supporting configuration changes and other implementation complexities.

Any good Robocopyalternative should include encryption, so no additional products are required. The Connect uses AES128 in CTR mode to encrypt all the traffic that is sent between clients, including both data and all the control traffic.

Robocopy and Throttle Bandwidth/Limit Bandwidth

Robocopy is able to throttle bandwidth, but the delay parameter of the desired bandwidth speed must be calculated by a user according to the special formula. In practice, however, some experimentation is required to find a suitable delay, due to factors such as the nature and volume of other traffic on the network. Moreover, these factors are constantly changing, so get ready to monitor your network and tweak the bandwidth parameters for optimal results when using Robocopy vs alternatives.

Resilio Connect throttles bandwidth per job and with optimal dynamic parameters so that user doesn’t need to monitor and configure the settings.

Robocopy Bugs

Robocopy has several known bugs like infinite loops while copying folders that are actually junction or reparse points.

ֿAnother common bug that triggers looking for a Robocopy replacement, is not being able to mirror properly on systems older than Vista. Moreover, if a folder could not be processed properly, Robocopy produces infinite loops, which have to be canceled and fixed manually.

For multithreading, copying the progress bar is missing. With large size files, a user is not able to track the progress of copying for a long time period. Hence, real-time robocopy synchronization is not possible.

With Resilio Connect, you can track the progress of all operations simultaneously and in real-time thanks to its GUI, and it’s free of these types of bugs.

Resilio Connect vs. Robocopy

Overall, if one is looking for the best Robocopy replacement and needs a more robust and scalable solution, Resilio Connect alleviates many of the limitations. Its peer-to-peer synchronization technology, rebuilt for the enterprise, offers significant performance improvements over Robocopy in all sorts of scenarios. Below is a feature-by-feature comparison for your convenience of Robocopy vs. Resilio Connect.

Feature Resilio Connect Robocopy
Delta encoding
Dynamic routing
WAN optimization
All OS
1M+ files
Large files size

Are you interested in learning more to see if Resilio Connect is the Robocopy replacement or alternative you’ve been looking for?

Or, would you prefer to schedule a Resilio Connect demo or start a free trial to see how much faster your syncing could be.