CLI reference / sandbox / snapshot / get

stado sandbox snapshot get

Invocation

stado sandbox snapshot get --to <TO> <SNAPSHOT> <PATH>

Purpose

Write a file or folder (as a tar) of a snapshot into a new local file; the sandbox need not run

Required inputs and options

Input or optionContract
<SNAPSHOT>The snapshot id `snapshot history` or `snapshot latest` printed
<PATH>Path of the file or folder in the snapshot; a folder comes as a tar
--to <TO>The local file it is written to; one that exists is refused, never overwritten

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • The local file it is written to; one that exists is refused, never overwritten
  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.