Choose a backup id and target it at the original site (or a different site for migration).
# 1. List recent backups for the site
curl -H "Authorization: Bearer $POWERSEC_TOKEN" \
https://api.powersec.io/api/backups?siteId=$SITE_ID
# 2. Trigger a restore from one of those backup ids
curl -X POST \
-H "Authorization: Bearer $POWERSEC_TOKEN" \
-H "Content-Type: application/json" \
-d '{"backupId":"bk_xxx","mode":"full"}' \
https://api.powersec.io/api/sites/$SITE_ID/restore
Restores run as remote actions. The plugin pulls the backup directly from cloud storage — no transit through Central.