policy import

$ kopia policy import [target]

Imports policies from a specified file, or stdin if no file is specified.

Flag Short Default Help
--[no-]allow-unknown-fields false Allow unknown fields in the policy file
--[no-]delete-other-policies false Delete all other policies, keeping only those that got imported
--from-file File path to import from
--[no-]global false Select the global policy.
Argument Help
target Select a particular policy (‘user@host’,’@host’,‘user@host:path’ or a local path). Use –global to target the global policy.