From 6faa3867015ac5559a168d4ead5e44bc9d87be02 Mon Sep 17 00:00:00 2001 From: Cyan Lin Date: Mon, 20 Mar 2023 16:55:10 +0000 Subject: [PATCH] fix: Web Serving database now move the block (#421) --- benchmarks/web-serving/db_server/entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/benchmarks/web-serving/db_server/entrypoint.sh b/benchmarks/web-serving/db_server/entrypoint.sh index 12c23f822..858798172 100755 --- a/benchmarks/web-serving/db_server/entrypoint.sh +++ b/benchmarks/web-serving/db_server/entrypoint.sh @@ -1,7 +1,6 @@ #!/bin/bash -wget --no-check-certificate https://cloudsuite.ch/download/web-serving/ELGG_DB.tar.gz -tar -xvf ELGG_DB.tar.gz +wget --progress=bar:force -O - --no-check-certificate https://cloudsuite.ch/download/web-serving/ELGG_DB.tar.gz | tar -zxvf - # workaround for overlayfs: @@ -22,7 +21,7 @@ service $MY_SQL stop rm -rf /var/lib/mysql/* mariabackup --prepare --target-dir=/backup/ -mariabackup --copy-back --target-dir=/backup/ +mariabackup --move-back --target-dir=/backup/ chown -R mysql:mysql /var/lib/mysql/