Search Results For “Tag:mysql” - # - rss
JR:
Db-dump.sh
- Used to dump the contents in database tables for backup purposes.
#!/bin/bash
dumpdir=/home/myaccount/dbdump
dt=`date +%d-%b-%Y`
dumpfile=$dumpdir/myaccount-dbdump-$dt.sql
/usr/bin/mysqldump --add-drop-table -uDBUSER -pDBPWD DBNAME > $dumpfile
gzip...
more>>
- Sep 24, 2014
- #mysql #database #programming #junco #grebe