Skip to content
WebShield Docs

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.

Add this to ~/.config/rclone/rclone.conf:

[webshield]
type = s3
provider = Other
endpoint = https://s3.webshield.pro
access_key_id = WSS...
secret_access_key = <secret>

Replace company-backups with your bucket name:

Terminal window
rclone copy ./backups webshield:company-backups
rclone ls webshield:company-backups
rclone copy webshield:company-backups ./restore

To upload a single file:

Terminal window
rclone copyto ./dump.sql.gz webshield:company-backups/db/dump.sql.gz

rclone sync also deletes destination files that are missing from the source. Use copy for ordinary uploads.

Issue a key with Full access, select All buckets, including future ones, and enable Create and delete buckets over S3.

Terminal window
rclone mkdir webshield:company-backups
rclone lsd webshield:
rclone rmdir webshield:company-backups

New buckets use ru-1. To select eu-1:

Terminal window
rclone mkdir webshield:company-backups --s3-location-constraint eu-1

A bucket must be empty before deletion, including versions and delete markers. See Object storage for permissions, regions and billing.