|
@ -175,10 +175,11 @@ cmd=( |
|
|
docker run -i --rm --network "$container_network" |
|
|
docker run -i --rm --network "$container_network" |
|
|
-v "$RESTORE_TMPDIR/fifo:/tmp/restore/fifo" |
|
|
-v "$RESTORE_TMPDIR/fifo:/tmp/restore/fifo" |
|
|
"$DEFAULT_CURL_IMAGE" |
|
|
"$DEFAULT_CURL_IMAGE" |
|
|
-sS |
|
|
|
|
|
-X POST |
|
|
|
|
|
-F "master_pwd=${ADMIN_PASSWORD}" |
|
|
|
|
|
|
|
|
-sS |
|
|
|
|
|
-X POST |
|
|
|
|
|
-F "master_pwd=${ADMIN_PASSWORD}" |
|
|
-F "name=${dbname}" |
|
|
-F "name=${dbname}" |
|
|
|
|
|
"${curl_opts[@]}" |
|
|
-F "backup_file=@/tmp/restore/fifo" |
|
|
-F "backup_file=@/tmp/restore/fifo" |
|
|
http://${container_ip}:8069/web/database/restore |
|
|
http://${container_ip}:8069/web/database/restore |
|
|
) |
|
|
) |
|
|