Use this cmdlet to create a backup a Lenovo XClarity Administrator system data, settings, and imported files such as operating-system images, firmware updates, and OS device drivers.
Backup-LXCA [-Connection LXCAConnection]
-Label SecureString
-Password SecureString
[-RemoteShareDestination String]
[-IncludeOS]
[-IncludeFirmware]
[CommonParameter]
If not specified, the backup is created in the XClarity Administrator internal repository.
Lenovo.SysMgmt.LXCA.Integration.Data.LXCABackupResult
This cmdlet returns a Lenovo.SysMgmt.LXCA.Integration.Data.LXCABackupResult object that contains information about the backup process result. If the backup process succeeds, the backup id is also returned.
The following example creates a full backup, including OS images, firmware updates, and OS device driver updates.
$cred = Get-Credential
Connect-LXCA -Host "192.0.2.0" -Credential $Cred -SkipCertificateCheck
$backupPwd = ConvertTo-SecureString "password" -AsPlainText -Force
$result = Backup-LXCA -Label backupLabel -Password $backupPwd -IncludeFirmware -IncludeOS
# Show all the information about the request, including result value, message (if any), and brief
# description of each backup (if any)
$result
Disconnect-LXCA