Back up a Linux server with restic and prove the restore

8 steps · about 1 h 44 min · Beginner

  1. Install restic on your server (doc, restic docs, 10 min)

    Gets a working binary and shell completion.

  2. Understand how restic encrypts data (doc, restic docs, 10 min)

    Shows what the repository password protects and why losing it is fatal.

  3. Script restic safely (doc, restic docs, 15 min)

    Covers exit codes, JSON output and environment settings for unattended runs.

  4. Skim the FAQ for common pitfalls (doc, restic docs, 12 min)

    Answers the questions that appear after the first week of use.

  5. Back up to object storage (tutorial, DigitalOcean, 25 min)

    A complete remote-repository setup with a scheduled job.

  6. Find help and report issues (doc, restic docs, 5 min)

    Tells you where to go when a restore does not behave.

  7. Consult the repository format reference (doc, restic docs, 12 min)

    Explains the design behind deduplication and encryption.

  8. Keep the command manual handy (doc, restic docs, 15 min)

    Full command and flag reference for scripts.