cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting backup files from admin ui

Highlighted
Visitor

Deleting backup files from admin ui

Hey guys,

 

I´m operating an on-prem installation of swaggerhub and I´m using the get-backup.sh script wo automatically create db backup to upload them to an s3 bucket afterwards.

The thing is, that there is no "clean-up" mechanism available in this script, which get´s rid of the backup files, which are available locally (in the container over the admin-ui).

I´ve seen, that I can retrieve those file-names from the swaggerhub-maintenance REST api (/sharedFile?type=backup). 

Can I somehow also delete them over the api ?

 

Thanks all and greetings,

 

Julian

New Here?
Join us and watch the welcome video: