LOG_FILE="/home/node/.n8n/external-scripts/data-backup/logs/log.log"
echo "------------------------------------------------------------------------" >> "$LOG_FILE"
echo "$(date) - Script for calendars-contact started" >> "$LOG_FILE"
restic -r rclone:sb_project_SBI-CW231949:calendars-contacts backup /home/node/.n8n/data/calendars-contacts >> "$LOG_FILE"
restic -r rclone:sb_project_SBI-CW231949:calendars-contacts forget --keep-last 3 --group-by '' --prune >> "$LOG_FILE"
