Skip to main content
Version: v3.2.0

Restore the Manager from a backup

POST 

/api/v3/system/restore

Replaces the Manager state (shared templates, images and secrets, locations and connections) with the backup, and returns when the restore ends. Pass the backup as "file" and the connections to keep as "connections", a JSON array of {"bitstreams_id", "sync_mode"}; each must be in the backup (see its manifest.json) or enrolled on this Manager. The other connections are removed from the Manager, and a connected server that is removed loses its enrollment. A connection this Manager knows keeps its current certificate, so it stays connected; a connection only in the backup reconnects if its certificate is still valid, otherwise re-enroll it from the Servers list. Bitstreams servers are not changed: each kept server runs a first resource sync in its sync_mode when it connects. append imports the server's own templates, images and secrets into the Manager; overwrite deletes the ones the Manager does not manage. A backup made with a different Authenticator Code is rejected with error 1218; a Bitstreams server backup is rejected. Servers disconnect briefly while the state is replaced. Nothing is backed up automatically; download a backup first if the current state must be preserved.

Request​

Responses​

OK