Compare commits

...

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] f4ec77ade8 Optimize ubuntu image pull to only happen when image is missing
Co-authored-by: Siumauricio <47042324+Siumauricio@users.noreply.github.com>
2025-12-20 01:49:03 +00:00
copilot-swe-agent[bot] 5f441f5b54 Add pre-pull of ubuntu image before volume backup to prevent race condition with cleanup
Co-authored-by: Siumauricio <47042324+Siumauricio@users.noreply.github.com>
2025-12-20 01:47:10 +00:00
copilot-swe-agent[bot] ed1e3244c6 Initial plan 2025-12-20 01:42:21 +00:00
@@ -27,6 +27,9 @@ export const backupVolume = async (
echo "Turning off volume backup: ${turnOff ? "Yes" : "No"}"
echo "Starting volume backup"
echo "Dir: ${volumeBackupPath}"
echo "Ensuring ubuntu image is available..."
docker image inspect ubuntu:latest > /dev/null 2>&1 || docker pull ubuntu:latest
echo "Ubuntu image ready ✅"
docker run --rm \
-v ${volumeName}:/volume_data \
-v ${volumeBackupPath}:/backup \