rclone with WebShield S3
Connect rclone to WebShield storage and transfer files.
Install rclone. In S3 storage in the control panel, create a bucket and issue a key with Read and write access to it. Save the Access Key ID and Secret Access Key.
Connect
Section titled “Connect”Add this to ~/.config/rclone/rclone.conf:
[webshield]type = s3provider = Otherendpoint = https://s3.webshield.proaccess_key_id = WSS...secret_access_key = <secret>Transfer files
Section titled “Transfer files”Replace company-backups with your bucket name:
rclone copy ./backups webshield:company-backupsrclone ls webshield:company-backupsrclone copy webshield:company-backups ./restoreTo upload a single file:
rclone copyto ./dump.sql.gz webshield:company-backups/db/dump.sql.gzrclone sync also deletes destination files that are missing from the source.
Use copy for ordinary uploads.
Create and delete buckets
Section titled “Create and delete buckets”Issue a key with Full access, select All buckets, including future ones, and enable Create and delete buckets over S3.
rclone mkdir webshield:company-backupsrclone lsd webshield:rclone rmdir webshield:company-backupsNew buckets use ru-1. To select eu-1:
rclone mkdir webshield:company-backups --s3-location-constraint eu-1A bucket must be empty before deletion, including versions and delete markers. See Object storage for permissions, regions and billing.