Shared-Drive Cloudplow Setup
The default Cloudplow setup uploads to the google
remote using a single account, which limits you to 750GB/day of upload.
To utilize rotating service accounts to upload more than this, you'll need to configure cloudplow to upload to the individual shared drives.
If you used the scripted rclone method, there is a script in the sb_gd repo that will make the required modifications to the cloudplow config.
NOTE: This script is assuming that your service account file are in /opt/sa/all
, which is where the scripted rclone method puts them.
The script is also assuming a totally stock Cloudplow config.json
as it comes from the original saltbox install. If you have added remote
s or uploader
s it will fail with an error.
This script is only useful if you have used the scripted rclone method.
You will have to have completed sb install saltbox
before using this script.
-
Run the script
cd /opt/sb_gd source sb_gd/bin/activate python sb_cp.py
If that doesn't work, update to the latest version of the files from the repo with
git pull
and try again. -
Restart the cloudplow service:
sudo systemctl restart cloudplow