mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-28 03:12:15 -05:00
8 lines
217 B
Plaintext
8 lines
217 B
Plaintext
|
V=`date "+%Y%m%d_%H%M%S"`
|
||
|
mysqldump -u root -p --all-databases > all.database.$V.sql
|
||
|
|
||
|
scp all.database.$V.sql mailiverse-backup@red:db-backup && rm all.database.$V.sql
|
||
|
|
||
|
ssh mailiverse-backup@red ./db-backup-finished
|
||
|
|