JTok / unraid.vmbackup

a plugin for backing up VMs in unRAID including vdisks and configuration files.
51 stars 4 forks source link

Improve pre-install step #36

Closed realizelol closed 1 year ago

realizelol commented 1 year ago

Hey JTok,

could you please merge this PR in case my router is running as a VM on UnRaid which will always move the plugin to: /boot/config/plugins-error/vmbackup.plg. As there is no internet connection on boot and the script cannot fetch the plugin from github. If package exists in destination and the hash is correctly it will not being downloaded. But before the script get to the point where the package install process is started it will be deleted and needs to be downloaded every time it get installed - even on reboot.

You don't really need to do a version bump because nobody else seems to care about that. But if you want to feel free.

This will actually do:


best regards

realizelol

JTok commented 1 year ago

*Edit: I'm an idiot and misunderstood what was going on originally. I will implement these changes in the next version.