remove all old snapshot in restic
This commit is contained in:
@@ -2,4 +2,4 @@ LOG_FILE="/home/node/.n8n/external-scripts/data-backup/logs/log.log"
|
||||
echo "------------------------------------------------------------------------" >> "$LOG_FILE"
|
||||
echo "$(date) - Script for notes started" >> "$LOG_FILE"
|
||||
restic -r rclone:sb_project_SBI-CW231949:notes backup /home/node/.n8n/data/notes >> "$LOG_FILE"
|
||||
restic -r rclone:sb_project_SBI-CW231949:notes forget --keep-last 3 --prune >> "$LOG_FILE"
|
||||
restic -r rclone:sb_project_SBI-CW231949:notes forget --keep-last 3 --group-by '' --prune >> "$LOG_FILE"
|
||||
|
||||
Reference in New Issue
Block a user