Skip to content

Commit

Permalink
Run a monthly restic check
Browse files Browse the repository at this point in the history
Every month, a restic check is run, to see if there are any problems
with the repositories snapshot, index, or pack structures.  This does
not actually read any of the packs, though, since that can involve a lot
of data-download charges.
  • Loading branch information
akkornel committed Dec 9, 2023
1 parent d7c3d97 commit 72f2e17
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions root/etc/periodic/monthly/check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
# vim: ts=4 sw=4 noet

# This script runs our backups!

set -eu
set -o pipefail

# PART 0: Check environment
# No environment needed!

# PART 1: Run check
restic check

0 comments on commit 72f2e17

Please sign in to comment.