You are unable to create multiple backup files
From the CLI you run backup-restore backup --action add --path /home/support/config-for-backup.txt and it does not create a new backup file each time.
Your scheduled backup runs but does not create a new backup file
You run backup-restore backup --action status and it shows backup completed but it does not show a new backup file
Aria Operations for Networks 6.13.0
VCF Operations for Networks 6.14.X
This can be caused by performance issues
To test the nodes IOPS for READ and WRITE run these as the Support user;
read disk IOPS>
./run_all.sh 'file="/var/lib/ubuntu/fio-tmp"; fio --filename=$file --direct=1 --ioengine=libaio --bs=4K --name=bw-test --rw=randread --iodepth=4 --size=100M | grep -i IOPS; rm -f $file'
disk write IOPS
./run_all.sh 'file="/var/lib/ubuntu/fio-tmp"; fio --filename=$file --direct=1 --ioengine=libaio --bs=4K --name=bw-test --rw=randwrite --iodepth=4 --size=100M | grep -i IOPS; rm -f $file'
To create multiple backup files you need to use the following API as the Support user:
1. Run this to get the token
curl --request POST \
--url https://PLATFORM1_IP/api/ni/auth/token \
--header 'Content-Type: application/json' \
--data '{
"username": "admin@local",
"password": "ADMIN@LOCAL_PASSWORD",
"domain": {
"domain_type": "LOCAL"
}
}'
2. Use the token in the following API to create up to 5 backup files located in /var/lib/backup-restore:
curl -k --request POST \
--url https://PLATFORM1_IP/api/ni/settings/backup/ondemand \
--header 'Authorization: NetworkInsight TOKEN_FROM_STEP1 ' \
--header 'Content-Type: application/json' \
--data '{
"schedule_now": true,
"backup_file_server_type": "LOCAL",
"data_filter":{
"web_proxy": true,
"snmp": true,
"smtp": false,
"data_sources": true,
"events": true,
"pinboards": true,
"syslog": true,
"ldap": true,
"user_data": true,
"physical_subnet_vlan": true,
"physical_ip_dns_mapping": true,
"system_configuration": true,
"east_west_ip": true,
"north_south_ip": true,
"data_management": true,
"ceip_status": false,
"audit_logs_pii_status": false,
"applications": true,
"analytics_outliers": false,
"analytics_thresholds": false,
"custom_dashboards": true,
"policies": true
}
}'
3. To check the status of the backup being created as the Support user:
curl --request GET \
--url https://PLATFORM1_IP/api/ni/settings/backup/ondemand/status \
--header 'Authorization: NetworkInsight TOKEN_FROM_STEP1 '
4. Go to /var/lib/backup-restore to see the backup files that have been created