cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3010
Views
12
Helpful
20
Replies

DNA Centre Backups

BlueyVIII
Level 1
Level 1

Has anyone found a simple way to automate the deletion of old DNAC Backups?

Our DNAC is set to backup to a Linux server each night, however, unless we remember to regularly go to the DNAC backup page and delete old backups the Linux server eventually runs out of disk space, and then the DNAC backups fail! As the DNAC Backup process doesn't send success/failure notifications the failures can go unnoticed for prolonged periods.

It would be fairly simple to create a LINUX CRON job to delete all the files older than (for example) 14 days, but I'm not sure if this would then cause a problem with the DNAC GUI which may not reflect they were deleted??

I'd be interested to see how others have solved the problem...

 

 

20 Replies 20

Nobody will log in daily to do backup housekeeping. And the script from the Cisco guys uses the API, which means the backup is deleted via DNA Center procedures and not "offline" on the backup server.

maflesch
Cisco Employee
Cisco Employee

It's supported in the virtual appliance on ESXi (current only platform that supports the VA ova) on 2.3.7.6 yes. On the on-prem appliance, no it is not a feature yet as Tomas mentioned. Once we move the code on the on-prem to the same code that runs on the OVA VA, then the feature will exist on both. But that shouldn't happen till at least mid next year. 

@a.janssen it doesn't matter how the script achieves the backup deletion/retention, it is still not supported by TAC.

DJW487
Level 1
Level 1

The fact that there is no function built in yet and likely won't be until next year is laughable for something that stores so much info in its backups. You could easily be backing up 500Gb a day depending on your network and backup policy.
If TAC wanted to argue that automating the provided API for backup deletion voids support, then I would argue you need to remove the API as that's a load of BS.

ziqex
Level 4
Level 4

Hi everyone, is there any news for on-prem version to support automatic backup retention?

Thank you.

RegardS

The story is still the same as I posted above previously. On-prem will not support any backup retention until it moves to the same platform code that the ESXi VA supports. This is slated for mid next year (2025).

Would running the cron job on the red hat linux server that clears files older than 21 days (weekly backup) in the backup folder be supported?

Or does it need to be manually deleted from DNAC interface?

Thanks

Review Cisco Networking for a $25 gift card