ccztux / glsysbackup

:floppy_disk: glsysbackup is a feature rich (rotation, logging, encryption, renice, re-ionice,...etc.) bash backup script
GNU General Public License v3.0
12 stars 2 forks source link

Error: /usr/local/glsysbackup/bin/glsysbackup: line 1497: [: : integer expression expected #137

Closed ccztux closed 1 year ago

ccztux commented 1 year ago

Example output:

.
.
[snip]
.
.
022-10-21 12:22:45 |   3380 |                  rotateHandler | Check if today is the day, where weekly backups should be rotated...
2022-10-21 12:22:45 |   3380 |                  rotateHandler | Today is not the day, where we should rotate the weekly backups (actual_weekday: '5' != backup_rotation_weekly_weekday: '1').
2022-10-21 12:22:45 |   3380 |                  rotateHandler | Check if today is the day, where monthly backups should be rotated...
/usr/local/glsysbackup/bin/glsysbackup: line 1497: [: : integer expression expected
2022-10-21 12:22:45 |   3380 |                  rotateHandler | Today is not the day, where we should rotate the monthly backups (actual_day_of_month: '21' != backup_rotation_monthly_day_of_month: '1').
2022-10-21 12:22:45 |   3380 |                      checkLock | Check if lock file: '/usr/local/glsysbackup/var/lock/glsysbackup.glsysbackup.lock' exists and if it is read and writeable...
2022-10-21 12:22:45 |   3380 |                      checkLock | Lock file exists and it is read/writeable.
2022-10-21 12:22:45 |   3380 |                     removeLock | Removing lock...
2022-10-21 12:22:47 |   3380 |                     removeLock | Removing lock was successful.
2022-10-21 12:22:47 |   3380 |                  signalHandler | We did a great job. :)
2022-10-21 12:22:47 |   3380 |                  signalHandler | glsysbackup (2.0.0-beta4) was running: '219' seconds, script_exit_code: '0'.
2022-10-21 12:22:47 |   3380 |                  signalHandler | Bye, bye...