ysde/grafana-backup-tool

Feature request to overwrite or delete older backups

psinghsb opened this issue · 3 comments

It will be great to have a feature to overwrite backup files or delete older files in storage.

@psinghsb Thanks for the suggestion! Are you talking about the output folder (defaults to ./_OUTPUT_) or object/cloud storage?

I use a backup.sh with cron and after the grafana backup I run:

# Delete old files. More than 60 days.
find /backup/grafana/backup/ -mtime +60 -type f -delete

Simple and easy.

Hi, this feature would be nice, we use S3 for the remote-backups and dont save the local tar file.
It would be very nice to have a retention feature for the Storages