Restoring .config/rclone/rclone.conf will work?

I have set up rclone on small vps, as I use them to back up my lectures on google drive,which I will be using to watch them in future.

Somehow I wish to reinstall os on my vps.

My question here is, After reinstalling rclone on same vps (after installation of os) what if I just copy/restore my rclone.conf back in place?

Will my rclone work?

I know I can set up new authentication again, but just incase if I don't want to? Will restoring that config file will work. And username on os will also stay same.

this is not off-topic, as it is a good question.

sure, you can copy the rclone.conf from the vps to an off-site location,
then after the installation of the os, you can copy the rclone.conf back to the vps

Confirm it works; that is what I do all the time. I even have used the same conf file across different machines.

Have a look at the rclone.conf; it is just a straight text of the config ---- do note the API tokens are there as well so keep the file secure.


you should not store your rclone config as plain text, as you cannot keep it secure.
you should encrypt it

rclone config edit and choose Set configuration password

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password