Export-ZeroPortalConfiguration

Writes the portal configuration to a file - a backup (XML) or a migration export (JSON).

Syntax

Export-ZeroPortalConfiguration -Path <string> [-Format <string>]

Description

Xml (default): the server writes the same backup file as the portal's download button; restore it with Import-ZeroPortalConfiguration or in the GUI, identifiers are kept. Json: the legacy migration export; the import re-imports packages from their repository paths and they get fresh GUIDs on the target.

Parameters

-Path <string>

Target file.

-Format <string>

Xml (default) or Json.

Examples

Export-ZeroPortalConfiguration -Path .\zeroportal-backup.xml