mirror of
https://github.com/tornadocash/trusted-setup-server.git
synced 2024-11-21 09:26:54 +01:00
backup script
This commit is contained in:
parent
dcc7123b83
commit
a79cd95314
6
backup.sh
Executable file
6
backup.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker exec trusted-setup-server_mysql_1 sh -c 'mysqldump -u $MYSQL_USER -p$MYSQL_PASSWORD $MYSQL_DATABASE > /var/lib/mysql/backup_dump.sql'
|
||||
docker cp trusted-setup-server_mysql_1:/var/lib/mysql/backup_dump.sql /tmp/
|
||||
scp /tmp/backup_dump.sql ip.tornado.cash:/root
|
||||
|
Loading…
Reference in New Issue
Block a user