modified: start.sh

Added date/tinestamp to automated backup job
This commit is contained in:
Jonathan Ervine 2020-03-17 17:07:52 +08:00
parent 3f8078758c
commit 2d0443dd18

View File

@ -14,6 +14,7 @@ cp -fvp /sonarr-config/*.* /mnt/sonarr-ramdisk-mount
echo -e 'Set up the filesystem freeze, copy, unfreeze loop'
while true; do
sleep 890
date
sync /mnt/sonarr-ramdisk-mount/*.*
fsfreeze --freeze /mnt/sonarr-ramdisk-mount
sleep 10