Hacker News new | ask | show | jobs
by stevenringo 2856 days ago
Have you looked at https://rclone.org/? Also written in Go, and handles more cloud providers (and SFTP) than you can shake a stick at.
2 comments

+1 for rclone, it is fantastic and I am using it to sync both local filesystems to backblaze b2, as well as directly from a remote SFTP filesystem also to backblaze b2 or local.

Have also used it to back up my Google Drive, it exports all of the google documents as like docx or xlsx (or whatever you request). Critical for a small non profit where we use Google Drive to keep all our docs, theres no good easy way to back it up otherwise.

It's really a fantastic bit of software.

Having said that it seems OPs use case was really to explore "Go Cloud" so it's probably not that helpful input in the context of the actual article, but great context for anyone reading the comments that might actually want such a working solution.

One thing I keep getting errors from rclone about that is sortof related to this, is that it can't sync symlinks from SFTP as it doesn't really understand them - something that can be fixed but it's an example of the fact you always have side cases to cover- even though rclone seems to have done a good job at handling many of them.

I just discovered the joys of sshfs which lets you mount whatever you can ssh/sftp into. What'll they think of next.. https://github.com/libfuse/sshfs