6 lines
172 B
Bash
Executable File
6 lines
172 B
Bash
Executable File
#!/bin/sh
|
|
STAMP=`date +"%Y%m%d-%H%M%S"`
|
|
OUTPUT=mysql-ALL_$STAMP.sql.gz
|
|
echo "Dumping COMPLETE SQL STORE to $OUTPUT ..."
|
|
mysqldump -A -e "$@" | gzip -f --rsyncable >$OUTPUT
|