mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-21 08:25:00 -05:00
8 lines
217 B
Plaintext
Executable File
8 lines
217 B
Plaintext
Executable File
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
|
|
|