]> ###2022.12.13 - Add deprecation banner ###2022.07.23 - Set permissions on backups to be 0777 ###2021.12.05 - Don't exclude the docker image file since it's now extremely rare for it to be placed within appdata ###2021.11.03 - Fixed: File picker for start / stop scripts wasn't working ###2021.03.13 - Deprecate usb backup (still works though) when running Unraid 6.9 ###2021.03.10 - Permission Fix ###2020.12.27 - Fix some permission issues ###2020.10.21 - Compatibility Fixes ###2020.09.27 - When running 6.9-beta 27+, clicking on the notification will take you to the plugin's settings ###2020.07.09 - Execute all custom scripts from RAM ###2020.05.31 - Add pre-start script (Thanks jburnham) ###2019.10.27 - Adjust permissions on backup version of flash drive ###2019.09.25 - Remove purple text ###2019.03.23 - Utilize CA API for update checks ###2019.03.09 - Only rewrite the disk assignments file if it's changed ###2019.01.13 - update Icon ###2018.11.17 - unRaid 6.6+: Honor autostart rules when restarting containers ###2018.11.11 - Add in autov routines ###2018.11.01 - Fix dropdown color for 6.6 ###2018.10.19 - Fix Broken Pipe ###2018.07.15 - Fixed: Don't run a scheduled backup if array isn't started ###2018.03.15 - Fixed: Don't delete old backup sets if the source doesn't exist ###2018.03.02 - Fixed: PHP Warnings (hidden) in 6.5.0+ ###2017.12.22 - Fixed: Apply not being activated when using customized excluded folder ###2017.11.26 - Fixed: Backup schedule wouldn't run following a reboot of server ###2017.11.23 - Reorganization as part of updates to CA proper ###2017.11.05 - Initial Release # Remove old 'source' files rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null | grep -v '&version;') https://raw.github.com/&github;/master/archive/&name;-&version;-x86_64-1.txz &md5; mkdir -p /tmp/ca.backup2/tempFiles mkdir -p /var/lib/docker/unraid/ca.backup2.datastore mkdir -p /boot/config/plugins/ca.backup2/ rm -rf /usr/local/emhttp/plugins/ca.backup2/CA.page rm -rf /usr/local/emhttp/plugins/ca.backup2/caHelp.page /usr/local/emhttp/plugins/ca.backup2/scripts/removeCron.php /usr/local/emhttp/plugins/ca.backup2/scripts/addCron.php echo "" echo "----------------------------------------------------" echo " &name; has been installed." echo " Copyright 2015-2020, Andrew Zawadzki" echo " Version: &version;" echo "----------------------------------------------------" echo "" /usr/local/emhttp/plugins/ca.backup2/scripts/removeCron.php removepkg &name;-&version;-x86_64-1 rm -rf &plugdir; rm -rf /boot/config/plugins/&name;