mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-12-17 19:32:16 -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
|
||
|
|