Repositories and Backends
This module explains where to store Restic data and how to connect using local, SSH, or cloud backends.
Mental Model
In rclone, you think in terms of remote:path.
In Restic, you think in terms of RESTIC_REPOSITORY (the destination) + snapshots inside it.
Lessons
| Lesson | Outcome |
|---|---|
| Repository Layout and Backends | Pick a clear folder layout that is easy to manage |
| Credential Patterns and Environment Variables | Keep secrets out of scripts and logs |
What You'll Be Able To Do After This Module
- Choose a repository path that will not get mixed up later
- Set
RESTIC_REPOSITORYandRESTIC_PASSWORD_FILEsafely - Avoid the most common automation and secrets mistakes