]> ##&name; ### v0.2.9 - 2024/05/02 **Widdershins** - add a more detailed VM description to the empty vdisk_path notification (@realizelol) - add a flexible variable to the sleep-timer before ACPI VM shutdown so VM can recognize the "power-button-shutdown" (@realizelol) ### v0.2.8 - 2024/04/23 **Forks and Spoons Only** - fix backup of VM names containing spaces (@realizelol) - indentation fixes (@realizelol) - update loops to break the row via semicolon (@realizelol) - fix disk_prefix in $vdisk_path variable (@realizelol) - fix counting vDisks by using Disks instead of "file sources" + Silence: STDERR output to /dev/null (@realizelol) - add ability for the script to handle OS suspended VMs (@realizelol) ### v0.2.7 - 2024/04/21a **Loud Sounds in the Night** - fix v0.2.6 update notes - fix config directory not being created automatically ### v0.2.6 - 2024/04/21 **Booger Nights** - workaround for issue with empty path with unassigned devices (thanks to @juugis) - fix issue with plugin requiring internet at server boot (thanks to @realizelol) - respect existing installed packages that might be used by other plugins (thanks to @realizelol) - moved old cronjob removal to pre-install step (thanks to @realizelol) ### v0.2.5 - 2022/12/25 **The Last Dancer** - fixed typo in import for jquery filetree - fixed issue with renaming and deleting configs not showing configurations - cleaned up code - enabled beta for backup extra files - re-added option to backup vms while they are running ### v0.2.4 - 2021/03/12 **Fettuccine Afraido** - removed pigz and reverted back to standard gzip to reduce complexity. - fixed issue with legacy options not being updated correctly. - fixed issue with old package files not being removed. - fixed plugin package removal. - moved txt and json files from usb to /tmp to reduce writes to usb. - added option to backup configs. - added option to backup pre and post scripts. ### v0.2.3 - 2021/03/11 **Firetown** - removed max unraid version. - hotfix for graphic issues related to broken EOL characters. ### v0.2.2 - 2021/02/03 **Raz of the SAZ** - added checks to kill stuck scripts. - updated pigz to pigz-2.3-x86_64-2_slonly. - set max unraid version to 6.8.3 until 6.9 testing is done. - added version number to bottom of Settings tab. ### v0.2.1 - 2020/02/20 **Pika Pika** - merged changes from unraid-vmbackup script v1.3.1. - added seconds to logs. - added option to use zstandard compression. - added option to create a vm specific log in each vm's subfolder. - added config drop-down selection to the top of each tab. - updated method used to determine cpu thread count. ### v0.2.0 - 2020/01/21 **The Resistance** - fixed new config options not always getting added to user config. - fixed parenthesis in vm names. - added ability to run pre and post scripts. - added option to run backup without array started. - added confirmation dialogs to destructive or dangerous buttons. - added support for multiple configs/schedules. - added option to allow multiple configs to run simultaneously. - added option to set compression level. - added option to set the number of threads used during compression. - changed compression program from gzip to pigz to support multi-threading. - changed alert dialogs to use sweet alerts. - updated help for custom cron. ### v0.1.9 - 2019/12/31 **Flame Broiled** - fixed snapshot extension form validation. - added file versions to reduce writes to thumb drive. - added option to run backup even during parity check. - added alert if enable backups is set to 'No' when apply button is hit. - added ability to view latest log file. - updated buttons and pages to use XHR (ajax) for asynchronous loading to reduce page refreshes. - updated code to reduce page load times. - implemented md5 hash checks for package files during install. - removed "vms to backup while running" option due to difficulties with the menu item. ### v0.1.8 - 2019/12/24 **Penny Wise and Pound Stupid** - fixed weekly cronjob. - fixed validation to allow spaces in paths. - fixed cronjob not being removed during uninstall. - fixed extension matching case sensitivity. - added fix for stuck snapshots. - added ability to abort running scripts. - changed default folder start location based on restrictive validation setting. - updated help. - updated lists to be sorted alphabetically. ### v0.1.7 - 2019/12/22 **Ms. Frizzle** - fixed minor issues. - fixed paths requiring trailing slashes. - fixed backup location drop-down color when using black theme. - added additional logging. - added donate button. - added backup now button. - changed backup location drop-down start folder to /mnt/. - updated help. - updated readme. ### v0.1.6 - 2019/12/18b **Powered by Caffeine** - fixed spacing in tmp log file. - fixed issue with xml plugin url. ### v0.1.5 - 2019/12/18a **This Beer is Tasty** - fixed issue with runscript.php not being included in plugin package. - changed how logging is handled when running the script. ### v0.1.4 - 2019/12/18 **Aging Gracelessly** - initial beta release - based on unraid-vmbackup script v1.2.2 at https://github.com/JTok/unraid-vmbackup. # remove plugin files from emhttp. rm -rf /usr/local/emhttp/plugins/&name; 2>/dev/null # remove old txt and json files. rm -f /boot/config/plugins/&name;/*.txt 2>/dev/null rm -f /boot/config/plugins/&name;/*.json 2>/dev/null rm -f /tmp/&name;/*.txt 2>/dev/null rm -f /tmp/&name;/*.json 2>/dev/null # remove old package files. find /boot/config/plugins/&name; -type f \ -maxdepth 2 -iname "*.txz" \ ! -iname "&xmlstarlet;.txz" \ ! -iname "&name;-&tag;-&version;.txz" \ -delete 2>/dev/null # remove legacy default cronjob. ( crontab -l | grep -v -F "# Job for VM Backup plugin:" ) | crontab - ( crontab -l | grep -v -F "/usr/local/emhttp/plugins/vmbackup/runscript.php run_backup > /dev/null" ) | crontab - # create plugin tmp folder. mkdir -p /tmp/&name; "&gitURL;/packages/&xmlstarlet;.txz" &XMLMD5; &gitURL;/packages/&name;-&tag;-&version;.txz &MD5; chmod -R 755 /usr/local/emhttp/plugins/&name; chmod -R 777 /tmp/&name; # update files and re-add missing cronjobs. /usr/local/emhttp/plugins/vmbackup/scripts/commands.sh update_user_conf_file all /usr/local/emhttp/plugins/vmbackup/scripts/commands.sh update_user_script all /usr/local/emhttp/plugins/vmbackup/scripts/commands.sh create_vm_lists rebuild_text_files find /boot/config/plugins/&name;/ -type f -iname "&name;*.txz" ! -iname "*&tag;*" -delete find &packages;/ -type f -iname "xmlstarlet*.txz" ! -iname "&xmlstarlet;.txz" -delete echo "" echo "-----------------------------------------------------------" echo " &name; has been installed." echo " copyright 2019-$(date +'%Y'), &author;" echo " version: &tag; - &version;" echo "-----------------------------------------------------------" echo "" # remove cronjob. ( crontab -l | grep -v -F "# Job for VM Backup plugin:" ) | crontab - ( crontab -l | grep -v -F "/usr/local/emhttp/plugins/vmbackup/runscript.php" ) | crontab - # remove installed packages. find "&packages;/" -type f -iname "*.txz" -delete # remove plugin config folder. rm -rf /boot/config/plugins/&name; # remove plugin folder. rm -rf /usr/local/emhttp/plugins/&name; # remove plugin files from tmp. rm -rf /tmp/&name; # remove xmlstarlet. removepkg &xmlstarlet; # remove plugin. removepkg &name;-&tag;-&version; echo "" echo "-----------------------------------------------------------" echo " &name; has been uninstalled." echo " copyright 2019-$(date +'%Y'), &author;" echo " version: &tag; - &version;" echo "-----------------------------------------------------------" echo ""