![]() |
REST API
17
REST API for Luna Network HSMs
|
This resource will create back up of the appliance configuration data, and save it to the appliance file system
Specifies the description of the backup.
Use: Required
JSON Schema:
Object
type:string
minLength: 1
maxLength: 128
pattern: ^[a-zA-Z0-9_.,:{}[]()@ -]*$
Specifies the flag to backup with factory default configuration.
Use: Required
JSON Schema:
Object
type:boolean
false = do not backup with factory default configuration.
true = do backup with factory default configuration.
Specifies the name of the service.
Valid values: network,ssh,ntls,syslog,ntp,snmp,users,system,webserver,ctc,all
Use: Not Required
JSON Schema:
Object
type:string
minLength: 3
maxLength: 12
pattern: ^(network|ssh|ntls|syslog|ntp|snmp|users|system|webserver|ctc|all|cluster|ismigration)$
Success
Specified service name is invalid.
Returned when the input data does not conform to the required validation schema.
Unable to create backup.
Critical Operation currently in Progress.
POST
https://1.2.3.4:8443/api/lunasa/config/backups
{
"description": "Configuration Backup 20-11-21",
"factoryConfig": false,
"service":"webserver"
}
{
"configurationBackupFile": "webserver_Config_20211025_1134"
}