Creates a backup of /etc/snapraid.conf to each disk in the snapraid array.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wp 94c0a93cfa Update 'README.md' 3 months ago
README.md Update 'README.md' 3 months ago
snapcfg.py Add 'snapcfg.py' 3 months ago

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