docker / volumes-backup-extension

Back up, clone, restore, and share Docker volumes effortlessly.
Apache License 2.0
89 stars 19 forks source link

Transferring larger volumes results in `ERR_CHILD_PROCESS_STDIO_MAXBUFFER` error. #106

Open IORoot opened 1 year ago

IORoot commented 1 year ago

Describe the bug Transferring a volume from one host to another, the size is 218.9MB and I'm getting the error after 30 seconds or so:

Failed to clone volume SOURCE to destinaton volume DESTINATION: Exit code: ERR_CHILD_PROCESS_STDIO_MAXBUFFER

I believe that it's because you're using exec commands instead of spawn commands, I think.

In file volumes-backup-extension/ui/src/components /TransferDialog.tsx I think that line 112:

const transferredOutput = await ddClient.docker.cli.exec("run", [

needs to change to the spawn command. Otherwise you can't transfer larger payloads.

Sorry about that.