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> 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
Kopia Command: Connect To Repository
kopia repository connect <repository_type> --path <path/to/repository> Kopia Command: Create Repository Local Filesystem kopia repository create filesystem --path <path/to/local_repository> Kopia Command: Create Repository S3 kopia repository create s3 --bucket <bucket_name> --access-key <AWS_access_key_id> --secret-access-key <AWS_secret_access_key> Kopia Command: Create Snapshot Directory kopia snapshot create <path/to/directory> Kopia Command: Ignore File Or Folder From Backups kopia policy set --global --add-ignore <path/to/file_or_folder>