Luebb

Members
  • Posts

    1
  • Joined

  • Last visited

Luebb's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Hello, first of all thanks to mgutt for the script. Unfortunately my experience is rather limited in the topic. I have the problem that the script throws an error: "line 223: (1662569620 - ) / 86400 : syntax error: operand expected (error token is ") / 86400 ")". The only thing I changed in the script (v1.3) was: Line 68 "#..." Line 69 "#..." Line 70 ""/mnt/user/source" "[email protected]:/mnt/user/def/destination"" Line 129 "alias rsync='rsync -e "ssh -p 5533"'" Started manually. The folders exist and the script works after modification (see workaround below). Full Script feedback message: For some reason it does not take over a value for "last_backup", it seems. Does anyone have an idea where my error is? My Workaround for now - line 223 changed: Line 223 "last_backup_days_old=$(( ($(date +%s) - $(date +%s -d "${last_backup:0:4}${last_backup:4:2}${last_backup:6:2}") + 1 ) / 86400 / 19242 ))" Then I get: