How to use rclone with rsync.net

  • Create an SFTP backend with rclone config

    • To include password in rclone config file ~/.config/rclone/rclone.conf, you first need to obscure the password. The obscured string can be obtained by rclone obscure <password> which can then be copy/pasted into the pass = property in the rclone config file.
  • Test the above with e.g. rclone lsd rsync-net:

  • Create a crypt backend named e.g. crypt at remote path named e.g. rclone-crypt

    • So rclone-crypt is like a folder in the remote SFTP, whose contents will be encrypted. The remote:path will then be rsync-net:rclone-crypt

My rclone config file is

 1[rsync-net]
 2type = sftp
 3host = ch-s012.rsync.net
 4user = 19161
 5pass = 
 6md5sum_command = md5 -r
 7sha1sum_command = sha1 -r
 8
 9[rsync-crypt]
10type = crypt
11remote = rsync-net:rclone-crypt
12password = 
13password2 = 
14
15[b2]
16type = b2
17account = 
18key = 
19
20[b2-crypt]
21type = crypt
22remote = b2:sagar-rclone
23password = 
24password2 = 
  • rclone mkdir rsync-crypt:“Calibre Library”
  • Can then copy or sync with e.g.
    • rclone copy -P Calibre\ Library rsync-crypt:ebooks/Calibre\ Library/
    • Note that always the content of the source folder will be copied directly into the destination folder. the source folder itself will not be copied.

rclone with backblaze b2

  • Create a bucket named sagar-rclone
  • Create a new application key, which can only access the bucket named sagar-rclone
    • When that is created, the keyID and the Application Key flash up temporarily on the screen. Copy them, because they then disappear forever.
  • create rclone b2 config with keyID and Application Key
  • create rclone crypt with b2:sagar-rclone

GUI

  • rclonebrowser is a decent GUI tool that can be downloaded from its github as an AppImage for Linux.