Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/backup-flow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function _backup_restic() {

function _cleanup() {
echo "Removing files and folders older then $KEEP_LOCAL_BACKUPS_DAYS days"
find "$BACKUP_STORAGE_PATH" -type f -mtime +"$KEEP_LOCAL_BACKUPS_DAYS" -delete -print
find "$BACKUP_STORAGE_PATH" -type f -сtime +"$KEEP_LOCAL_BACKUPS_DAYS" -delete -print

echo "Removing empty folders"
find "$BACKUP_STORAGE_PATH" -empty -type d -delete -print
Expand Down