Skip to content

Question: Backup Prune ? #1

@leonorpw

Description

@leonorpw

Hello, is there any nice way to add something like to the build?

for i in $(ls $BORG_DATA_DIR/)
do
	echo "###### Pruning backup for $i on $(date) ######"
	borg prune -v $BORG_DATA_DIR/$i --keep-daily=7 --keep-weekly=4 --keep-monthly=6
done

I tried to add cron and run it, but i didn't get it working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions