From 8eab0e9acfb50d698c33266fbdb928230fae88db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Tue, 15 Dec 2020 14:27:27 +0100 Subject: [PATCH] DOC: restore sql --- doc/Maintenance.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/Maintenance.rst b/doc/Maintenance.rst index eb92ce4..fdec930 100644 --- a/doc/Maintenance.rst +++ b/doc/Maintenance.rst @@ -13,3 +13,12 @@ of the SQL-Backend:: utils/backup.py -d folder/where/the/backup/is/created You can do this while CaosDB is online. + +Restoring a Backup +------------------ +CaosDB should be offline for restoring. + +You can use the Bash script ``utils/make_db`` to restore a backup (SQL dump) +of the SQL-Backend:: + + make_db restore_db path/to/sql.dump -- GitLab