Backup.sh script throwing errors and failing


(Nic Hubbard) #1

Matrix Version: 5.4.3.1

We use MS Azure for our Matrix server and normally use their VM backups. However, I have a need to have additional backups of Matrix and need to use the backup.sh script. For whatever reason I am getting errors when trying to run it:

Anyone have ideas on what might be causing this?


(David Schoen) #2

The [[: not found makes me think the script is not being interpreted as bash.

If you run it as bash scripts/backup.sh /opt/matrix what happens?

What version of bash do you get from bash --version?


(Nic Hubbard) #3

That worked. Thank you!