cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
827
Views
5
Helpful
3
Replies

Is it possible to automatically delete backup files from ISE?

CCC3
Level 1
Level 1

Is it possible to automatically delete backup files generated by scheduling in ISE after a certain date (for example, if you back up every day, only one week's worth of backup files remain)?

3 Accepted Solutions

Accepted Solutions

marce1000
VIP
VIP

 

  - FYI https://community.cisco.com/t5/network-access-control/ftp-or-sftp-backup-file-purging/m-p/3477972#M526511

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

View solution in original post

Ruben Cocheno
Spotlight
Spotlight

@CCC3 

There is no auto-delete If you backup locally on the ISE, but if you push the backups on an external location using SFTP then you can have a cron job delete the old ones taking into consideration your backup retention strategy aligned with the Storage team.

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

View solution in original post

Arne Bier
VIP
VIP

We should all collectively submit a feature request to implement this in ISE, because it's been a common ask for many years.

On unix platforms, I have a nice one-liner that you can stick into a cron job. It deletes all but three most recent backup files  

Here is my community post from 2018 with the cron entry and some example output. I still use it every now and then, unless the customer has a Windows repository

View solution in original post

3 Replies 3

marce1000
VIP
VIP

 

  - FYI https://community.cisco.com/t5/network-access-control/ftp-or-sftp-backup-file-purging/m-p/3477972#M526511

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Ruben Cocheno
Spotlight
Spotlight

@CCC3 

There is no auto-delete If you backup locally on the ISE, but if you push the backups on an external location using SFTP then you can have a cron job delete the old ones taking into consideration your backup retention strategy aligned with the Storage team.

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

Arne Bier
VIP
VIP

We should all collectively submit a feature request to implement this in ISE, because it's been a common ask for many years.

On unix platforms, I have a nice one-liner that you can stick into a cron job. It deletes all but three most recent backup files  

Here is my community post from 2018 with the cron entry and some example output. I still use it every now and then, unless the customer has a Windows repository