Creates a backup of /etc/snapraid.conf to each disk in the snapraid array.
Go to file
wp 94c0a93cfa Update 'README.md' 2021-07-24 13:32:16 -05:00
README.md Update 'README.md' 2021-07-24 13:32:16 -05:00
snapcfg.py Add 'snapcfg.py' 2021-07-24 13:28:22 -05:00

README.md

snapcfg

Creates a backup of /etc/snapraid.conf to each disk in the snapraid array.

To use

change snapdir to point to the root directory where all snapraid disks are mounted. A copy of snapraid.conf will be stored in the root of each subdirectory of snapdir.

cron

To run at 11:55 every Sunday: 55 23 * * 1 /srv/snapdisk/snapcfg.py >> /srv/snapdisk/snapcfg.log