From a4164a4749c4c456ba93910b7073c121ca462039 Mon Sep 17 00:00:00 2001 From: Daniel Karlsson Date: Thu, 12 Mar 2015 16:07:08 +0100 Subject: [PATCH] [#1258] Updated data/README.md --- data/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/data/README.md b/data/README.md index 793a1f05a7..caac6ffe4f 100644 --- a/data/README.md +++ b/data/README.md @@ -1,2 +1,17 @@ +# Vagrant content dump/load +This directory includes tools for dumping and loading data from the vagrantbox. The data we talk about is the database (postgres dump) & the user uploaded images & documents. + +Both of these scripts are supposed to be executed from the vagrant box as the vagrant user. + +## dump.sh +Will generate a rsr_dump file in ./dump/rsr_dump..tar.gz. +This file consist of +- db (user uploaded images) +- rsr.dump (Postgres dump) +- rsr.json (Django dump) + + +## load.sh +Expects a file ./dump/rsr_dump.tar.gz. This files requires the db directory and the rsr.dump Postgres dump but not the Django data dump. These scripts are supposed to be run from the vagrant box. The load.sh script expects a file in dump/rsr_dump.tar.gz. Since load.sh adds date to the file a manual rename is needed! \ No newline at end of file