
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
walwarden-cli
Advanced tools
Customer-side Postgres restore CLI for Walwarden.
Restores a Postgres database from a backup managed by Walwarden. The CLI receives a one-liner from the Walwarden dashboard and drives the restore against a target database you control. Progress and audit events are reported back to Walwarden in real time.
The Walwarden dashboard generates the exact command. General form:
WALWARDEN_TOKEN=<token> npx @walwarden/cli restore \
--manifest <sha256> \
--target postgres://user:pass@host:5432/dbname \
--mode new_database
For an in-place restore (overwrites the target):
WALWARDEN_TOKEN=<token> npx @walwarden/cli restore \
--manifest <sha256> \
--target postgres://user:pass@host:5432/dbname \
--mode in_place \
--confirm-destructive
| Flag | Required | Description |
|---|---|---|
--manifest <sha256> | yes | SHA-256 of the backup manifest (64 hex chars) |
--target <dsn> | yes | Target Postgres DSN |
--mode new_database|in_place | yes | Restore into a fresh database or overwrite existing |
--confirm-destructive | if in_place | Explicit acknowledgement for destructive restore |
--json | no | Emit JSONL progress to stdout (auto-enabled when not a TTY) |
--no-color | no | Disable ANSI color output |
| Variable | Required | Description |
|---|---|---|
WALWARDEN_TOKEN | yes | Short-lived restore token from the dashboard |
WALWARDEN_API_URL | yes | API base URL for the deployed Walwarden environment |
PGPASSWORD | no | If set and target DSN has no password, merged automatically |
Node.js >= 20.
FAQs
Customer-side CLI for Walwarden. Published on npm as `walwarden-cli`; the installed binary is `walwarden`.
The npm package walwarden-cli receives a total of 1 weekly downloads. As such, walwarden-cli popularity was classified as not popular.
We found that walwarden-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.