Unable to Create a backup configuration file in VMware Aria Operations for Networks (vRNI)
search cancel

Unable to Create a backup configuration file in VMware Aria Operations for Networks (vRNI)

book

Article ID: 383152

calendar_today

Updated On:

Products

VMware Aria Operations for Networks

Issue/Introduction

Unable to create a configuration backup file in vRNI in JSON format. An error message was received indicating either the backup configuration file was not found or there was an error parsing the configuration file.

VMware Aria Operations for Networks Command Line Interface
(cli) backup-restore backup --action add --path /var/lib/backup-restore
Validating BACKUP configuration...
ERROR: BACKUP Config file not found at path=/var/lib/backup-restore

(cli) backup-restore backup --action add --path /var/lib/backup-restore/backup-config.json
Validating BACKUP configuration...
YYYY-MM-DDTHH:MM:SS.185Z ERROR common.utils.CommonUtils main parseObjectWithoutAtClass:1064 Error parsing configuration file: Invalid configuration
ERROR: Unable to process BACKUP from config file=/var/lib/backup-restore/backup-config.json

Reference:

Backup and Restore Procedure – Broadcom TechDocs

 

Environment

VMware Aria Operations for Networks

Cause

This issue occurs if either the backup configuration file is not referenced in the CLI command, or the backup configuration file is incorrectly formatted in JSON.

Resolution

For the error message regarding "BACKUP Config file not found at path=/var/lib/backup-restore":

Please ensure to specify the backup configuration file name in the CLI, for example:

backup-restore backup --action add --path /var/lib/backup-restore/backup-config.json

For the error message regarding "Error parsing configuration file: Invalid configuration":

This indicates there is a problem with the JSON format in the backup configuration file. Please use a JSON validator tool to validate and correct the format.