1 - 迁移工具CLI参考
The migration-tools CLI for your platform can be downloaded from our GitHub releases page. The tool is available for Linux, Mac, and Windows platforms.
The migration-tools CLI includes a handful of global options.
Options
Usage
Execute the following command, replacing each placeholder with your values. The access key and secret key are Account API keys, which will allow you to export from all Cattle environments.
Result: The migration-tools CLI exports Compose files for each stack in every Cattle environments in the —export-dir
directory. If you omitted this option, the files are saved to your current directory.
Migration-Tools Parse Reference
Options
Subcommands
Usage
Execute the following command, replacing each placeholder with the absolute path to your Stack’s Compose files. For each stack, you’ll have to re-run the command for each pair of Compose files that was exported.