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> 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
Restic Command: Cleanup Repository Keep Latest Snapshots
restic forget --keep-last 1 --prune Restic Command: Initialize Backup Repository restic init -r <path/to/repository> Restic Command: Restore Backup Snapshot To Target Directory restic -r <path/to/repository> restore <latest|snapshot_id> --target <path/to/target> Restic Command: Restore Path From Backup To Target Directory restic -r <path/to/repository> restore <snapshot_id> --target <path/to/target> --include <path/to/restore> Restic Command: Show Backup Snapshots In Repository restic -r <path/to/repository> snapshots