Skip to content

Feature proposal #70

@yulumadavid

Description

@yulumadavid

I would like to add a functionality to this fantastic script. We've noticed that old databases from customer that went away long ago sta in the 'weekly' and 'daily' directories indefinitely.

Can we sugest to improve the script?

Delete backups older than retention period

find "$BACKUPDIR/daily" -type f -mtime +7 -delete
find "$BACKUPDIR/weekly" -type f -mtime +30 -delete
find "$BACKUPDIR/monthly" -type f -mtime +90 -delete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions