fix sql dump syntax
This commit is contained in:
		@@ -11,7 +11,7 @@ mysql_pass=YOURPASSWORDHERE
 | 
			
		||||
cd $backup_path
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
tar cvf bookstack_backup_$date.tar.gz bookstack_backup.sql /var/www/BookStack
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user