Everything posted by vakilando
-
1. Bau - Synology - Unraid - IObroker
Bei Stromverbrauch darfst du mich nicht fragen... Mein Hauptaugenmerk lag auf einem performantem System, an dem ich lange Freude habe und einiges ausprobieren kann. Ich hatte Anfangs sogar kurz einen AMD Threadripper im Visier aber das war dann doch zuviel Stromverbrauch. Bei Unraid hast du kein echtes RAID, daher ja auch UNraid 😉 Du kannst ein oder zwei Paritätsplatten haben, auf die wird die Parität geschreiben. Wenn eine Datenplatte ausfällt wird sie emuliert. Hast du eine parity disk, kann eine Platte "ohne Datenverlust" ausfallen, hast du 2, parity disks, können 2 Platten ausfallen. Es ist hierbei egal, ob du 2 oder 20 Platten verbaust hast. Da das Schreiben der Daten und der gleichzeitige Vorgang des Schreibens der Parität Geschwindigkeit kostet, ist ein Cache gut zur Beschleunigung des Vorgangs. Die Daten werden dann zuerst auf den Cache geschrieben und je nach Konfiguration des betroffenen Shares durch den Mover zu einem festgelegten Zeitpunkt auf das Array geschoben - oder eben nicht (z.B. für VMs die nur auf der cache disk laufen und somit deutlich performanter sind). Wenn der Cache ausfallsicher sein soll, müssen z.B. 2 SSDs im BTRFS RAID laufen. Der ConBee II Stick ist super, ich nutze ihn mit Homeassistant (Docker). Musst schauen ob er mit iobroker funktioniert, denke aber schon.
-
1. Bau - Synology - Unraid - IObroker
ja das mag sein. Ich nutze die Android App schon länger nicht mehr.
-
1. Bau - Synology - Unraid - IObroker
iobroker über Docker Habe ich vor ca. einem Jahr mal probiert, aber nicht weiter verfolgt, da ich es auf einem pi mit piVCCU installiert habe und mittlerweile alles über Homeassistant mache. Sollte aber gehen wenn @mgutt das sagt 😌. Datenzugriff Nextcloud wie @mgutt sagt, oder pydio, filerun, ... Da gibts mehrere Möglichkeiten. Ich nutze Pydio, da mir Nextcloud beim transferiere von vielen Daten zu langsam war und weil ich es schon vorher genutzt habe. Zugriff erfolgt über einen reverse Proxy (swag, ...) mittels eines DynDNS Dienstes - ich nutze (Selfhost.de). Wie @mgutt schon sagte: Die Konfiguration eines Servers (hier Unraid) sollte man tunlichst nicht von außen erreichbar machen. Wenn, dann nur über VPN. Video/Audiostreaming Ich nutze Emby (Kaufversion=Einmalzahlung). Funktioniert tadellos, Apps für Android, Windows, Linux, Firestick sind vorhanden und funktionieren gut. Ausfallsicherheit kein Problem. Unraid ist stabil und Dockerkonfiguration bleibt erhalten selbst wenn mal der Docker entfernt wird. Sobald du ihn wieder hinzufügst wird deine letzte Konfiguration verwendet. Das Array ist durch die Parity geschützt und dein Cache (hoffentlich) durch ein BTRFS "RAID" zweier SSDs. Natürlich ist jede Sicherung deine Freundin 😉..... Bzgl. Hardware hat dich @mgutt schon gut beraten. Überleg dir vorher genau ob nicht doch noch die ein oder andere VM dazukommt. Dann solltest du ggf darauf achten genügend CPU Kerne zu haben um die CPUs der VMs zu isolieren. Auch interessante Docker gibt es mehr als man denkt und möchte die vielleicht probieren / verwenden.... speichern von Dateien, Bildern Ich nutze picapport (https://github.com/whatever4711/picapport) und teste gerade wieder mal photoprism (https://github.com/photoprism/photoprism), das mittlerweile brauchbar zu sein scheint (ich habe es in den Anfängen getestet, da war es noch nicht wirkich produktiv nutzbar). Beide können mit einem von dir vorgegebenen Verzeichnis, in dem bereits Daten liegen umgehen. Die Bilder bleiben wo sie sind und werden nicht in ein eigenes Verzeichnis kopiert (und somit dupliziert). PiHole Ja, es gibt mehrere die dies nutzen soweit ich weiß. Weitere Möglichkeiten (Docker) wären AdGuard-Home oder ts-dnsserver. Ich nutze auch eine Sophos XG auf einem dediziertem Rechner als Firewall, IDS/IPS, Werbeblocker, VPN-Endpunkt, ..... Die kann auch NAT Loopback was @mgutt angesprochen hat.
-
[SOLVED] Frage zum Festplattenaustausch
https://wiki.unraid.net/Replacing_a_Data_Drive Ich würde vorher auf jeden Fall einen Paritätstest machen....
-
Xeoma - Surveillance Software
My xeoma docker (I'm using https://hub.docker.com/r/coppit/xeoma/from coppit) only sends telegram messages to me when motion is detected. As @CraziFuzzy said xeomas HTTP Request sender can also send requests to HA's http sensor. The other way around my home assistant starts and stops the the surveillancy with a http switch that breaks the xeoma curcuit. This is done manually by a switch in HA and automatically at night and when I'm away (a curl command). When I'm away and a door is opened the recording starts also.
-
[Support] Paperless Docker
I know and used ocrmypdf-auto and now I'm testing Paperless. Works good and has a nice gui. After your post I checked the pdf files (because I couldn't believe it) and yes, these seem to be the renamed original files without OCR text merged. But indeed I need the OCR output "merged" in the pdf file. It's absolutly necessary and essential! But I can't find any information to this. Did you find something about this? Ok, I've searched and found this issue on github: https://github.com/the-paperless-project/paperless/issues/681 In short: "...it looks like embedding the OCR'd text back into the PDF is not in scope for this project..."
-
unRAID 6 NerdPack - CLI tools (iftop, iotop, screen, kbd, etc.)
BorgMatic and/or Emborg in Nerd Pack would be great! Did you manage to install it?
-
VM Backup Plugin
Also great would be to choose between: No notification detailed notification detailed summary at the end of a backup I chose detailed an have a hole bunch of mails in my inbox...
-
VM Backup Plugin
Thank you so much for this fantastic plugin!! Crazy, I just wrote down my biggest wish to be a vm-backup solution in the Unraid Forum 100K Giveaway thread.... and now it's coming! My tests all fished flawlessly and without any problems. I found a very minor error in the help section of "Set backup location": Point 3: "To choose a folder in /mnt/ instead of /mnt/users/, disable restrictive validation." In fact I chose an unassigned disk (/mnt/disks/Backup/) and I had not to disable the "restrictive validation". I also have a little wish list / ideas... I slightly modified your old script and added these features: My server beeps when finishing backup steps To do this I use the "beep" command with different parameters, so I know if thomething went wrong or right. Warning: beep -f 350 -l 700 Error: beep -f 250 -l 600 Success: beep -f 530 -l 300 -D 100 Perhaps you can integrate this feature as an option? I mount my unassigned disk before the backup and unmount it afterwards So nothing can happen to the backed up data (my vm's and documents) if a virus/ransomware hits my server. To achieve this have these steps: 1. find out what drive has to be mounted and if it's mounted 2. mount it if it's not mounted 3. send a notification 4. backup starts 5. unmount the disk 6. send a notification Perhaps you coud integrate a "pre-script" and a "post-script" feature, so one can make "things" before and after the vm-backups? Here are my script snippets 1. - 3. How it works: To be sure that the correct drive is mounted I use the UUID of the disk that I found out before manually with "ls -l /dev/disk/by-uuid". Then I get the device name (e.g. /dev/sdd1) on the basis of the UUID and write it in the variable "UDBACKUPDEV". Then I define a second variable "UDBACKUPSIZE" to store the size of the disk. Finally I check if the size is correct and then mount the disk to start the backup. As I'm writing this I really ask myself why I do so complicated (useless?) tests (in particular concerning the size), but I do remember that I had problems mounting the right disk because sometimes I change the disks in my removable disk bay... 😕 export BACKUPDISKSHARE='/mnt/disks/Backup' if ! [ -d "$BACKUPDISKSHARE" ] ; then ### Mail Notification /usr/local/emhttp/webGui/scripts/notify -e "VM-Backup" -s "VM-Backup begins." -d "Backup disk not yet mounted" -i "warning" -m "`date` \\n The backup disk is not yet mounted. Trying to mount it as $BACKUPDISKSHARE in the system." # Ensure to mount the right disk! # 1. got the UUID beforehand with "ls -l /dev/disk/by-uuid" # 2. get the device name (e.g. /dev/sdd1) on the basis of the UUID and write it in a variable "UDBACKUPDEV" UDBACKUPDEV=`findfs UUID=29bb9c6d-a1ee-4189-8146-1c898e314cb2` # 3. write the size of the partition in a variable UDBACKUPSIZE=`lsblk --output SIZE -n -d $UDBACKUPDEV` # 4. if it is 5.5T then mount it if [[ "$UDBACKUPSIZE" == " 5.5T" ]] ; then /usr/local/sbin/rc.unassigned mount $UDBACKUPDEV fi sleep 5 if ! [ -d "$BACKUPDISKSHARE" ] ; then # beep beep -f 250 -l 600 sleep 1 beep -f 250 -l 600 ### Mail Notification /usr/local/emhttp/webGui/scripts/notify -e "VM-Backup" -s "VM-Backup stopped!" -d "VM-Backup-HDD mount $UDBACKUPDEV failed" -i "alert" -m "`date` \\n VM-Backup stopped, because the backup disk $UDBACKUPDEV could not be mounted." exit else ### Mail Notification /usr/local/emhttp/webGui/scripts/notify -e "VM-Backup" -s "VM-Backup disk mounted." -d "VM-Backup-HDD mount $UDBACKUPDEV was successfull, $BACKUPDISKSHARE is ready to use!" -i "normal" -m "`date` \\n The VM-Backup disk $UDBACKUPDEV was mounted successfully!" fi else ### Mail Notification /usr/local/emhttp/webGui/scripts/notify -e "VM-Backup" -s "VM-Backup disk mounted." -d "VM-Backup-HDD mount $UDBACKUPDEV was successfull, $BACKUPDISKSHARE is ready to use!" -i "normal" -m "`date` \\n The VM-Backup disk $UDBACKUPDEV was mounted successfully!" fi 5. - 6. ###### # unmount VM-Backup HDD /usr/local/sbin/rc.unassigned umount $UDBACKUPDEV # hdparm -y : Standby Mode of the disk hdparm -y $UDBACKUPDEV #check if drive mounted if ! [ -d "$BACKUPDISKSHARE" ] ; then ### Mail Notification /usr/local/emhttp/webGui/scripts/notify -e "VM-Backup" -s "VM-Backup disk $UDBACKUPDEV unmounted." -d "The VM-Backup disk $UDBACKUPDEV was successfully unmounted." -i "normal" -m "`date` \\n The VM-Backup-Routine is finished and the Backup disk was successfully unmounted and removed from the system." else ### Mail Notification /usr/local/emhttp/webGui/scripts/notify -e "VM-Backup" -s "VM-Backup HDD $UDBACKUPDEV could not be unmounted." -d "The VM-Backup disk $UDBACKUPDEV could not be unmounted." -i "warning" -m "`date` \\n The VM-Backup-Routine has finished, but the Backup-HDD could not be unmounted and removed from the system. Pleas remove it manually." fi I hope you dont' find too much spelling errors because I'm german and translated all the comments and notification texts in the script, so you understand what I'm doing...😊