Merge branch 'master' of github.com:IndiePaaS/IndiePaaS
This commit is contained in:
commit
238820ea5a
1 changed files with 4 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
|||
upload the key
|
||||
```
|
||||
# upload the key
|
||||
gpg --import .gnupg/secring.gpg
|
||||
source /etc/environment
|
||||
domain=example.org
|
||||
docker run -it --rm --name test -h backup.container -v /root:/root -v /data/domains/$domain:/backup indiepaas/duplicity sftp://${BACKUP_DESTINATION}/$domain /backup
|
||||
|
||||
systemctl start service
|
||||
docker run -it --rm --name mysqlinport -v /data/domains/nao-ao-ttip.pt/mysql/dump.sql:/tmp/dump.sql --link mysql-nao-ao-ttip.pt:db indiepaas/mysql /bin/bash
|
||||
docker run -it --rm --name mysqlinport -v /data/domains/$domain/mysql/dump.sql:/tmp/dump.sql --link mysql-$domain:db indiepaas/mysql /bin/bash
|
||||
mysql -u admin -p -h db < /tmp/dump.sql
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue