. . . 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.

3 points

pCloud have a nice Linux implementation, gets a drive in the file manager.

permalink
report
reply
1 point

Rclone seems like a good bet; however I’m a bit confused as to how to get started. Would one of you kind souls be good enough to guide me through some of the process? I’ve installed the latest .deb, and if I want to (eventually) sync my home folder to Proton Drive, then rclone needs to run at startup in the background, yes? What is the command for this? It’s not just rclone, it has to be rclone rc or rcd . . . ? Or pehaps I need to set up Proton Drive to receive my files first?

permalink
report
reply
3 points

Looks like they have an official tutorial.

permalink
report
parent
reply
1 point
*

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?

permalink
report
parent
reply
2 points

Yeah, I know, “RTFM.”

Sorry, I didn’t mean to come across in a condescending way, if that’s how it read. I’ve only ever used rclone for Google Drive, and its been quite a while since I’ve personally set it up, as I no longer daily-drive linux (outside of WSL).

A “remote” presumably means a remote folder/share/whatever in the cloud, in this case on Proton Drive, yes?

Yes, following the documentation, you would run rclone config, then answer as follows:

  • Create/Edit/Quit: n
  • Name: proton
  • Storage: protondrive
  • User: username@protonmail.com
  • Password: y to enter your password; then enter your password twice as prompted
  • 2FA: If you have 2FA configured, enter the 6-digit OTP; else press <Enter> to skip
  • Keep this “proton” remote?: y

This should create a proton-drive remote called “proton”, which you can reference in further rclone commands. For example:

# Check if out of sync
rclone check 'proton:' ~/proton 2>&1 | grep --quiet ' ERROR :'

# Sync local/remote
rclone sync 'proton:' ~/proton

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.

In the past, I wrote a script to handle the check/sync job, and scheduled it to run with crontab, as it was easier for me to work with. Here’s an example of the script to run rclone using the proton: remote defined above:

#!/usr/bin/env bash

# Ensure connected to the internet
ping -c 1 8.8.8.8 |& grep --quiet --ignore-case "unreachable" && exit 0

# If in-sync, skip sync procedure
rclone check 'proton:' "${HOME}" |& grep --quiet ' ERROR :' || exit 0

# Run sync operation
rclone --quiet sync 'proton:' "${HOME}"

If scheduling with crontab, running crontab -e will open your user’s schedule in the $VISUAL, $EDITOR or /usr/bin/editor text editor. Here, you could enter something like

0,30 * * * * /home/your_user_name/proton_sync.sh

Which would try to sync once every 30 minutes (crontab-guru).

you can use systemd to set up rclone as a system or user service

This is also an option, assuming your system is using systemd; which most distributions have moved to – you typically have to go out of your way to avoid it. I also don’t have much experience in writing my own service/timer files; but it looks like systemd-run may have you covered as well (source):

# Run every 30 minutes
systemd-run --user --on-calendar '*:0/30' /home/your_user_name/proton-sync.sh

While I know writing config files and working with the terminal can be intimidating (it was for me in the beginning, anyway); I’d really recommend against running random ‘scripts’ you find online unless you either 100% trust the source, or can read/understand what they are doing. I have personally been caught-out recently from a trusted source doing jank shit in their scripts, which I didn’t notice until reading through them…and Linux Admin/DevOps is my day job…

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
2 points

rclone

permalink
report
reply
3 points

Tresorit is expensive but the client works really well. Mounts to local storage then run grsync to backup everything.

permalink
report
reply
2 points

I’ve used this for sharing large files and liked it, but I don’t think it’s open source . . .

permalink
report
parent
reply
3 points

You are right. Sorry didn’t check where this was posted.

permalink
report
parent
reply
1 point

No worries 🙂

permalink
report
parent
reply
6 points

pcloud

I’m not much of a Cloud Drive user, but experimented with pcloud. It has a CLI tool and the ability to show up in the local filesystem, so you can browse through with your graphical filemanager: https://www.pcloud.com/download-free-online-cloud-file-storage.html

Free Tier

I only used the Free Tier without time limitation. Just logged in to the web client in browser to see if my files are still there, and I still have my files uploaded 2 years ago. I think Free Tier starts with 1 GB of free space and you can unlock more and more if you do some tasks like installing the CLI tool and such (I have 5 GB of space without time limtations). And the files are stored in European servers; not sure if I had a choice at account creation time or if this is tied to the location where I am.

If you want more space, you can either pay annually or a one time payment for lifetime access (500gb for 200 Euros, 2 TB for 400 Euros…).

permalink
report
reply
3 points

@thingsiplay Last year they offered 20 GB free for every referral - both for you and the person you referred - because of their anniversary. And the features just make it such a compelling option as well. Such a great service.

@hedge

permalink
report
parent
reply

Free and Open Source Software

!foss@beehaw.org

Create post

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.

Community stats

  • 876

    Monthly active users

  • 418

    Posts

  • 2.2K

    Comments