

Windows 10 hasn’t got the SMB Compression functionality rolled out yet, but is slated to have support for it through updates, too. This means that Windows Server 2019 gained the functionality even earlier than the Preview build. The program can even create incremental backups that only back up recent changes rather than complete backups. With 72 parameters, it leaves little to be desired and can handle pretty much any backup.

Ironically, Microsoft released Windows Server vNext Insider Preview version 20206 on September 2nd, 2020 and released KB4571748, for Windows Server 2019 on August 20th, 2020. switch /TIMFIX which does much the same as /COPY:DT but it doesnt fix the time stamps on folders. Robocopy is the most versatile of Windows’s native copy tools, followed by xcopy and copy. Currently the list is XPRESS (also known as LZ77), XPRESS Huffman (LZ77+Huffman) and LZNT1. SMB Compression uses a negotiation mechanism, so multiple compression algorithms are possible, and vendors can add their own. Depending on the (in)efficiency of file formats and the IO pattern, the performance increase in copies can be up to fourfold. It knows where to start from using that recovery record having the date/time stamp information. It uses the concept of timestamp and datestamp for incomplete file transfers, that help in tolerating network interruptions. It is a much better method of copying large datasets or lots of files. Microsoft Windows’s file replication command is known as Robust file copy or simply called Robocopy. When the command switch is used, the SMB Compression functionality adds inline whitespace compression to file transfers, removing congestion and copy time. Robocopy is a robust file copying program built into Windows similar to UNIX rsync. When using this switch, If the destination computer supports SMB compression and the files being copied are compressible, you should see significant performance improvements. The announcement for Windows Server vNext Insider Preview version 20206 mentions that Microsoft added the /compress command switch to robocopy.exe. The feature that I want to discuss with you today is SMB compression with robocopy.exe. I crafted up a command batch file with the three robocopy commands to copy the ISOs over, on my return to work the next morning, they were all there. Microsoft is working hard to add features to Windows Server vNext, but is not forgetting about the vast majority of organizations that run Windows Server 2019 and might like the same functionality. One particular day, I needed to get about 6GBs of ISOs from the VPN and we kept loosing connection to the remote server.
