Last active
October 13, 2017 11:46
-
-
Save 63phc/07b5bc8fb49b69de8532083e899796a5 to your computer and use it in GitHub Desktop.
This file contains 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
python3 manage.py dumpdata -e=contenttypes -e=auth.permission> <file>.json | |
: | |
dumpdata --exclude auth.permission --exclude contenttypes --exclude admin.LogEntry --indent 2 > db.json | |
scp root@ip:pathtofileonserver pathfiledowload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment