Grid CLI: pull
The pull
command allows you to download configuration files and resources from your Grid deployments.
Usage
grid pull [deployment-id] [options]
Options
--output
Specify the output directory for downloaded files.
grid pull deployment-123 --output ./configs
--config-only
Download only configuration files, not application code.
grid pull deployment-123 --config-only
--env
Include environment variables in the downloaded configuration.
grid pull deployment-123 --env
Description
The pull command allows you to download configuration files, environment variables, and other resources from your Grid deployments. This is useful for backing up configurations, replicating deployments, or troubleshooting issues.
Examples
Pull deployment configuration
Download configuration files for a specific deployment:
grid pull deployment-123
Pull with environment variables
Download configuration including environment variables:
grid pull deployment-123 --env
Pull to a specific directory
Download configuration to a specific directory:
grid pull deployment-123 --output ./backup-configs