Skip to content
Snippets Groups Projects
Commit 238820ea authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

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

parents 6c219794 44b4e9df
No related branches found
No related tags found
No related merge requests found
upload the key ```
# upload the key
gpg --import .gnupg/secring.gpg gpg --import .gnupg/secring.gpg
source /etc/environment source /etc/environment
domain=example.org 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 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 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 mysql -u admin -p -h db < /tmp/dump.sql
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment