restic Verified for current stable LTS

Restic Command: Cleanup Repository Keep Latest Snapshots

Use for cleanup repository keep latest snapshots with Restic. Exact CLI syntax to cleanup repository keep latest snapshots using Restic.

When to use this: Use for cleanup repository keep latest snapshots with Restic.

Command Syntax

restic forget --keep-last 1 --prune

Command Breakdown

--keep-last
Command Option
Tool-specific option used by this command invocation.
--prune
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to cleanup repository keep latest snapshots using Restic.

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 Restic directory