Copy
Configuration
- type: copy
from: "connection1/path/to/source" # Required: Source Location
to: "connection2/path/to/dest" # Required: Destination Location
single_file: true # Optional: true/false. Force treat source as single file (no need to list the source location)
on_failure: abort # Optional: abort/warn/quiet/skip
id: my_id # Optional. Will be generated. Use `log` hook with {runtime_state} to view state.Properties
Property
Required
Description
Output
status: success # Status of the hook execution
from_uri: "s3://bucket/path/to/file" # The normalized URI of the source file
from_path: "/path/to/source/file" # The source path
to_uri: "gcs://bucket/path/to/file" # The normalized URI of the destination file
to_path: "/path/to/dest/file" # The destination path
bytes_written: 1024 # Number of bytes writtenExamples
Archive Files Between Cloud Storage
Upload A Local DuckDB Database into S3
Copy Multiple Files Pattern
Force Single File Copy
Force Directory Copy
Last updated
Was this helpful?