get_container_archive_to_file
Save a file or directory from a container as a tar archive directly to the server host disk. Supports overwrite control and streams data to avoid memory limits.
Instructions
Retrieve a file or directory from a container as a tar archive written to a file on the server host.
Streams straight to disk (no in-band byte cap). The file is written by the server's user; ~ is
expanded and an existing file is refused unless overwrite=True.
args: id_or_name - The container id or name path - Path inside the container dest_path - Destination path on the server host for the tarball overwrite - Replace dest_path if it already exists (default False) returns: dict - {"path": , "bytes_written": int, "stat": dict}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dest_path | Yes | ||
| overwrite | No | ||
| id_or_name | Yes |