Skip to content

muabila/unattended-snapraid

Repository files navigation

unattended-snapraid.sh

© COPYRIGHT 2019 by T.Magerl [email protected]

LICENCE: CC BY-NC-SA 4.0 (see licence-file included)

Description:

  • snapraid script for nightly schedules
  • updating parity data (if needed) and verifying results afterwards.
  • if neither is needed scan for bad blocks or verify x% of the parity (based on last verification)

Usage:

unattended-snapraid.sh [configfile] [scheduled-check-amount]

just pass snapraid-config file for the pool you want to handle.

optional: percent of archive to reverify if nothing else to do (default 3)

Changelog:

  • 2019-08-02
    • improved log output
  • 2019-07-31
    • minor bugfix
    • improved log output
  • 2019-07-30
    • ready for release
    • FIXED: suppress error message while removing non-existent logfiles
    • ADDED: only keep 7 most recent log files
    • ADDED: default settings via config file

Releases

No releases published

Packages

No packages published

Languages