Windoze

RClone - RSync for Cloud Services

What is RClone

RClone is a command line program that syncs files and directories to and from a handful of cloud services.

Features
  • MD5/SHA1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, eg two different cloud accounts
  • Optional encryption (Crypt)
  • Optional FUSE mount (rclone mount)
Supported services
  • Amazon Drive
  • Amazon S3
  • Backblaze B2
  • Box
  • Ceph
  • Dreamhost
  • Dropbox
  • FTP
  • Google Cloud Storage
  • Google Drive
  • HTTP
  • Hubic
  • Memset Memstore
  • Microsoft Azure Blob Storage
  • Microsoft OneDrive
  • Minio
  • OVH
  • Openstack Swift
  • Oracle Cloud Storage
  • QingStor
  • Rackspace Cloud Files
  • SFTP
  • Wasabi
  • Yandex Disk
  • The local filesystem
Supported Platforms
  • Windows
  • OSX
  • Linux
  • FreeBSD
  • NetBSD
  • OpenBSD
  • Plan 9
  • Solaris

Windoze Install

From pre-compiled binaries

Fetch and unpack

Download it from https://downloads.rclone.org/rclone-current-windows-amd64.zip

unzip rclone-current-windows-amd64.zip

Create C:\Program Files\rclone

Copy the recently unziped files into this directory

Save script below C:\Program Files\rclone\rclone.bat

SET RCLONE_ROOT_FOLDER_NAME=
SET RCLONE_FOLDER_NAME=

SET RCLONE_DEST=SomeBackupService:%RCLONE_ROOT_FOLDER_NAME%

cd "C:\program files\rclone"

for /f "tokens=1,2 delims=;" %%X in (sources.txt) do (
    echo %%X
    echo %%Y

    rclone.exe --config="./.rclone.conf" --exclude-from "excludes.txt" -v sync "%%X" %RCLONE_DEST%/%RCLONE_FOLDER_NAME%/%%Y

)

Set RCLONE_ROOT_FOLDER_NAME to the name of the folder on your cloud service where you want backups to be synced to.

Set RCLONE_FOLDER_NAME to the name of this backup job (assuming you have multiple machines/jobs backing up to the same cloud service).

Create a file called C:\Program Files\rclone\sources.txt file with a line for each source directory to backup, like so:

C:\Users\admin\Desktop;Desktop

The path before the ; is the source path. After the ; is the path used by the cloud service.

Now create the file C:\Program Files\rclone\excludes.txt with a line for each globally excluded pattern:

"desktop.ini"
"Photo Booth Library"
".DS_Store"
".localized"

Run rclone.exe config to generate a config for that machine.

Move the generated config file from %USERPROFILE% to C:\Program Files\rclone.

Done!

Final Thoughts

The app is quite light too, it does not "fry" the CPU as Google's sync app or Dropbox's sync app do. I believe it is faster too.

Homepage: https://rclone.org

Documentation: https://rclone.org/docs/

Downloads: https://rclone.org/downloads/

Wiki: https://github.com/ncw/rclone/wiki

Forums: https://forum.rclone.org/

Github Project: https://github.com/ncw/rclone

 

© 2019 Mteam7 - All rights lorem ipsum dolor sit amet, consectetur adipiscing elit.*