Import-AutoDeployState
Restores the state of the Auto Deploy service.The restore data is a zip file containing the entire state of the Auto deploy when the back up command was invokedYou must have the "AutoDeploy.Profile.Edit" privilege on the root folder of vCenter Server to use this cmdlet.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
ImportFilePath | String | named |
|
Import file path of restore file |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
Import-AutoDeployState "C:/rbd-backup.zip"
Fetches the backup data from the file at the mentioned path and uses it to do a restore.
Related Commands
AutoDeployState
The cmdlet will fetch the current state of Auto Deploy and will write out a zip file named rbd-backup.zip in the specified directory path.
The cmdlet uploads the file contents to restore the Auto Deploy state.