PowerShell module · 17.11
Create backups on a schedule
A nightly backup is a typical scheduled task:
$name = "tlspilot-$(Get-Date -Format yyyyMMdd).zip"
New-TLSPilotBackup -Mode this-computer `
-OutFile \\fileserver\backup\$name
-Password is used only with -Mode migrate. There it is required, must be at least 12 characters long and contain upper- and lower-case letters, a digit and a special character, and it encrypts the archive. A this-computer backup has no password; its secrets can only be restored on this management host.
-Mode migrate creates a backup for moving TLSPilot to another host, see chapter Backup and Restore. Restoring is deliberately not available as a command. It runs as a wizard with a preview in the Desktop Admin console, see chapter Restore.