User Tools

Site Tools


computing:windows:sync_tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:windows:sync_tools [2015/10/05 09:54]
gcooper
computing:windows:sync_tools [2024/03/09 09:17] (current)
gcooper
Line 8: Line 8:
  
 https://www.howtoforge.com/tutorial/unison-file-sync-between-two-servers-on-debian-jessie/ https://www.howtoforge.com/tutorial/unison-file-sync-between-two-servers-on-debian-jessie/
 +
 +===== Rclone =====
 +
 +**Docs**: https://rclone.org/docs
 +
 +**Filtering**: https://rclone.org/filtering/
 +
 +**Forum**: https://forum.rclone.org
 +
 +  * **Command-line tool to manage files on cloud storage**
 +  * Multi-platform, including Windows, Linux and MacOS
 +  * No installation required for Windows, just unzip into folder of your choice
 +
 +<note tip>**This tool seems to offer the best performance when uploading/moving/migrating large shares to/from cloud storage.**</note>
 +
 +==== Configure Remote ====
 +
 +<file>
 +cd c:\Support\rclone\rclone
 +
 +.\rclone.exe config
 +</file>
 +
 +Choose **WebDAV** for many cloud services, enter the WebDAV URL, username and password.
 +
 +<note tip>
 +VA Cloud Storage URL:
 +
 +''https://cloud.virtualarchitects.com/remote.php/dav/files/<username>/''
 +</note>
 +
 +<note>**Copy**: copy files from source to dest, skipping identical files, does not delete files on destination
 +
 +**Sync**: make destination the sames as source, delete anything else on destination</note>
 +
 +==== Copy ====
 +
 +Example copy a drive to the cloud, excluding dot files and some others:
 +
 +<file>
 +.\rclone.exe copy x:\ remotename:foldername --exclude '.**' --exclude=**.tmp** --exclude *.ffs_lock --exclude Thumbs.db --progress --log-file=foldername.txt --dry-run
 +</file>
 +
 +<file>
 +--dry-run
 +--progress
 +</file>
 +
 +==== Sync ====
 +
 +<file>
 +.\rclone.exe sync ...
 +</file>
 +
 +The sync subcommand **makes the source and destination identical**, modifying only the destination.  Files in the destination not in source are deleted.
 +
 +==== Exclusions ====
 +
 +https://rclone.org/filtering/
 +
 +Exclude dot files (hidden files with filenames beginning with a period):
 +
 +<file>
 +--exclude '.**'
 +</file>
 +
 +==== Logging ====
 +
 +https://rclone.org/docs/#log-level-level
 +
 +Log levels are, from least verbose to most: **ERROR** or **NOTICE** or **INFO** or **DEBUG**.  The default, NOTICE, is usually sufficient.
 +
 +<file>
 +--log-file mylogfile.txt
 +--log-level INFO
 +</file>
computing/windows/sync_tools.1444060496.txt.gz · Last modified: 2015/10/05 09:54 by gcooper