community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r1694850 [3/3] - in /comdev/tools: comdev_tools/settings.py fixtures/backup_data.json fixtures/events_list_dumpscript.py readme.md requirements.txt scripts/backup.sh
Date Sat, 08 Aug 2015 23:09:41 GMT
Modified: comdev/tools/readme.md
URL: http://svn.apache.org/viewvc/comdev/tools/readme.md?rev=1694850&r1=1694849&r2=1694850&view=diff
==============================================================================
--- comdev/tools/readme.md (original)
+++ comdev/tools/readme.md Sat Aug  8 23:09:41 2015
@@ -195,11 +195,15 @@ migration again.
 
 ## Backup and Restore
 
-In order to backup your data run the script"
+In order to backup your data run the following command on the
+meetups_app container (as root):
 
-    ./scripts/backup.sh [dev|stage|local] [commit]
+    docker exec meetups_app python manage.py dumpscript > /home/project/comdev/tools/fixtures/events_list_data.py
 
-Your backup files will be stored in /fixtures in JSON format.
+This will use the docker_extensions command
+"[dumpscript](http://django-extensions.readthedocs.org/en/latest/dumpscript.html)"
+to create a script that can be used for rebuilding the database to
+it's current state.
 
 When running in production it is recommended that you run this script
 via a cron job or similar. However, note that depending on your setup

Modified: comdev/tools/requirements.txt
URL: http://svn.apache.org/viewvc/comdev/tools/requirements.txt?rev=1694850&r1=1694849&r2=1694850&view=diff
==============================================================================
--- comdev/tools/requirements.txt (original)
+++ comdev/tools/requirements.txt Sat Aug  8 23:09:41 2015
@@ -1,2 +1,3 @@
 Django
 psycopg2
+django-extensions



Mime
View raw message