rclone copies and syncs files between the local disk and cloud storage such as pCloud. I use it for the nightly encrypted pCloud backup, installed with Homebrew.
What matters for backups
- Remotes are named storage targets set up with
rclone config. A crypt remote wraps another remote and encrypts file names and contents on the client, with a password and a salt. The storage service only sees scrambled names. rclone syncmirrors a source to a target. It has no versioning of its own; with--backup-dirthe files that would be overwritten or deleted are moved to another folder instead.rclone checkcompares source and target. With crypt there is no common hash, so it compares size and time.--dry-runshows what would happen without changing anything.
Caveats
--min-agefilters by the file's modification time, which--backup-dirkeeps, not by when the file was archived.- The output of
rclone configand the file~/.config/rclone/rclone.confcontain the OAuth token; the passwords in the file are only obscured, andrclone revealmakes them readable. - A crypt remote can only be recreated with the original password and salt. Generating new ones makes a different key, and the old data stays unreadable.
- Used in
-
- Encrypted pCloud Backup with rclone Guide: a nightly, client-side encrypted backup from the Mac to pCloud with rclone and launchd, with a 90-day archive and tested restores.
- Mentioned in
-
- pCloud Cloud storage service with accounts in an EU and a US region. I keep the offsite copy of my backup there, encrypted by rclone.
- Tags