Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Using the Command Line Interface | Stacks and Layers Commands | sagcc list stacks migrate status
 
sagcc list stacks migrate status
Use this command to check the migration status after a failed migration attempt with a stack. The command output also indicates whether Command Central generated any templates before the migration attempt failed.
Syntax
*Command Central syntax:
sagcc list stacks stackName migrate status [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack for which to return migration status.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Output
Column
Description
Stack Alias
The alias name of the stack.
Templates Generated
Conditional. Indicates whether Command Central generated any templates during the failed migration run. Valid values:
- true - Command Central has generated one or more templates
- false - no templates generated during the failed run
Resume Previous Run
Conditional. Indicates whether Command Central will resume the migration from the point of failure or will start over in the next migration run with the same stack.
- true - will resume the migration from the point of failure
- false - will start the migration from the beginning
Usage Notes
*If both "Templates Generated" and "Resume Previous Run" are true, Command Central will reuse the generated templates when re-running the migration.
*If "Templates Generated" is true and "Resume Previous Run" is false, by default Command Central will generate new templates and not reuse the generated templates from the failed run. If you want to use the templates generated in the failed run, override the default behavior by including migration.reuse.templates=true when running the sagcc exec stacks migrate command to migrate the same stack again. For example, you can include this argument when you have edited and re-imported one or more of the generated templates from the failed run. You can find the generated templates in the Templates view of the Command Central web user interface.
Example
To check the migration status of the product stack named "stack01":
sagcc list stacks stack01 migrate status
Stack Alias Templates Generated Resume Previous Run
stack 01 true false
Related Topics