Free Windows file sync programs? FreeFileSync, etc.

Started 5 months ago | Discussions thread
PHXAZCRAIG
PHXAZCRAIG Forum Pro • Posts: 19,531
Re: Free Windows file sync programs? FreeFileSync, etc.

I have seen/tried a number of sync programs over the past couple of decades, starting years ago with Rsync.

I've ended up doing a simple batch file in Windows using the Windows scheduler and robocopy.

Here are some details in case you go this path. It's actually quite easy to use.

First, I have a batch file in one of my folders, and I point to it with the Windows scheduler. Doesn't really matter where it is located.

Within the file, I have these commands, including a few comments to remind me what the options do. I am initially backing up files from two main folders and all the subfolders. One source folder is called DownloaderPro and is where I temporarily save new files while I initially post-process them. Once done with that (could be months) I move them to their permanent location on a dedicated hard drive (E:), and that is the second source folder.

I also back up several other folders used for web pages.  I have options to skip files I don't need to back up.

The target folders are on a NAS. The NAS itself has a sync program I used to back the files up to a second NAS.  I have my own DNS to resolve the NAS name to an IP address, but you can map a drive to the IP address directly if you want.

The batch file is named copy2qnap.bat. I used QNAP devices for NAS.

*******

rem M:=\\Supernas2
net use m: \\supernas2\Multimedia2
rem net use m: \\192.168.101.96\
rem
rem Working SSD drive to QNAP first

robocopy d:\downloaderpro m:\downloaderpro /MT:64 /R:2 /E /XO /TIMFIX /FFT /xf d:\pagefile.sys /xd d:\database d:\nxcache d:\temp d:\temp2 d:\$recycle.bin d:\recycler "d:\System Volume Information"
robocopy d:\working m:\working /MT:64 /R:2 /E /XO /TIMFIX /FFT /xd "d:\System Volume Information" d:\pagefile.sys
robocopy d:\webpages m:\webpages /MT:64 /R:2 /E /XO /TIMFIX /FFT /xf d:\pagefile.sys /xd d:\database d:\nxcache d:\temp d:\temp2 d:\$recycle.bin d:\recycler "d:\System Volume Information"
robocopy d:\videos m:\videos /MT:64 /R:2 /E /XO /TIMFIX /FFT /xd "c:\System Volume Information"
rem
rem copy photos to QNAP
robocopy e:\photos m:\photos /MT:64 /R:2 /E /XO /TIMFIX /FFT /xf d:\pagefile.sys /xd d:\database d:\nxcache d:\temp d:\temp2 d:\$recycle.bin d:\recycler "d:\System Volume Information"

rem robocopy r:\intranet m:\intranet /MT:64 /R:2 /E /XO /TIMFIX /FFT /xd "r:\System Volume Information" r:\pagefile.sys
rem /E=copy subdirectories, including empty ones
rem /XO=exclude older files (only copy newer ones if same name)
rem /TIMFIX=fixes file times on all files, even skipped ones
rem /FFT=assumes Fat File Times (2-second precision)
rem /xd=eXclude Directories
rem /R:2=only two retries on a failure (default is 1 million)
rem /MT:64=enable 64-bit multithreading

**********

-- hide signature --

Phoenix Arizona Craig
www.cjcphoto.net
"I miss the days when I was nostalgic."

 PHXAZCRAIG's gear list:PHXAZCRAIG's gear list
Nikon D80 Nikon D200 Nikon D300 Nikon D700 Nikon 1 V1 +45 more
Post (hide subjects) Posted by
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow