Merge branch 'master' of github.com:IndiePaaS/IndiePaaS

This commit is contained in:
pierreozoux 2015-07-16 18:08:41 +01:00
commit 238820ea5a

View file

@ -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
```