Overview

The snapshots commands allow you to deploy and download snapshots across different environments and tenants.

Commands

deploy

Deploy snapshots to a target environment and tenant.

Usage

hotglue snapshots deploy --sourceFolder <path>

Options

OptionTypeRequiredDefaultDescription
--sourceFolderstringYes-Path to the source folder containing snapshots to deploy
--tenantstringYesdefaultTarget tenant for deployment

Examples

# Deploy snapshots to default tenant
hotglue snapshots deploy --sourceFolder ./snapshots

# Deploy snapshots to specific tenant
hotglue snapshots deploy --sourceFolder ./snapshots --tenant abc123

download

Download snapshots from a source environment or tenant.

Usage

hotglue snapshots download --downloadTo <path> --overwrite <boolean>

Options

OptionTypeRequiredDefaultDescription
--downloadTostringYes-Destination path where snapshots will be downloaded
--overwritebooleanNo-Whether to overwrite existing files at the destination
--tenantstringYesdefaultSource tenant to download snapshots from

Examples

# Download snapshots to local directory
hotglue snapshots download --downloadTo ./local-snapshots --overwrite true

# Download snapshots from specific tenant
hotglue snapshots download --downloadTo ./backup --overwrite false --tenant abc1234