Documentation
Reference
CLI
cloudquery sync

cloudquery sync

Sync resources from configured source plugins to destinations

Synopsis

Sync resources from configured source plugins to destinations

cloudquery sync [files or directories] [flags]

Examples

# Sync resources from configuration in a directory
cloudquery sync ./directory
# Sync resources from directories and files
cloudquery sync ./directory ./aws.yml ./pg.yml
# Log tables metrics to a file
cloudquery sync ./directory ./aws.yml ./pg.yml --tables-metrics-location metrics.txt

Options

  -h, --help                             help for sync
      --license string                   set offline license file
      --no-migrate                       Disable auto-migration before sync. By default, sync runs a migration before syncing resources.
      --summary-location string          Sync summary file location. This feature is in Preview. Please provide feedback to help us improve it.
      --tables-metrics-location string   Tables metrics file location. This feature is in Preview. Please provide feedback to help us improve it.

Options inherited from parent commands

      --cq-dir string            directory to store cloudquery files, such as downloaded plugins (default ".cq")
      --log-console              enable console logging
      --log-file-name string     Log filename (default "cloudquery.log")
      --log-format string        Logging format (json, text) (default "text")
      --log-level string         Logging level (trace, debug, info, warn, error) (default "info")
      --no-log-file              Disable logging to file
      --telemetry-level string   Telemetry level (none, errors, stats, all) (default "all")

SEE ALSO