Created
March 31, 2017 09:01
-
-
Save aryulianto/e6976c0ec833a36111775bdebbb69674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -n "Waktu mulai : " ;date | |
for database in `cat dbmyisam.txt` ; do | |
mysqlhotcopy --addtodest --user=root --password=r\$h\$\%\!\$\*\)nj\)l\@\( $database /root/scripts/backupdb >> /root/scripts/backupdb/mysqlhotcopy.log | |
done | |
echo -n "Waktu selesai : " ;date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment