From d20ec9d924d7d04785236f4436b43aade3d05c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Mon, 6 Nov 2023 15:32:16 +0100 Subject: [PATCH] MAINT: document migration --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 697d047..d1d3e67 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,25 @@ # Welcome -** THIS REPOSITORY IS DEPRECATED! PLEASE USE LinkAhead Build!** -https://gitlab.indiscale.com/caosdb/src/linkahead-build -https://gitlab.com/linkahead/linkahead-build +**THIS REPOSITORY IS DEPRECATED! PLEASE USE LinkAhead Control!** + +https://gitlab.com/linkahead/linkahead-control + +**Migration to LinkAhead Control:** + +```bash +# log into the container +docker exec -ti compose_caosdb-server_1 bash +# go to the sql folder +cd git/caosdb-mysqlbackend/ +# create the sql dump +utils/backup.py -d /tmp/backup +# create the tar archive containing files, that were uploaded +tar czvf /tmp/backup/backup.tar.gz /opt/caosdb/mnt/caosroot +# log out of the container (Ctrl-D) +# then copy the backup from the container +docker cp compose_caosdb-server_1:/tmp/backup . +``` +You can use these two files to restore your data using LinkAhead Control. + This is **CaosDB Docker**, a part of the CaosDB project. -- GitLab