johanneslamers/backup-suite

Error bash backup-db

mariovass opened this issue · 0 comments

Seem to be getting errors when I run the bash script

Backing up database: db_craft

Ignored tables:
----------------------------------------------------------------------
backup-db.sh: line 95: ${BACKUP_DB_PATH}: ambiguous redirect
backup-db.sh: line 96: ${BACKUP_DB_PATH}: ambiguous redirect

Database dumped
mysqlcheck: [Warning] Using a password on the command line interface can be insecure.
db_craft.assetindexdata
note     : Table does not support optimize, doing recreate + analyze instead
trov_craft.assets
note     : Table does not support optimize, doing recreate + analyze instead
db_craft.assettransformindex
note     : Table does not support optimize, doing recreate + analyze instead

Backing up database: xbt

Ignored tables:
----------------------------------------------------------------------
backup-db.sh: line 95: ${BACKUP_DB_PATH}: ambiguous redirect
backup-db.sh: line 96: ${BACKUP_DB_PATH}: ambiguous redirect

Database dumped
mysqlcheck: [Warning] Using a password on the command line interface can be insecure.
another.content_changes
note     : Table does not support optimize, doing recreate + analyze instead
error    : Invalid default value for 'created_at'
another.migrations
note     : Table does not support optimize, doing recreate + analyze instead
another.product_data
note     : Table does not support optimize, doing recreate + analyze instead
error    : Invalid default value for 'created_at'
----------------------------------------------------------------------
======================================================================
Compress backup files
tar: +%Y-%m-%d_%Hh%Mm_date: Cannot stat: No such file or directory
tar: +%A-db.tar.gz: Cannot stat: No such file or directory
tar: *.sql: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Compression completed
backup-db.sh: line 118: [: too many arguments
Backup file not created
======================================================================