fix sql dump syntax
This commit is contained in:
parent
a264b5e34c
commit
b2a4a926a2
@ -11,7 +11,7 @@ mysql_pass=YOURPASSWORDHERE
|
|||||||
cd $backup_path
|
cd $backup_path
|
||||||
|
|
||||||
# Dump the MariaDB database
|
# Dump the MariaDB database
|
||||||
mysqldump -u $mysql_user -p $mysql_pass bookstack > bookstack_db.sql
|
mysqldump -u=$mysql_user -p=$mysql_pass bookstackdb > bookstack_db.sql
|
||||||
|
|
||||||
# Compress the SQL dump and the BookStack files
|
# Compress the SQL dump and the BookStack files
|
||||||
tar cvf bookstack_backup_$date.tar.gz bookstack_backup.sql /var/www/BookStack
|
tar cvf bookstack_backup_$date.tar.gz bookstack_backup.sql /var/www/BookStack
|
||||||
|
Loading…
Reference in New Issue
Block a user