shc backup schedule set
shc backup schedule set
Section titled “shc backup schedule set”register a scheduled backup for a scope
Synopsis
Section titled “Synopsis”Register (or replace) the backup schedule for a scope. The cron expression accepts 5-field cron plus @hourly/@daily/@weekly descriptors. The schedule is persisted and survives daemon restarts.
shc backup schedule set <cron> [flags]Examples
Section titled “Examples” shc backup schedule set "0 2 * * *" --scope stack -s myblog shc backup schedule set "@daily" --scope tenant -t default shc backup schedule set "@hourly" --scope stack -s myblog --all-connectedOptions
Section titled “Options” --all-connected also back up each matched stack's integration-graph peers -h, --help help for set --scope string scope level (global|tenant|environment|stack|deployment) (default "stack") -s, --stack string stack name (for stack/deployment scopes) --with-dependants also back up the stacks that depend on each matched stackOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) -e, --environment string environment name (default: $SHC_ENVIRONMENT) --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -t, --tenant string tenant name (default: $SHC_TENANT) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc backup schedule - manage scheduled backups
shc@docs:~$