OPNsense Forum

English Forums => General Discussion => Topic started by: LouieLouie on September 08, 2019, 02:51:15 AM

Title: [SOLVED] Does anybody use rclone?
Post by: LouieLouie on September 08, 2019, 02:51:15 AM
Hello,

I'm interested in syncing a complete system backup to dropbox using rclone.  I've installed it, it runs.  I'm trying to configure it to use dropbox.  For a dropbox authorization code, mid-way through the config script, it requests that the user access url http://127.0.0.1:53682/auth   ...  when I open that webpage, I get a 'Failed to Connect'.

I put in a floating rule for intranet traffic to have access to 127.0.0.1/53682  .... no luck.  Searched for rclone info, nothing found that works.

Any suggestions?

Thanks!
Title: Re: Does anybody use rclone?
Post by: the-mk on September 08, 2019, 08:01:07 AM
Hi, I use rclone to backup my nextcloud to onedrive...
are you performing the setup on a OPNsense box?
for the authentication setup - you can do that on a remote machine and then enter the code on the host where you use rclone (I don't know if that was "offered" during setup of onedrive or it was mentioned in the docs)
Title: Re: Does anybody use rclone?
Post by: LouieLouie on September 08, 2019, 01:45:30 PM
the-mk,

Thank you, I'll try that. 

Title: Re: Does anybody use rclone?
Post by: the-mk on September 08, 2019, 01:57:58 PM
had a look at the docs - this might help: https://rclone.org/remote_setup/
Title: Re: Does anybody use rclone?
Post by: LouieLouie on September 09, 2019, 11:47:47 AM
That was the correct solution, thank you very much.

I installed rclone on a laptop, executed 'rclone authorize "dropbox' , copied the output to the opnsense box's config.  Tested, it works.