kopia Verified for current stable LTS

Kopia Command: Create New Policy

Use for create new policy with Kopia. Exact CLI syntax to create new policy using Kopia.

When to use this: Use for create new policy with Kopia.

Command Syntax

kopia policy set --global --keep-latest <number_of_snapshots_to_keep> --compression <compression_algorithm>

Command Breakdown

--global
Command Option
Tool-specific option used by this command invocation.
--keep-latest
Command Option
Tool-specific option used by this command invocation.
--compression
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to create new policy using Kopia.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Kopia directory