Loading...
Loading...
Manage CloudSync Master WordPress plugin via WP-CLI. This skill should be used when configuring, testing, monitoring, or operating CloudSync Master (media offloading to cloud storage). Covers account setup for S3/R2/GCS/DigitalOcean/Backblaze/Wasabi/Vultr/Linode, plugin settings, queue management, object management, license activation, migration from competitors, and wp-config.php configuration export. Use when the user mentions CloudSync Master, cloud media offloading, wp cloudsync commands, or needs to set up WordPress media on cloud storage.
npx skill4agent add 1teamsoftware/skills wp-cloudsync-masterstatusaccounts listsync# Install and activate the free version from WordPress.org
wp plugin install wp-cloudsync-master --activate
# For PRO: download from https://1teamsoftware.com/product/cloudsync-master-pro/
# then upload and activate
wp plugin install /path/to/wp-cloudsync-master-pro.zip --activatewp cloudsync <command> [<subcommand>] [--flags]| Command | Description | Version |
|---|---|---|
| Show sync status across all accounts | Free (basic) / PRO (with queue info) |
| Scan media library for unsynced files | Free (report only) / PRO (queues files) |
| List configured accounts | Free |
| Full account management | PRO |
| Manage upload queue (status/list/clear/process) | PRO |
| Manage plugin settings (list/get/set/reset) | PRO |
| Manage plugin integrations (list/enable/disable/set) | PRO |
| Manage synced object records (list/reupload/delete) | PRO |
| Manage PRO license (status/activate/deactivate) | PRO (always available, even before activation) |
| Show configuration sources and generate wp-config.php snippets | PRO |
| Detect and import from competitor plugins | PRO |
licensereferences/cli_reference.md# 1. Activate PRO license (always available in PRO, even before first activation)
wp cloudsync license activate XXXX-XXXX-XXXX-XXXX
# 2. Add cloud storage account
wp cloudsync accounts add \
--provider=cloudflare_r2 \
--name="Production R2" \
--bucket=my-media \
--access-key-id=$R2_ACCESS_KEY \
--secret-access-key=$R2_SECRET_KEY \
--region=auto \
--api-endpoint=https://$R2_ACCOUNT_ID.r2.cloudflarestorage.com \
--custom-domain=cdn.example.com \
--activate
# 2b. Test the connection
wp cloudsync accounts test --account=<account-id>
# 3. Configure upload behavior
wp cloudsync settings set createObjectOnFileUpload yes
wp cloudsync settings set rewriteFileUrlWithObjectUrl yes
wp cloudsync settings set uploadBatchSize 25
wp cloudsync settings set uploadConcurrency 3
# 4. Sync existing media library
wp cloudsync sync --batch-size=100
# 5. Verify
wp cloudsync status --format=jsonwp cloudsync accounts add \
--provider=cloudflare_r2 --name="R2 Storage" --bucket=my-bucket \
--access-key-id=KEY --secret-access-key=SECRET \
--region=auto --api-endpoint=https://ACCOUNT_ID.r2.cloudflarestorage.com \
--custom-domain=cdn.example.com --activate
wp cloudsync accounts test --account=<account-id>wp cloudsync accounts add \
--provider=s3 --name="AWS Media" --bucket=my-s3-bucket \
--access-key-id=KEY --secret-access-key=SECRET \
--region=us-east-1 --activate
wp cloudsync accounts test --account=<account-id>wp cloudsync accounts add \
--provider=google --name="Google Media" --bucket=my-gcs-bucket \
--auth-type=service_account --key-file=/path/to/service-account.json \
--activate
wp cloudsync accounts test --account=<account-id>wp cloudsync accounts add \
--provider=digitalocean --name="DO Spaces" --bucket=my-space \
--access-key-id=KEY --secret-access-key=SECRET \
--region=nyc3 --api-endpoint=https://nyc3.digitaloceanspaces.com \
--activate
wp cloudsync accounts test --account=<account-id>wp cloudsync status --format=json # Quick status
wp cloudsync queue status # Check queue backlog
wp cloudsync queue process # Force-process stuck queue
wp cloudsync objects list --per-page=10 # List recently synced objects
wp cloudsync license status # Verify licensewp cloudsync migrate detect # Detect installed competitors
wp cloudsync migrate import --from=wp-offload-media # Import settings
wp cloudsync accounts test --account=<imported-id> # Verify imported accountwp cloudsync config generate --account=<id> # Generate define() snippet
wp cloudsync config show # Show all config sources| Setting | Type | Default | Description |
|---|---|---|---|
| bool | no | Upload to cloud on media upload |
| bool | no | Replace local URLs with cloud URLs |
| bool | no | Delete from cloud when local file deleted |
| bool | no | Remove local file after cloud upload |
| bool | no | Queue existing media library for upload |
| int | 10 | Files per upload batch (1-100) |
| int | 1 | Concurrent uploads (1-10 via CLI, 1-20 via admin UI) |
| bool | no | Generate signed URLs for downloads |
| int | 3600 | Signed URL lifetime in seconds (120-604800) |
| bool | yes | Serve local file if cloud file missing |
wp cloudsync settings list| Provider | ID | Auth | Notes |
|---|---|---|---|
| Amazon S3 | | Access Key + Secret | Industry standard |
| Cloudflare R2 | | Access Key + Secret | Zero egress fees |
| Google Cloud Storage | | Service Account JSON or OAuth | Enterprise-grade |
| DigitalOcean Spaces | | Access Key + Secret | S3-compatible |
| Backblaze B2 | | Access Key + Secret | Cost-effective |
| Wasabi | | Access Key + Secret | No egress fees |
| Vultr Object Storage | | Access Key + Secret | S3-compatible |
| Linode Object Storage | | Access Key + Secret | S3-compatible |
| MinIO | | Access Key + Secret | Self-hosted |
| Custom S3-Compatible | | Access Key + Secret | Any S3 endpoint |
| Plugin | Migration ID |
|---|---|
| WP Offload Media | |
| Media Cloud | |
| Media Cloud Sync | |
| WP Stateless | |
# S3-compatible account (individual fields)
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_S3_ACCESS_KEY_ID=key
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_S3_SECRET_ACCESS_KEY=secret
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_S3_BUCKET=my-bucket
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_S3_ENDPOINT=https://endpoint.com
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_S3_REGION=auto
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_S3_PATH_PREFIX=wp-content/uploads
# Google Cloud Storage account (individual fields)
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_GCS_SERVICE_ACCOUNT_KEY='{"type":"service_account",...}'
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_GCS_BUCKET=my-gcs-bucket
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_GCS_PATH_PREFIX=wp-content/uploads
# Full account definitions (JSON array, supports multiple accounts)
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_ACCOUNTS='[{"provider":"cloudflare_r2","bucketName":"my-bucket",...}]'
# License key
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_LICENSE_KEY=your-license-key
# Plugin settings (JSON)
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_SETTINGS='{"uploadBatchSize":25}'
# Disable UI account management (external-only mode)
ONETEAMSOFTWARE_CLOUDSYNC_MASTER_DISABLE_ACCOUNT_MANAGEMENT=truereferences/cli_reference.mdwp cloudsync