Skip to content

Commit

Permalink
test case - backup/restore handle docker volume without permissions o…
Browse files Browse the repository at this point in the history
…n ubi
  • Loading branch information
grooverdan committed Aug 9, 2024
1 parent 3bc1f5e commit b0070c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,12 @@ zstd "${initdb}"/*zst*
--env MARIADB_ROOT_PASSWORD=soverysecret \
"$image"

# docker ubi volume compat
docker exec \
--user root \
"$cname" \
chmod ugo+rwt /backup

docker exec \
"$cname" \
mariabackup --backup --target-dir=/backup/d --user root --password soverysecret
Expand Down

0 comments on commit b0070c7

Please sign in to comment.