/scripts

Primary LanguageShell

restore-deleted-files-restic

This script restores all the deleted files from all Restic snapshots.

Prerequisites

  • Restic
  • Bash

Usage

To run the script, save it to a file (e.g. restore-deleted-files-restic.sh), make it executable (chmod +x restore-deleted-files-restic.sh), and then run it (./restore-deleted-files-restic.sh).

Example

$ chmod +x restore-deleted-files-restic.sh $ ./restore-deleted-files-restic.sh This will restore all the deleted files from all Restic snapshots to the destination directory specified in the script.