Usage
Options
path to source of object to copy
path to target of copy operation
id of the instance
id of cloud connection on your account (get from calling ‘vastai show connections’)
type of transfer, possible options include Instance To Cloud and Cloud To Instance
show what would have been transferred
skip based on size only, not mod-time or checksum
skip all files that exist on destination
skip files that are newer on the destination
delete files on dest excluded from transfer
try to schedule a command to run hourly, daily, or monthly. Valid values are HOURLY, DAILY, WEEKLY For ex. —schedule DAILY Choices:
HOURLY, DAILY, WEEKLYStart date/time in format ‘YYYY-MM-DD HH:MM:SS PM’ (UTC). Default is now. (optional)
End date/time in format ‘YYYY-MM-DD HH:MM:SS PM’ (UTC). Default is contract’s end. (optional)
Day of week you want scheduled job to run on (0-6, where 0=Sunday) or ”*”. Default will be 0. For ex. —day 0
Hour of day you want scheduled job to run on (0-23) or ”*” (UTC). Default will be 0. For ex. —hour 16
Description
Copies a directory from a source location to a target location. Each of source and destination directories can be either local or remote, subject to appropriate read and write permissions required to carry out the action. The format for both src and dst is [instance_id:]path. You can find more information about the cloud copy operation here: https://vast.ai/docs/gpu-instances/cloud-syncExamples
Global Options
The following options are available for all commands:| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |