2019.10.15
Nathan Thompson
Lot of words for the Linux side{1}, but the Windows side will be pretty easy in comparison. While Linux has several, small, moving parts to configure, Windows has essentially one program, Acrosync. I fell into this software accidentally and it works pretty well all things considered, but please feel free to use your preferred Windows tool to execute rsync backups over SSH. With Microsoft adding Windows Subsystem for Linux to recent builds of Windows 10, perhaps it might be easier to simply install that and then work through the Linux Client instructions? However, I have not tested that method yet.
Acrosync is certainly a fine tool, but it does cost $30 for a single license. Checking my receipt from a couple years back tells me I paid $25 and it has been worth every penny. Even at the current price, it would be a worthwhile purchase. Then again, I have the one Surface Pro 3, my daughter's primary computer, as such, buying a single license is hardly a budget buster. For users with multiple Windows systems or commercial users, the licensing fees can be daunting. However, remember there are a numbers of ways to accomplish this same task on Windows and I encourage anyone to explore whatever best suits, their level of ability, time frame, and budget.
{1} To be fair, a lot of words for Linux, but once you do it, we are talking somewhere between 30 minutes to an hour, maybe. All depends on how familiar you are with the listed tools and how fast you can type!
ssh serveruser1@ServerIPAddress
nano ~/.ssh/authorized_keys
Ctrl X
to save.yes
to "Save modified buffer?"exit
in the SSH connection to server.Connection to YourServerIPAddress closed.
ssh serveruser1@ServerIPAddress
Enter passphrase for key 'C:\Users\WindowsUser1/.ssh/id_rsa':
Acrosync Installer dialogue:
"Install for anyone using this computer"
Acrosync Installer dialogue:
"Install Acrosync as a service"
Note, to launch Acrosync in a mode capable of accepting changes, you need to right click the app and then select "Run as administrator"
{2} "Auto Upload" adds the ability to backup files as they change, but it seems like a bad idea to select this setting for a profile meant to back up the entire user account. After all, with so many files in your home directory, there will be constant churn as the backup is continuously triggered. As I said, perhaps just stick with "Upload".
{3} After you select a schedule, the selection will change to the time selected, for instance, our selection would change to "Scheduled daily at 12:00am".
{4} This is the type of rsync backup I have considered switching to on the Linux side as well, but inertia has kept me with my old style of backups which was influenced by my time using Carbon Copy Cloner on the Mac.
{5} When I first set up my backup, I left this option unchecked. Of course, the first time the LAN connection was interrupted, a connection error occurred and the profile never ran again. Troubleshooting to no avail, all the while tearing out my hair trying to figure out why my backup stopped running from my Windows device, until finally noticing this checkbox was unchecked. Now I am bald, but happy, because my backup once again functions properly.
Acrosync Profile Configuration
Acrosync Scheduler Options
Where we go from here will depend on what you need out of your system, but assuming we have followed all three parts of Local Cloud Backup, we now have a Linux server configured, Linux client(s) configured, and Windows client(s) configured. My suggestion is to check out the tutorial on how to add shared media or the tutorial on using VNC to manage the server.