policy export

$ kopia policy export [target]

Exports the policies to the specified file, or to stdout if none is specified.

Flag Short Default Help
--[no-]global false Select the global policy.
--[no-]overwrite false Overwrite the file if it exists
--to-file File path to export to
--[no-]json-indent false [ADV] Output result in indented JSON format
Argument Help
target Select a particular policy (a per-host policy @host, a per-user policy user@host, a per-path policy user@host:path or a local path). Use --global to target the global policy.