policy export
$ kopia policy export [target]
Exports the policy 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 (‘user@host’,’@host’,‘user@host:path’ or a local path). Use –global to target the global policy. |