Command map

request data restore

Restore a config from a backup file on the daemon's host.

Ze command

Registry path
request data restore
Usage
request data restore <path> [config] [name <name>] [client <client>]
Mode
Daemon
Wire method
ze-data:restore
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Description

Stages the artifact's config as the candidate and runs the same reload a SIGHUP
runs. The config becomes active only when the reload accepts it; a refused
config leaves the active config and its pointers untouched. Nothing else in the
store changes. With client, a hub writes the config it serves to that managed
client instead, as a new version, and pushes config-changed to the client; the
hub does not reload its own config.

Arguments

NameTypeRequiredValuesSummaryDescription
pathstringyesany value of this typeAbsolute artifact pathAbsolute path of the artifact, checked before it is read by the same rules as a backup path.
configflagnoany value of this typeRestore the config onlyRestore the artifact's config only. A full restore replaces the whole store and runs offline with ze data restore.
namestringnoany value of this typeConfig name inside the artifactThe config to take from an artifact that holds several. Without it, the artifact's only config, or the config named like this device, is taken.
clientstringnoany value of this typeManaged client whose served config is restoredThe managed client whose served config (client-<name>.conf) the restore writes. The daemon MUST be a hub with a client entry of this name. Without it, the restore replaces this daemon's own config through the reload.

Mapping status

No vendor equivalent has been curated yet for this Ze command.

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.

VyOS

No equivalent is listed for this vendor yet.