restic Verified for current stable LTS

Restic Command: Backup Directory To Repository

Use for backup directory to repository with Restic. Exact CLI syntax to backup directory to repository using Restic.

When to use this: Use for backup directory to repository with Restic.

Command Syntax

restic -r <path/to/repository> backup <path/to/directory>

Command Breakdown

-r
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to backup directory to repository 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