Created
September 19, 2014 21:52
-
-
Save carmstrong/f816648894aadfddf785 to your computer and use it in GitHub Desktop.
Restore Deis etcd keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nse deis-controller | |
| cd /app | |
| export ETCD=172.17.8.100:4001 | |
| ./manage.py shell <<EOF | |
| from api.models import * | |
| [k.save() for k in Key.objects.all()] | |
| [a.save() for a in App.objects.all()] | |
| [d.save() for d in Domain.objects.all()] | |
| EOF | |
| exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment