Skip to main content

Restore Config

POST 

/vyos/system/config/restore

Restore configuration from a backup file at an archive location.

Validates:

  • archive_location is in device config
  • filename matches allowed pattern (prevents path traversal)

Uses VyOS config_file_load API with protocol-specific URL transformation.

Request

Responses

Successful Response