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
Junco To-Do List - Jun 27, 2013
Grebe API - Old Page - Jul 18, 2014
Junco User Documentation - Sep 23, 2014
Markdown and Multimarkdown testing and documentation - Jun 18, 2014
Creating new blog tool based upon Junco and Kinglet - Jun 18, 2014
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Jan 11, 2025 - 11:30 p.m. EST