Everything posted by Braulio Dias Ribeiro
-
INCREMENTAL OR SYNC BACKUP - UNASSIGNED DEVICES by bdrtec
Hey @Danilo I updated the tutorial, try again and if you can't let me know.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
@dlandon @wgstarks I managed to activate notifications now lol... Now it worked, thanks everyone for help. You are sensational! I'll leave the script for whoever needs it. It's very easy and simple.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
The UD page is this? I found this on another website. /usr/local/sbin/rc.unassigned mount autodevices all devices set to auto mount will be mounted. /usr/local/sbin/rc.unassigned mount autoshares all SMB/NFS mounts set to auto mount will be mounted. /usr/local/sbin/rc.unassigned umount auto all devices and SMB/NFS mounts set to auto mount will be unmounted. /usr/local/sbin/rc.unassigned umount all all devices and SMB/NFS mounts are unmounted in preparation for shutting down the array. /usr/local/sbin/rc.unassigned mount /dev/sdX or devX mount device sdX where 'X' is the device designator. The devX is the device name in the UD page. If the device name is 'Dev 1', then use dev1 as the device to mount. /usr/local/sbin/rc.unassigned umount /dev/sdX or devX unmount device sdX /usr/local/sbin/rc.unassigned spindown devX spin down a disk. SSDs will not spin down. /usr/local/sbin/rc.unassigned mount SOURCE where SOURCE is the SMB/NFS source. /usr/local/sbin/rc.unassigned umount SOURCE where SOURCE is the SMB/NFS source. So I tried like that but didn't work /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount /dev/dev1 or /usr/local/sbin/rc.unassigned mount /dev/dev1
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
But I don't know how to use this! Is it right? /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount "/dev/dev1"
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Gentlemen, I thought when restarting Unraid, device letters on unassigned devices wouldn't change. But I took a test and they changed. It was "sde and "sdg" and now it's "sdd" and "sdf". I have a script in "CA users Scripts" who assembles these devices to backup. It's programmed to run automatically. In this case, it doesn't work. Does anyone have a solution? This is my script in "CA users Scripts" Fixed_Device=( "sde" "sdg" ) i=0 while [ $i -lt ${#Fixed_Device[@]} ] do /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount "/dev/${Fixed_Device[$i]}1" let i++ done
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Hey people, how can I schedule an automatic device mount? crontab or other?
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
I'll try Tks
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Yes, it's a USB disk.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
This way didn't work. To solve I turned off the array and turned it on again. I'll look at it a few more days. Thank you for your help
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
I was the one who posted something like this lol I still haven't been able to resolve it. But I've already verified that the problem is with the script I'm using. Diagnoses attached. Tks server-diagnostics-20211119-1344.zip
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
@dlandon please, can you help me with my script? When I connect a backup device (HD), the backup is done normally. When I connect another backup device, the label name isn't updated. So I need to restart my server to clean up the "temporary file", so the label updates. Doubt: when I finish making the backup, do I need to clean up any temp folder in unraid? I believe that is the problem. The error is attached. This is my script: https://github.com/brauliobr/Unraid-Unassigned-Bkp/blob/main/script This is my post about my script:
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
My disks are attached into USB desktop, but i restarted the server and the error disappeared
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
I recorded the error. Look please. Gravar_2021_10_22_13_36_29_781.mp4
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
server-diagnostics-20211019-1808.zip
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
server-diagnostics-20211019-1808.rar
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
The complete file .zip?
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Gravar_2021_10_19_16_05_56_249.mp4
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
Let me explain again. I have two backup device. The script runs automatically when connecting. Label device 1 = 1TB-ROTEADOR Label device 2 = 1TB-BRANCO I connected the device 1 and the label name is "1TB-ROTEADOR". The backup fineshed perfectly. So I removed and connected the second device. It doesn't run the script because it's linking with the old device (1TB-ROTEADOR). When script runs does it create something in the temp folder? I think there's some error and it doesn't load the script's temp file from the second device. This has happened before, and I need to restart the server every time it happens.
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
It isn't run the script, because the script name is "1TB-ROTEADOR" and the device label is "1TB-BRANCO".
-
Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array
-
[SOLVED] Help creating a weekly graceful reboot schedule
Need to stop array before running powerdown -r? Or powerdown -r does this automatically? And the VM? Do I need some command to shut down first?
-
Shell script to perform backups using rsync
Hey, guys. I created a backup script analyzing other scripts. The script make backup to PLUG & PLAY devices or FIXED devices and make incremental or sync backup. Any suggestions or corrections are welcome.