They key here is that 127.0.0.1 is not a normal network address.
In networking, this address simply means "on this machine" - also known as "localhost".
Trying to reach this address from another PC would therefore not work.
The easiest way is to use the automatic setup (Y), but this requires that you have a web-browser you can access the internet with on the system. If not you need to use (N) and follow the instructions there, but it is not as straight-forward.
It is not required to perform the second method (that is why it exists), but if you have the option of temporarily installing a browser on the server then that would certainly be a very easy fix to the problem as then you can just use the automatic method in rclone.
Of course... a very simple script can be made, adn then you simply schedule it to run (in task-scheduler or NSSM for Windows - or cron for Linux) every X hours, or once pr day/week - whatever.
If you need help on the specifics, let me know. I am the most familiar with batch (Windows), but know bash basics enough to do this there also - as this script would only have be really basic to do what you want.
@thestigma Thanks a lot. I do need help. I have set up Google Drive remote, now I want to back up my vps ttml folder on a daily basis to my Google Drive. so every day it is going to create a zip file (16202020_backup), and only keeps the recent 3 days backup. Are there any tutorials that I can follow? Thank you
For how to schedule a script to run in cron or taskmanager there are dozens of tutorials on Google.
For how to make this script specifically, that is probably a bit harder to do.
I don't mind just helping you do this though.
Here are some relevant facts that I must have to do anything:
Need to know the OS you want to run the script on (where you send the data from)
Need to know the exact folder-paths for the source and destination (the same paths that worked for you when you did it manually)
Do you want to move, copy, or sync this data? (ask if you ae not sure about the differences).
I might actually have a script that already does this - at least in batch.
The only feature that does not already have would be the limit on how backups to keep...
But maybe I can add that feature when I have a little time later on...
you are going to need to program, create some source code.
what language do you plan to write your scripts?
i have a python script, 350+ lines, that executes rclone, fastcopy and 7zip file with time and date in the filenames.
another option is to use rclone mount the remote as x: drive. and you normal windows software to create the backups and zip files.
for example, this script will create a zip file directly on your remote.
rclone.exe mount secret: x: --vfs-cache-mode=writes
C:\data\rclone\scripts\7za.exe a x:\zork\zork.20191208.135853.7z C:\data\M\games\zork\