Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 3.12 KB

File metadata and controls

62 lines (46 loc) · 3.12 KB

Version: dev

datamon bundle upload

Upload a bundle

Synopsis

Upload a bundle consisting of all files stored in a directory, to the cloud backend storage. This is analogous to the "git commit" command. A message and a label may be set.

datamon bundle upload [flags]

Examples

% datamon bundle upload --path /path/to/data/folder --message "The initial commit for the repo" --repo ritesh-test-repo --label init
Uploading blob:0871e8f83bdefd710a7710de14decef2254ffed94ee537d72eef671fa82d72d10015b3758b0a8960c93899af265191b0108663c95ece8377bf89e741e14f2a53, bytes:1440
Uploaded bundle id:1INzQ5TV4vAAfU2PbRFgPfnzEwR
set label 'init'

Options

      --concurrency-factor int   Heuristic on the amount of concurrency used by various operations.  Turn this value down to use less memory, increase for faster operations. (default 100)
      --files string             Text file containing list of files separated by newline.
  -h, --help                     help for upload
      --label string             The human-readable name of a label
      --message (*) string       The message describing the new bundle
      --path (*) string          The path to the folder or GCS URL (gs://<bucket></optional/path/>) for the data
      --repo (*) string          The name of this repository
      --retry                    Enables exponential backoff retry logic to be enabled on put operations (default true)
      --skip-on-error            Skip files encounter errors while reading.The list of files is either generated or passed in. During upload files can be deleted or encounter an error. Setting this flag will skip those files. Default to false
      --verify-blob-hash         Enable blob hash verification for each uploaded blob
      --verify-hash              Enables hash verification on read blobs and written root key (for mount, requires Stream enabled) (default true)

Options inherited from parent commands

      --config string             Set the config backend store to use (bucket name: do not set the scheme, e.g. 'gs://')
      --context string            Set the context for datamon (default "dev")
      --format string             Pretty-print datamon objects using a Go template. Use '{{ printf "%#v" . }}' to explore available fields
      --loglevel string           The logging level. Levels by increasing order of verbosity: none, error, warn, info, debug (default "info")
      --metrics                   Toggle telemetry and metrics collection
      --metrics-password string   Password to connect to the metrics collector backend. Overrides any password set in URL
      --metrics-url string        Fully qualified URL to an influxdb metrics collector, with optional user and password
      --metrics-user string       User to connect to the metrics collector backend. Overrides any user set in URL
      --skip-auth                 Skip authentication against google (gcs credentials remains required)
      --upgrade                   Upgrades the current version then carries on with the specified command

SEE ALSO