Skip to content

Instantly share code, notes, and snippets.

@Jakob889
Jakob889 / cache_backup.sh
Last active February 22, 2021 09:08 — forked from jamescarlos/cache_backup.sh
Backup unRAID cache drive
#!/bin/bash
LogFile=/var/log/cache_backup.log
BackupDir=/mnt/disk2/backup/Datastorage
echo `date` "Starting cache drive backup to " $BackupDir >> $LogFile
#Stop plugin services located in /etc/rc.d/
# enter in plugins to stop here, if any
# /etc/rc.d/rc.plexmediaserver stop >> $LogFile