Braulio

Members
  • Posts

    24
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Braulio's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. No problem. I thought I had done something wrong. Feel free to do what you think is best. Thank you for contacting to help with a possible error.
  2. 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?
  3. I wanted to leave the backup to help people, but I wanted to direct it to the post that link. Is there a better way to do it?
  4. 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.
  5. 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.
  6. 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. https://github.com/brauliobr/Unraid-Unassigned-Bkp
  7. 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.
  8. 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.
  9. I thought it changed because in another post Space Invader commented that it could change. So it was easy, the way I'm doing it worked. Thanks for the information
  10. This is my original post. What you told me to do is the problem. I'm asking for a solution lol Hi guys, I've searched but I haven't found the solution. I have some disks connected internally (not's USB) to unassigned devices. I need to run a script to mount, backup, unmount. I use CA Scrips Users. I'm trying to do this: LABEL="4TB" SERIAL="01056498A" if [ ! -d "/mnt/disks/${LABEL}" ]; then DISK_MOUNT="ls -l /dev/disk/by-id/ | grep '${SERIAL}' | head -1 | tail -c4" DEVICE="${DISK_MOUNT}1" mkdir "/mnt/disks/${LABEL}" /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount "/dev/${DEVICE}" fi On the command line, it identifies the sdX drive (ls -l /dev/disk/by-id/ | grep '${SERIAL}' | head -1 | tail -c4), but in the script it doesn't save to the variable. The variable's output is the command itself, that is, it doesn't execute, it just saves the variable as text. I just need to identify the sdX according to the device serial. I can't use a fixed sdX because when I restart Unraid it might change the sdX. Can you help me? Tks Forgive my english.
  11. Yes, I saw this script. But my device will not be plugged into USB to mount when connecting. It is already connected inside the case via SATA cable. I need creat a script in CA User Scripts and Scheduled, but i need mount the device with this command that i said.
  12. Hi guys, I've searched but I haven't found the solution. I have some disks connected internally (not's USB) to unassigned devices. I need to run a script to mount, backup, unmount. I use CA Scrips Users. I'm trying to do this: LABEL="4TB" SERIAL="01056498A" if [ ! -d "/mnt/disks/${LABEL}" ]; then DISK_MOUNT="ls -l /dev/disk/by-id/ | grep '${SERIAL}' | head -1 | tail -c4" DEVICE="${DISK_MOUNT}1" mkdir "/mnt/disks/${LABEL}" /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount "/dev/${DEVICE}" fi On the command line, it identifies the sdX drive (ls -l /dev/disk/by-id/ | grep '${SERIAL}' | head -1 | tail -c4), but in the script it doesn't save to the variable. The variable's output is the command itself, that is, it doesn't execute, it just saves the variable as text. I just need to identify the sdX according to the device serial. I can't use a fixed sdX because when I restart Unraid it might change the sdX. Can you help me? Tks Forgive my english.
  13. now i undertood....tks my friend