55
submitted 4 days ago* (last edited 2 days ago) by hedge@beehaw.org to c/foss@beehaw.org

. . . what do you use instead? AlternativeTo mentions (among a few others) Cozy and Filen; anyone use either of these? Internxt got a pretty bad review from someone on Medium.

you are viewing a single comment's thread
view the rest of the comments
[-] stewie410@programming.dev 2 points 2 days ago
[-] hedge@beehaw.org 1 points 2 days ago* (last edited 2 days ago)

Yeah, I know, "RTFM." I did, but am still kind of confused. A "remote" presumably means a remote folder/share/whatever in the cloud, in this case on Proton Drive, yes? If I want to set Rclone to automaticlly sync, say, my home folder to Proton Drive, Rclone has to run as a service on startup for this to work. They say

Start as a service: To always run rclone in background, relevant for mount commands etc, you can use systemd to set up rclone as a system or user service. Running as a system service ensures that it is run at startup even if the user it is running as has no active session. Running rclone as a user service ensures that it only starts after the configured user has logged into the system.

But I don't know how to do that . . . I've found a few, I guess, "scripts" for this online but each one is a bit different. Unfortunately, just because I'm a Linux person doesn't mean that I know what I'm doing . . .

EDIT: After some further research, I found a couple scripts, but since each one is a bit different, I'm not sure which one to choose or how to write one that best suits my needs . . . would be kind of nice if Rclone would include this somewhere in their documentation; so far I haven't found anything.

EDIT EDIT: I would say that this is fairly complicated for the average user, but my research continues . . .

EDIT EDIT EDIT: Can anyone attest to this, this, or this?

[-] leetnewb@beehaw.org 2 points 2 days ago

All three of those links are very outdated - I do not recommend trying to use any of them.

Can you be more specific about what you are trying to do exactly? I know rclone is confusing to get started on, in part because it does so many different things and the documentation requires some background/outside knowledge.

[-] hedge@beehaw.org 2 points 2 days ago

All three of those links are very outdated - I do not recommend trying to use any of them.

Yeah, they did look a bit suspect. Bookmarks deleted!

Can you be more specific about what you are trying to do exactly?

Thanks, I was hoping someone would ask, although I have been trying to "RTFM" and figure it out on my own 🙂. I've already installed the lastest .deb—basically I would like to use RClone to continuously sync the home folder on my laptop to Proton Drive (after having RClone autostart) in more or less the same way that I use Syncthing to sync a few important folders from my laptop to my phone. The setup with RClone I envision would be a one-way sync from my laptop to Proton Drive. In the absence of a Proton Drive client for Linux, can RClone be set up to do any of these things? And does RClone/PD support versioning?

[-] leetnewb@beehaw.org 2 points 2 days ago

I'm far from an expert, but I don't know of rclone doing versioning, or a continuous sync like syncthing. Also haven't used proton, so take my thoughts with a grain of salt.

Stage 1 Run rclone config to set up the proton remote. rclone config should take you through a wizard and will eventually ask you to authenticate somehow with the remote. Once that is done and saved, you'll exit the rclone config wizard and be back at the command line.

Then you would run a test command like: rclone ls :

If it worked, you should see a list of files/folders on Proton. If not, you'll have to go back to rclone config and edit the remote to fix whatever went wrong.

Stage 2

Test out copying the folders with a command something like: rclone copy localfile/folder remotename:remotepath

Do some testing to get the hang of the command, but it is pretty straightforward.

Stage 3

I don't know how many files or how big the files are, but I assume not too many and not too big. I also don't know which version of Linux you have, but I assume you have access to systemd, cron, or both.

You'll make a basic shell script that runs the command you practiced in stage 2. Easy peasy, put it in a text file with a shebang at the beginning, make it executable, and give it a go. It should run exactly how it did when you typed the command out manually.

Finally, you will write a systemd timer or a cron/crontab entry to execute that script at some frequency.

So just to summarize:

  1. Setup the proton remote in rclone using rclone config
  2. Test out copying files to proton through rclone
  3. Write a basic shell script that runs the command to copy files from the desired local folders to the desired proton folders.
  4. Use one of the tools on Linux that lets you schedule the execution of scripts to automate running your copy to proton script as frequently as makes sense to you.
load more comments (3 replies)
load more comments (3 replies)
this post was submitted on 14 Sep 2024
55 points (100.0% liked)

Free and Open Source Software

17729 readers
47 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS