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 $dumpfile
#mysql - #database - #programming - #junco - #grebe
From JR's : articles
34 words - 316 chars
created on
updated on
- #
source
- versions
Related articles
Old Lucas County registered sex offenders maps mashup info - Oct 29, 2013
The Guardian and Comments - April 2016 - Apr 12, 2016
Markdown and Multimarkdown testing and documentation - Jun 18, 2014
Creating new blog tool based upon Junco and Kinglet - Jun 18, 2014
Grebe API - Old Page - Jul 18, 2014
more >>