Comments (6)
This works fine! Using the graph API I can get all groups and then all drives from each group. With the drive IDs my script is creating configs and then running rclone copy --config ...
. This way I don't need to worry about adding new groups to the backup system manually.
from dariusz.wieckiewicz.org.
Thanks for sharing this! I'm currently building a backup system based on this article and it works great. The only downside is, that appears to be necessary to add a new remote for every Sharepoint site you want to backup. Is there a way to download the complete Sharepoint files with only one rclone remote?
from dariusz.wieckiewicz.org.
Thank you @dorthrithil for your comment.
Rclone by default is saving its config in user directory, but theoretically there is nothing against running rclone with different config files and different settings/credentials.
Simple bash script to run rclone with config 1 and after that config 2 etc. shall work.
See: rclone.org/commands/rclone_config
Command rclone config file
show where config file is saved (default "$HOME/.config/rclone/rclone.conf").
Adding --config string
flag and pointing to specific file shall allow you to create multiple configs that can than be run with them.
This shall help you give idea and figure out.
More about flags: rclone.org/flags
from dariusz.wieckiewicz.org.
Thanks for your reply. Unfortunately this solves only half of my problem as I still need to create a config file for every site I want to sync. So if someone creates a new Sharepoint site in my organization I need to update my script. Currently I'm trying to write a script using the graph API that does some auto discovering of drives in the organization. Probably I can combine that with the config approach to be able to download all the organizations sites.
from dariusz.wieckiewicz.org.
"this is why we will need to do this with a graphic environment on Raspberry OS."
Thats not true, at least now. I dont know how old your version is, though.
https://rclone.org/remote_setup/
from dariusz.wieckiewicz.org.
It's not old. I set new environment about month ago and I still need graphic environment to get everything in order to run. If you managed to get this without it, that's great. For my purpose it's needed.
from dariusz.wieckiewicz.org.
Related Issues (20)
- dzwonek-ringtone-iphone-itunes-12-7 HOT 4
- dnsy-od-google-rewelacja-nie-w-polsce HOT 3
- android-nie-mozna-ustanowic-z-serwerem-stabilnego-polaczenia-transmisji-danych HOT 22
- android-6-powiekszenie-wewnetrznej-pamieci HOT 19
- aktualizacja-do-windows-10-za-darmo HOT 2
- ostatnie-haslo-lastpass/ HOT 1
- markdown/ HOT 1
- en/from-wordpress-lover-to-wordpress-hater/ HOT 1
- obraz-iso-windows-11/ HOT 4
- windows-11-dzien-po-dniu/ HOT 2
- monitoring-ograniczenie-transferu-w-sieci-openwrt/ HOT 7
- w-poszukiwaniu-alternatywy-g-suite-legacy/ HOT 2
- samsung-znowu-robi-z-siebie-glupka/ HOT 3
- microsoft-mial-racje-nie-aktualizuj-do-windows-11/ HOT 2
- aktualizacja-systemu-windows-powershell/ HOT 1
- en/prevent-google-analytics-being-blocked-adblocker/ HOT 2
- bionic-reading/ HOT 2
- g-suite-legacy-pozostanie-darmowy-dla-uzytku-osobistego/ HOT 4
- optymalizacja-wykorzystania-procesora-na-routerze-z-openwrt/ HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dariusz.wieckiewicz.org.