Rclone cloud storage setup¶
This will take you through the configuration of Rclone from a standing start with nothing set up already.
If you're migrating from Cloudbox you probably want the Cloudbox migration instructions
If you have an existing rclone setup from Cloudbox or PTS or something else you should NOT go through this process. You should reuse that existing setup. There is nothing saltbox specific about this setup aside from the various paths, and you do not need new projects or service accounts or shared drives to address that.
If you are not using Google Drive you should NOT go through this process.
If you are reinstalling saltbox there is no reason to do this again provided you have run a Saltbox backup or followed the instructions the first time you did this and have backed up the important files.
Warning
Changes to Google's "unlimited" offering have made this process largely needless. New Google accounts no longer come with enough storage to have the sort of limits that this setup is intended to address.
Overview of what this process is going to do
This process is going to perform, with your assistance, these tasks:
Note that this is a general overview of the things that are going to happen, not a list of instructions for you to follow.
1. Create a Google project
2. Create a Google group
3. Create 300 service accounts
4. Add those 300 service accounts to the Google group that was just created.
5. Create 3 new shared drives.
6. Add your Google Group to each of those drives as a "Manager"
7. Create rclone remotes pointing to each of those shared drives, authenticated using one of those service files.
8. Create a `union` rclone remote called "google", with the components set to the shared drive remotes you just created.