This script restores all the deleted files from all Restic snapshots.
- Restic
- Bash
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
).
$ 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.