Recipe Cold Backup Server is faulty

Hi there.

I followed the recipe, but the database would not get updated. So I looked into the code and found that when restoring, the name of the database is missing.

MySQL
admin@coldserver:~ mysql -u mmuser -p < /opt/mattermost/sql/mattermost.sql
admin@coldserver:~ mysql -u mmuser -p mattermost < /opt/mattermost/sql/mattermost.sql

Regards,
Thomas