|
|
@ -88,7 +88,7 @@ read-0 container_network container_ip < <(get_container_network_ip "$container") |
|
|
|
|
|
|
|
DEFAULT_CURL_IMAGE=${DEFAULT_CURL_IMAGE:-docker.0k.io/curl} |
|
|
|
|
|
|
|
debug docker run --network "$container_network" \ |
|
|
|
debug docker run --rm --network "$container_network" \ |
|
|
|
"-v" "$host_path:/tmp/work" \ |
|
|
|
"$DEFAULT_CURL_IMAGE" \ |
|
|
|
-sS \ |
|
|
@ -97,7 +97,7 @@ debug docker run --network "$container_network" \ |
|
|
|
-F "backup_file=@/tmp/work/${source}" \ |
|
|
|
-F "name=${dbname}" \ |
|
|
|
http://${container_ip}:8069/web/database/restore |
|
|
|
docker run --network "$container_network" \ |
|
|
|
docker run --rm --network "$container_network" \ |
|
|
|
"-v" "$host_path:/tmp/work" \ |
|
|
|
"$DEFAULT_CURL_IMAGE" \ |
|
|
|
-sS \ |
|
|
|