Currently, there is no way to pause or resume all mirrors at once. The peerdb_pause_mirror() function does not exist on self-hosted deployments (v0.36.7), and mirrors must be paused one by one through the UI.
This is especially painful during upgrades where all mirrors must be paused before proceeding.
Proposed Solution
Add a "Pause All Mirrors" button in the UI with a confirmation dialog:
⚠️ Pause All Mirrors?
This will pause all 8 running mirrors.
Are you sure you want to continue?
[ Cancel ] [ Yes, Pause All ]
And/or expose a SQL function on port 9900:
sqlSELECT peerdb_pause_all_mirrors();
SELECT peerdb_resume_all_mirrors();
Current Workaround
Manually clicking each mirror in the UI one by one, or directly updating the catalog DB (which is unsafe as it doesn't signal Temporal).
Environment
PeerDB version: v0.36.7
Deployment: Self-hosted Docker Compose
Number of mirrors affected: 9
Why This Matters
This is a common need during version upgrades, where the PeerDB docs recommend pausing all mirrors before upgrading. A bulk action would make this safer and faster.
Currently, there is no way to pause or resume all mirrors at once. The peerdb_pause_mirror() function does not exist on self-hosted deployments (v0.36.7), and mirrors must be paused one by one through the UI.
This is especially painful during upgrades where all mirrors must be paused before proceeding.
Proposed Solution
Add a "Pause All Mirrors" button in the UI with a confirmation dialog:
⚠️ Pause All Mirrors?
This will pause all 8 running mirrors.
Are you sure you want to continue?
[ Cancel ] [ Yes, Pause All ]
And/or expose a SQL function on port 9900:
sqlSELECT peerdb_pause_all_mirrors();
SELECT peerdb_resume_all_mirrors();
Current Workaround
Manually clicking each mirror in the UI one by one, or directly updating the catalog DB (which is unsafe as it doesn't signal Temporal).
Environment
PeerDB version: v0.36.7
Deployment: Self-hosted Docker Compose
Number of mirrors affected: 9
Why This Matters
This is a common need during version upgrades, where the PeerDB docs recommend pausing all mirrors before upgrading. A bulk action would make this safer and faster.