Skip to content
github-actions[bot] edited this page Oct 30, 2026 · 3 revisions

DR Plugin

Field Value
Licence Free (MIT)
Maturity implemented (maturity levels)
Version 1.2.13
Install nself plugin install dr
Commands nself dr
Requirements nSelf >=1.2.8
Command MCP tool HTTP route Side effect Output Exposure Confirmation
nself dr - - read document CLI only (json None) none

Promotes a standby, fences the old primary, and runs failover drills.

Install

nself plugin install dr

No license key required.

Description

Disaster recovery: promote a standby, fence the old primary, run drills, and install the systemd units DR needs.

This is a CLI plugin: it installs the nself-dr binary into your plugin path and runs as a command, not a background service.

Category: infrastructure. Current version: 1.0.0.

Configuration

Env Var Default Description
PROJECT_NAME (see plugin.json) Optional.
BASE_DOMAIN (see plugin.json) Optional.
BACKUP_DIR (see plugin.json) Optional.
DR_STANDBY_HOST (see plugin.json) Optional.
REDIS_ENABLED (see plugin.json) Optional.

Commands

nself-dr subcommands (installed alongside the plugin):

  • nself-dr promote-standby
  • nself-dr fence
  • nself-dr drill
  • nself-dr rollback
  • nself-dr reconfigure-dns

Examples

Promote-standby

nself-dr promote-standby

Fence

nself-dr fence

Source

plugins/dr/

Manifest: plugins/dr/plugin.json

See Also

  • Region — multi-region replica management
  • Watchdog — self-healing container watchdog

← Home →

nself-plugins

Start

Commands

Architecture

Plugin Ecosystem

Popular Plugins

View All: Home (or see the full alphabetical list below, synced with registry.json)

All Free Plugins

CI

Guides

Operations


Related

Clone this wiki locally