david
11/04/2026, 10:51 AMAsk Inkeep
11/04/2026, 10:51 AMAsk Inkeep
11/04/2026, 10:51 AMdocker run -it -p 7766:7000 -p 8181:8181 \
--env PDP_API_KEY=<YOUR_API_KEY> \
--env PDP_ENABLE_OFFLINE_MODE=true \
-v <HOST_BACKUP_DIR_OR_NAMED_VOLUME>:/app/backup \
permitio/pdp-v2:latest
(1)
To confirm the backup exists, check the mounted directory for pdp_cloud_config_backup.json and policy_store_backup.json. (1)
*Checking and restoring connectivity*
For a PDP started in offline mode, you can check its control plane connectivity state and reconnect it without a restart. (1)
///# Check current status
curl -s <http://localhost:7766/control-plane/connectivity> \
-H "Authorization: Bearer <YOUR_PDP_API_KEY>"
///# Reconnect to the control plane
curl -s -X POST <http://localhost:7766/control-plane/connectivity/enable> \
-H "Authorization: Bearer <YOUR_PDP_API_KEY>"
(1)
Reconnecting makes the PDP fetch all policy and data from the control plane again. (1)
*GitOps*
With GitOps, Permit saves generated policy code to a Git repository you own, one branch per environment, and syncs that branch to the environment's PDPs. (2)
*If a PDP isn't getting policy updates*
If a PDP is affected, send us the details below and our engineers will investigate:
1. Which Workspace / Project / Env you are using
2. What calls you are performing (as SDK code or cURL)
3. Which PDP version you are running
4. Relevant logs from your PDP
You can also reach support at help@permit.io.Ask Inkeep
11/04/2026, 10:52 AM