6 lines
116 B
Text
6 lines
116 B
Text
|
#!/bin/bash
|
||
|
|
||
|
ARCHIVE=/backup/mysql/$(hostname -s)_$(date +%F)_mysql.gz
|
||
|
|
||
|
mysqldump --all-databases | gzip > $ARCHIVE
|