Darkestnoir

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by Darkestnoir

  1. Hey, i got a Eaton Ellipse ECO 800, but ~once a day it goes on battery for a second and switch immediately back to wall power. Not sure why it does it, but the notification/email everyday from the plugin is a little bit annoying. A configurable delay in seconds would be nice 😅 Edit: Reason for the battery kicking in is a "faulty?" Tasmota power plug which sometimes crashes and disconnect the power for a short time, funny that my server not cared before i had the UPS
  2. A "small" feature request: Optional Zstandard compression. Because its the "best" compression algorithm at the time, when you compare time needed to compression ration.
  3. +1 I am coming from Proxmox and this feature is really needed!
  4. This would also be the way i would fix it, i am happy to see it in the next release ☺️ Ah, i totally forgot this, ty for the hint. Oh, i overlooked this ty. Okay, i found the VM Backup plugin, its a little bit old, but maybe it works just fine for it. Edit: Hm seems not to work correctly unfortunately. I can see it their neither: That would be great, because FF is my main browser ^^
  5. It would be nice, if i can also set permissions to make a file executable (chmod *+x). Also why i can't edit .sh files, but when i remove the file extension it works? Edit: Okay i have to manual edit the /boot/config/editor.cfg. Would be nice if this file has already the most file extensions in it, or a easier GUI configuration menu. Edit2: It also would be nice if the editor could check if the file is correctly formatted. F.e. i had created a bash script in Windows with the wrong line endings (LE instead of LF), so the script didn't work correctly. I couldn't see the difference within the editor, only nano showed that is something wrong. After i converted them, they look the same in the editor of this plugin, but now they work.
  6. Okay ty with all this, now i got some issues with the Appdata.Backup plugin (because a simple rsync is not enough for me 😅), but i posted it in the appropriate thread. Not sure which part of this thread i should mark as solution, maybe i just should edit the first post or add a new one with a summary.
  7. Hey, i got few issues with this plugin unfortunately: The plugin seems to check if the destination is available before running the pre-run script, which leads to an error, because my backup drives are detach and unmounted and the pre-run script has to attach and mount them before (see 5.). My scripts can't be executed, i get a error. The are saved on my cache pool drives with ZFS as fs, thats my scripts: Backup_pre-run.sh: #!/bin/bash # Attach the backup disks /usr/local/sbin/rc.unassigned attach WD_Elements_25A3_564748334E355047-0:0 /usr/local/sbin/rc.unassigned attach Lexar_USB_Flash_Drive_901451523E981815-0:0 # Mount the backup disks /usr/local/sbin/rc.unassigned mount name=Backup1 /usr/local/sbin/rc.unassigned mount name=Backup2 Backup_post-run.sh: #!/bin/bash # Unmount the backup disks /usr/local/sbin/rc.unassigned umount name=Backup1 /usr/local/sbin/rc.unassigned umount name=Backup2 # Detach the backup disks /usr/local/sbin/rc.unassigned detach name=Backup1 /usr/local/sbin/rc.unassigned detach name=Backup2 The compression part seems to use only one core, is there a way to let it use more, to speed it up, to reduce down times of the container/VMs? My VM does not get a backup, because it does not get stopped and the plugin throws an error because the VM disks gets used of course. I thought this plugin does also stops and restarts VMs. Which is the best way to do this for schedule runs? It seems that my post-run script not getting executed as well, but there is not error for it in the log: [27.02.2024 00:37:12][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D [27.02.2024 00:37:12][ℹ️][Main] Backing up from: /mnt/cache/appdata, /mnt/user/appdata [27.02.2024 00:37:12][ℹ️][Main] Backing up to: /mnt/disks/WD_Elements_25A3/Backup/ab_20240227_003712 [27.02.2024 00:37:12][❌][Main] /mnt/cache/appdata/ServerScripts/Backup_pre-run.sh is not executable! Skipping! [27.02.2024 00:37:14][⚠️][Main] There are no docker containers to back up! [27.02.2024 00:37:14][ℹ️][Main] Backing up the flash drive. [27.02.2024 00:37:41][ℹ️][Main] Flash backup created! [27.02.2024 00:37:41][ℹ️][Main] Copying the flash backup to '/mnt/disks/Lexar/Backup' as well... [27.02.2024 00:37:42][ℹ️][Main] VM meta backup enabled! Backing up... [27.02.2024 00:37:42][ℹ️][Main] Done! [27.02.2024 00:37:42][ℹ️][Main] Backing up extra files... [27.02.2024 00:52:00][❌][Main] tar creation failed! Tar said: tar: /mnt/cache/domains/HomeAssistant/haos_ova-11.5.qcow2: file changed as we read it [27.02.2024 00:52:03][ℹ️][Main] Checking retention... [27.02.2024 00:52:03][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;) [27.02.2024 00:52:03][ℹ️][Main] ❤️ In Firefox (123.0) it is not possible to select new sources etc. over the menu, when i click on a folder/checkbox, it just reloads the site, no issue with Chrome: My settings:
  8. Okay, still not sure what do you mean, i tried all 3 possibility's i can think of, none worked here, see the picture above. Edit: Ah ty, maybe also add this to the help thing: '/usr/local/sbin/rc.unassigned detach name=diskname' - detach device by disk name.
  9. Okay, the i think the serial is the easiest one, because it was the first thing i found and makes sense. But i still can't find the correct /dev/sdX or devX designation for my drive to detach it:
  10. Ty for the fix. I think its spins, because the led is not slowly blinking, the drive vibrates and need to much power, also it makes a humming sound 😄 No, the external USB WD disk can't be spin down, Unraid tries it, but the drive just blinks fast for few seconds and then steady again. I am using 6.12.8 already, just installed it few days ago. Like i said the only solution is to unplug the drive, unbind the USB driver, maybe ububctl or anything else which disables the USB port. Edit1: Okay, i detached the drive and after i came back, after few hours, it was spin downed. It seems it takes a little bit of time until the drive spins down (have to recheck again). When i just unplug the USB cable it spins down immediately. I already found the command to detach and attach a disk. But i can't find the correct device to use the detach command. Not sure why every cmd needs another name/ID for the same device in the end, when the serial is always available and unique (f.e. WD_Elements_25A3_564748334E355047-0:0 in my case) The other things like diskname or /dev/sdX or devX designation (which i am not sure were i can find them) can change, which is bad for such a script. A "fix" for this would be nice @dlandon, so we can just use the serial for every attach, detach, mount, unmount etc. cmd. Edit2: It takes 30min until the drive spins down, after detach, not good, but okay.
  11. Ty, this fixes the second problem. I used the disk identification/serial, which makes more sense to me, but fine it works. Why ever it shows "success" but not really does anything with a wrong disk name. The limit to 8 characters in the disk name is a little bit strange. Ty for the script, but like i said, the spindown does not work, the external USB WD drive ignores it. Even when i detach the disk via the WebUI it does not make a difference. My internal disk have no issues with spindowns. I can't unbind the USB driver, because of the Unraid stick and i also want to use other USB devices, i have to disable the specific USB port, like this program does uhubctl. So is there a way to use that program in Unraid, or do anyone know a other plugin etc.?
  12. This not really helps in any way 😅 Let me pack it in one sentence: I want a automated backup, which is performed by schedule, which mounts my external USB WD HDD and unmount/spindown it afterwards. Problems in that i run. Unraid can't spindown the external USB WD HDD, because WD sucks, had the same problem with proxmox, so i had to unbind the USB driver stack (not really a solution for Unraid). I tried to mount/unmount the HDD with: /usr/local/sbin/rc.unassigned mount name=diskname But it seems not to work, i tried it via the console, it says "success" but nothing happens. I tried different "disknames", either i don't find the correct "diskname" or it just not work.
  13. Hey, i got an external HDD from WD as my backup drive. Now i need a script or so, to mount the drive for the backup and unmount and spin it down afterwards. The plugin Appdata Backup seems to do backup stuff fine and i also can enter custom scripts. I also installed Unassigned Devices to do the mounting, but not sure if and how i can use it via a script. In Proxmox i simply used this script: #!/bin/bash if [ "$1" == "job-start" ]; then echo '2-4' |tee /sys/bus/usb/drivers/usb/bind sleep 30 mount UUID=6ff3beb2-cfb9-4f0f-a12b-2261be04253d /mnt/backup fi if [ "$1" == "job-end" ]; then sleep 30 umount /mnt/backup echo '2-4' | tee /sys/bus/usb/drivers/usb/unbind fi I had to unbind the USB driver to get the drive to spin down, because i saw no other way back then. But for Unraid this solution is probably not the best, if its even working. I found a little program called uhubctl to disable specific USB ports, but no idea how i get that working in Unraid. I am thankful for any useful tips ^^
  14. Hey, i had the same question and found this: