From 172bea1328431b8fc4ae6c37870054f6624af406 Mon Sep 17 00:00:00 2001 From: Steffen Vogel <stvogel@eonerc.rwth-aachen.de> Date: Thu, 30 Aug 2018 12:26:38 +0000 Subject: [PATCH] added instructions for database backup/restore to README --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e8c3de..2dd5cbb 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,16 @@ We are using Docker and Docker Compose in order to make it as easy as possible f 4. Open the Docker CLI and navigate to the location of the demo files. 5. Start demo by running `docker-compose up -d` +## Backup / Restore Database + +We provide a simple shell script to backup and restore the current state of the MongoDB database: + +- Backup: `./sample-data.sh dump backup_2018_08_30.mongoarchive` +- Restore: `./sample-data.sh restore backup_2018_08_30.mongoarchive` + ## Copyright -2017, Institute for Automation of Complex Power Systems, EONERC +2017-2018, Institute for Automation of Complex Power Systems, EONERC ## License -- GitLab