Skip to content

Commit

Permalink
fix: Web Serving database now move the block (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
xusine authored Mar 20, 2023
1 parent 6ac0bf6 commit 6faa386
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions benchmarks/web-serving/db_server/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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/

Expand Down

0 comments on commit 6faa386

Please sign in to comment.