This next step is different if you’re doing this on a headless machine (such as via SSH) or one with a monitor. The next options allows you to edit the advanced configuration (which I have never needed to), so leave that blank and hit enter. Press Enter for the default ( "global" ). OAuth Client IdĬhoose national cloud region for OneDrive.Įnter a string value. The next options is region which will probably be “Microsoft Cloud Global” (i.e. The next 2 options are client_id and client_secret which we can leave blank. Ĭhoose a number from below, or type in your own value ![]() Type of storage to configure.Įnter a string value. ![]() At the time of writing, the OneDrive remote was number 26. After this you will see roughly 43+ different remote types for you to chose. Hit n for new and type in a descriptive name such as onedrive_uni. First run rclone config on the raspberry pi: $ rclone configĪs you can see, this opens a empty menu for us with a couple commands. Linking your account to RCloneĬonnecting to OneDrive via rclone is stupid easy. Therefore we use a “crypt” remote within the OneDrive remote (as seen in red). I use paperless for some sensitive documents so this isn’t great. This means we can sync data to this folder via the rclone cli but it’s unencrypted. What we’re going to do is create the first “remote” within OneDrive (in green on the right) that is unencrypted. Next we’ll have a quick look at how the aforementioned remotes work. For raspberry pi, sudo apt-get install rclone will suffice. RCloneįirst of all, install RClone with whatever package manager you’re using. Please do consider other methods before mindlessly committing to mine. I like rclone with rclone_jobber as it seamlessly does snapshots. Creating a Crypt remote within the OneDrive remoteĮdit : Some good comments were made on that other services exist that solve this issue out-of-the-box.See this post for more information on upgrading. Note: Paperless-NG is now being maintained in a new fork. ![]() In this guide we will set up 2 “remotes” with RClone and then use rclone_jobber to easily back up our data. Whilst this guide is for OneDrive, rclone does support 43 different remotes so you can adapt this guide to your needs. However, being a PhD student, my university gives me 1TB of OneDrive cloud storage which I’m putting to good use for cheap, off-site data storage. money) to throw at it, all my data resides on a single portable hard drive not ideal. Since I don’t have a lot of resources (i.e. I’ve recently done some work in setting up myself a Paperless-NG instance on a a Raspberry Pi at home.
0 Comments
Leave a Reply. |