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

Backup script not working when compression disabled #136

Open MindaugasStankevicius opened 2 years ago

MindaugasStankevicius commented 2 years ago

enable backup compression

(possible values: 1|0)

backup_compression_enabled="0"

When compression disabled I'm getting an error:

/usr/local/glsysbackup/bin/glsysbackup: line 1032: backup_file_extension: unbound variable Caught: 'EXIT', exiting script... Now we are doing some cleanup jobs... Checking for old, leftover backups in latest folder... Backup encryption is not enabled, now we check if an lefover encrypted backup file exists, if it is writeable and delete it... /usr/local/glsysbackup/bin/glsysbackup: line 847: backup_encryption_filename: unbound variable

ccztux commented 2 years ago

Thanks for reporting this. I will provide a fix.