r/ProtonDrive • u/tilion_silverbow • 7d ago
Rclone on Linux Mint question
Hey everyone!
New to Rclone, and fairly new to Linux, so bear with me.
I'm having difficulty figuring out whether I should use rclone's mount command or just the more simple (to my mind) sync.
I have one folder on my computer that I want to sync (one direction) with Proton Drive. It isn't necessarily a big deal to me that it syncs on the fly, though if that's easy enough to configure, I'm opem to it. Otherwise, I'm fine with like a once a day sync kind of setup as long as it doesn't take an absurd amount of time. (I don't make huge amounts of changes every day or anything. I'm an average user.)
For my situation, would there be any downsides to just running (automating?) rclone sync once a day? Or maybe it would be better to mount?
1
u/Bob_Spud 7d ago
Do some homework on protondrive-cli
1
u/tilion_silverbow 7d ago
As far as I know protondrive-cli doesn't support syncing folders. I could copy folders and their contents just fine with the cli, but it wasn't a true sync. But maybe I missed something.
1
u/Bob_Spud 7d ago edited 7d ago
Protondrive-cli will sync directories on demand, it does not operate in continuous data protection (CDP) mode (aka real-time backup).
Last time I looked you couldn't run it as a cron or at job. I would only work if you had the desktop GUI running and yo were logged in - Proton needs to fix that bad design.
Rclone doesn't run in CDP mode, its only on demand.
1
u/tilion_silverbow 7d ago
Which protondrive-cli command do you use to sync directories on demand? `filesystem upload` does not really sync.
For example, I upload a local folder called "Test" with a subfolder "Folder 1." If I change the name of that subfolder locally (let's call it "Folder 2") and then run `filesystem upload` on the parent folder "Test," it will add "Folder 2" to Proton Drive, but it will also still keep "Folder 1."
The rclone `sync` command doesn't do this. It would delete "Folder 1" from Proton Drive.
1
1
u/CapitaineFlamQuebec 4d ago
If you decide to use the CLI, you may take a look to my solution for a one way backup to Proton with the official Proton CLI: https://github.com/lafontaj/proton-drive-cli-sync
1
u/squidw3rd 7d ago
I might try the Proton CLI instead. It's been a while since I tried proton with Rclone but it didn't seem to jive when I did.
Regardless there is no down side to automating the process. Make a simple systemd service and a timer and you're golden. Note that sync will also delete anything if it isn't any longer in the source folder. Copy will not do this.