Forum Discussion

Wurzelseppi's avatar
4 years ago

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

No RepliesBe the first to reply