View Single Post
  #14  
Old May 14th 19, 04:25 PM posted to alt.comp.os.windows-10,microsoft.public.windowsxp.general,alt.comp.freeware
Arlen G. Holder
external usenet poster
 
Posts: 236
Default Do you have an existing working automatic sync setup for all your devices on your home LAN?

On Tue, 14 May 2019 11:01:58 +0100, wasbit wrote:

Features - https://freefilesync.org/faq.php#operating-systems


Hi wasbit,

Thanks for adding value to the potluck picnic that is Usenet, where
everyone tries to bring something of value to share with everyone else.

Philosophically, I _should_ read all the fine instructions, but, for
freeware, the cost is in the testing, where _one_ of the tests for a
general-purpose solution (which I always strive to seek) is simply how
"intuitive" the GUI is, so I just dove in, just as I did with the other
tests.

To do my part, I wrote up a running ad hoc log file which starts he
o *FreeFileSync*
https://freefilesync.org
https://freefilesync.org/faq.php#operating-systems
http://download2332.mediafire.com/dh5iho74dvug/ua18cq0u6tco3sk/FreeFileSync_10.12_Windows_Setup.exe

The FreeFileSync home page is guilty of lots of huge green "Download"
buttons, most of which go to some kind of "driver" download, so caveat
emptor, where the executable is finally found by on a comparatively tiny
link which I included above to save others the eyestrain looking for it.

I saved the file to
C:\installer\network\autosync\freefilesync\FreeFil eSync_10.12_Windows_Setup.exe
When you install, it asks you to accept four licenses
o GNU
o OpenSSL & SSLeay
o CURL
o libssh2
It wants to go into C:\Program Files\FreeFileSync
I put it into C:\app\network\autosync\freefilesync
You get a choice at this point of:
[X]Select installation base
(o)Local (recommended)
(_)Portable (Requires FreeFileSync Donation Edition)
[x]Create shortcuts
[x]Desktop
[x]Start Menu
[x]Send To
The _next_ unique screen caught me by surprise, which I'll not spoil for
the reader, and then it quickly installed.

This created two desktop icons & a "send to" list item.
FreeFileSync: C:\app\network\autosync\freefilesync\FreeFileSync. exe
RealTimeSync: C:\app\network\autosync\freefilesync\RealTimeSync. exe

As always, I first turned off the automatic check for updates.
As usual, there was a left & right side, although they're both labeled the
same in this FreeFileSync software.

I hit the "Browse" button on each side, setting the source at left to
navigate to the LGStyle3Plus which was connected via USB & MTP, which
resulted in a "path" of:
mtp:\LGStylo3Plus\SD card\test1
On the destination at the right, I browsed to the test area:
C:\tmp\test1
On Android, I'd prefer to modify a file but I'm having an unrelated issue
modifying text files on the SD Card
o Can someone gently explain why I can't edit files on my own SD card from Android file explorers?
https://groups.google.com/forum/#!topic/comp.mobile.android/tqF0ONRVACE

Also, on Android, I'd prefer to modify a _binary_ file (such as the
passwd.kdbx or a photo, but for now, I'm only doing _simple_ tests).

For the simplest test, I added a set of calendar (ics), contacts (vcf),
passwd (kdbx), and other files (jpg, txt, etc.) to the source directory on
the Android device from the Android device.

When I hit the "Compare" button in FreeFileSync, it showed those files in
green, and, then I looked for the "backup" button, but there is only a
"synchronize" button, I think (which is two way).

LATER EDIT: The "backup" and other options was later found at:
FreeFileSync:Actions Synchronization Settings, which have options for
o Two way
o Mirror
o Update
o Custom

In this case, that's the same thing, where a warning popped up about the
recycle bin (apparently the new kdbx file had the same name as the old?),
Warning: The recycle bin is not supported by the following folders.
Deleted or overwritten files will not be able to be restored.
mtp:\LGStylo3Plus\SD card\test1

For some strange reason, the sync seems to take the longest (by far) with
this app than with the GoodSync app (dunno why, but the difference is
tremendous in time), although it should be noted that all the other tests
were really just one-way backups - so this test was the first two-way sync
I've done in this test series.

Finally, a Warning came up which was too long to re-create here, where this
is the first warning:
"Cannot write modification time of "mtp:\LGStylo3Plus\SD
card\test1\_gsdata_filename.ffs_tmp". Setting the modification time
(5/14/2019 12:32:12 AM) was silently ignored by the device (5/14/2019
7:55:45 AM).

All these warnings have a "don't show again" & "ignore" option, so they are
fine, IMHO, to see them as this is the first two-way sync I've tried in
this test so I'm not sure if the others give the same warning.

The goal, of course, is _automation_, so looking about, I see there is a
way to save the setup as a file:
FreeFileSync:File Save As SyncSettings.ffs_gui

And then I see there is a way to save the setup as a _batch_ file:
FreeFileSync:File Save as batch job

The instructions are reasonable, which a
"Create a batch file for unattended synchronization. To start,
double-click this file or schedule in a task planner.
FreeFileSync.exe job name.ffs_batch
Where the checkbox options a
[_]Run minimized
[_]Auto-close
[_]Ignore errors
(o)Show error message
(_)Cancel
When finished: Do nothing, System Sleep, System Shutdown
Where there is a help link which points to:
https://freefilesync.org/manual.php?topic=schedule-a-batch-job

Saving the batch file automatically names it:
SyncSettings.ffs_batch
Where a quick look at the text file shows it to be an XML file.

In summary, this is a _great_ addition to the repertoire, where the current
summary for using these freeware tools to automatically copy, mirror, and
sync files on an Android device over MTP on USB cable is:

THESE WORKED OVER USB WITH ANDROID AS MTP:
o *FreeFileSync*
https://freefilesync.org
https://freefilesync.org/faq.php#operating-systems
http://download2332.mediafire.com/dh5iho74dvug/ua18cq0u6tco3sk/FreeFileSync_10.12_Windows_Setup.exe

o *GoodSync Free*, Windows, Mac, Linux, NAS, iOS, Android
https://www.goodsync.com
https://www.goodsync.com/download/GoodSync-v10-Setup.exe
https://www.goodsync.com/download/GoodSync-v10-2Go-Setup.exe

THESE FAILED OVER USB WITH ANDROID AS MTP:
o *Microsoft SyncToy* 2.1
https://www.microsoft.com/en-us/download/details.aspx?id=6523
https://download.microsoft.com/download/6/c/4/6c406239-a648-4e01-833e-2c452deed3b6/SyncToySetupPackage_v21_x64.exe

o *SyncBack Free*
https://www.2brightsparks.com/syncback/compare-simple.html
https://www.2brightsparks.com/assets/software/SyncBack_Setup.exe

o *Resilio Sync* (free)
https://www.resilio.com
https://www.resilio.com/individuals-sync/
https://download-cdn.resilio.com/stable/windows64/Resilio-Sync_x64.exe

o *DSynchronize* (free)
http://dimio.altervista.org/eng/dsynchronize/dsynchronize.html
http://dimiodati.altervista.org/zip/dsynchronize.zip

NOTE: The ones that failed as MTP over USB would have worked if I had
bothered to set up the Android device as a removable drive letter using any
free WebDAV or FTP server running on the Android device for that drive
letter assignment to work, which, is easy to do, but which wasn't the
original goal - but - it must be noted - that adding a server on Android
enables the sync to occur over WiFi - which has value if that were the
original goal). Note that unless the Android device is rooted, the
seemingly logical choice of SMB/CIFs isn't effectively available for
reasons that we've discussed many times in the past so I won't belabor them
here.
Ads