Skip to main content

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

LessonOutcome
Repository Layout and BackendsPick a clear folder layout that is easy to manage
Credential Patterns and Environment VariablesKeep 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_REPOSITORY and RESTIC_PASSWORD_FILE safely
  • Avoid the most common automation and secrets mistakes