Advertisement
Guest User

Untitled

a guest
Dec 15th, 2016
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. host=localhost
  2. user=user
  3. password=GhR6R3#h]dSq+C74)Jz9CDF6a7^&L[4= (not my real password)
  4. db_name=database
  5.  
  6. # Load config file TODO: make this more secure
  7. source /path/to/config.conf
  8.  
  9. # MySQL database dump
  10. mysqldump --lock-tables -h $host -u $user -p $password $db_name > dbbackup_`date +"%Y%m%d"`.bak
  11.  
  12. $ bash script.sh
  13. Syntax error near unexpected token `)'
  14. `password=GhR6R3#h]dSq+C74)Jz9CDF6a7^&L[4='
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement