Trying to restablish rclone on a new system after system crash

What is the problem you are having with rclone?

My system crashed, forcing me to install a new OS (Kubuntu 24.04.4) and restore from my backup which is pretty good.

Now I'm trying to reestablish what I had in rclone previously not remembering all the steps I had taken to get this set up and it worked so well that I've forgotten all the setup I had done.

Basically I am trying to keep a local copy of one file in one directory on Google Drive.

I ran rclone config using all the data I had entered in my old config file (I probably could have just copied that file over but didn't since this rclone is a newer version.

That worked and now I want to start rclone and achieve an automatic sync between my local computer and the remote on Google Drive.

Run the command 'rclone version' and share the full output of the command.

$ rclone version 
rclone v1.74.2 
- os/version: ubuntu 24.04 (64 bit) 
- os/kernel: 6.17.0-35-generic (x86_64) 
- os/type: linux 
- os/arch: amd64 
- go/version: go1.26.3 
- go/linking: static 
- go/tags: none```

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount xxxx: /home/abcdefg/xxxx

But this only creates a temporary mount on my computer that goes away as soon as I close the command line. What are the commands I need to run on my local machine to make this connection permanent and always live?

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

rclone config redacted
[xxxx]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
root_folder_id = XXX
team_drive = 
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

Not putting this here as this issue is more a question than a problem. Thanks in advance.

Paste  log here

sorry, not sure what the means?

  • one-way sync, then use rclone sync
  • bi-directional sync, then use rclone bisync

check rclone docs - systemd or cron


fwiw, for syncing files use simple rclone sync not complex rclone mount

Got a more precise link for this info? I looked and couldn't find it.

use the search feature in the upper right corner


https://www.google.com/search?words=cron&q=cron+-site%3Aforum.rclone.org&as_sitesearch=https%3A%2F%2Frclone.org%2F


https://www.google.com/search?words=systemd&q=systemd+-site%3Aforum.rclone.org&as_sitesearch=https%3A%2F%2Frclone.org%2F

Okay, the more complicated mount method with systemd was what I used before and what I was happy with. I found my /etc/systemd/user/xxxx.conf file in my backup. Restored it on my new system.

And voila! Tested it, it works as before. Thanks for your help! It's all coming back to me now.

welcome, glad you worked it out...