Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tracker

Members
  • Joined

  • Last visited

Everything posted by Tracker

  1. @Kilrah you are right. It was a random container and removed it. The log is fine. Thx in advance!
  2. Hi, I have following issue in my log file: [11.05.2024 00:05:03][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D [11.05.2024 00:05:03][ℹ️][Main] Backing up from: /mnt/user/appdata, /mnt/cache/appdata [11.05.2024 00:05:03][ℹ️][Main] Backing up to: /mnt/user/backups/CommunityApplicationsAppdataBackup/ab_20240511_000503 [11.05.2024 00:05:03][ℹ️][Main] Selected containers: AdGuard-Home, Grafana, Influxdb, PlexOnDisktopia, Portainer-Agent, Portainer-CE, adminer, duplicati, iobroker, mariadb, modbus-proxy, modbus-proxy-new, nextcloud, pihole, resilio-sync, swag, wonderful_tesla [11.05.2024 00:05:03][ℹ️][Main] Saving container XML files... [11.05.2024 00:05:03][ℹ️][Main] Method: Stop/Backup/Start [11.05.2024 00:05:03][ℹ️][wonderful_tesla] No stopping needed for wonderful_tesla: Not started! [11.05.2024 00:05:03][❌][wonderful_tesla] '/root/config.yml' does NOT exist! Please check your mappings! Skipping it for now. [11.05.2024 00:05:04][ℹ️][wonderful_tesla] Should NOT backup external volumes, sanitizing them... [11.05.2024 00:05:04][⚠️][wonderful_tesla] wonderful_tesla does not have any volume to back up! Skipping. Please consider ignoring this container. [11.05.2024 00:05:04][ℹ️][wonderful_tesla] Starting wonderful_tesla is being ignored, because it was not started before (or should not be started). [11.05.2024 00:05:04][ℹ️][modbus-proxy-new] No stopping needed for modbus-proxy-new: Not started! What is "wonderful_tesla" and why does it requiere config.yml ...? Does someone has any idea to get rid of this issue? Thx in advance!
  3. Following script iterates over the array entries, which contains the shares that needs to be backuped: #!/bin/bash PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin ## Available variables: # ACTION - if mounting, ADD; if unmounting, UNMOUNT; if unmounted, REMOVE; if error, ERROR_MOUNT, ERROR_UNMOUNT # DEVICE - partition device, e.g. /dev/sda1 # UD_DEVICE - unassigned devX designation # SERIAL - disk serial number # LABEL - partition label # LUKS - if the device is encrypted, this is the partition device, e.g. /dev/sda1 # FSTYPE - partition filesystem # MOUNTPOINT - where the partition is mounted # OWNER - "udev" if executed by UDEV, otherwise "user" # PROG_NAME - program name of this script # LOGFILE - log file for this script directorys=( "/mnt/user/folder1" "/mnt/user/folder2" "/mnt/user/folder3" "/boot/config/plugins/unassigned.devices") notify_event="<Name of NAS>" notify_subject="backup ext. disk" notify_message="Follwoing shares were synced:"$'\n' case $ACTION in 'ADD' ) # # Beep that the device is plugged in. # beep -l 200 -f 600 -n -l 200 -f 800 sleep 2 if mountpoint -q $MOUNTPOINT; then if [ $OWNER = "udev" ] then beep -l 100 -f 2000 -n -l 150 -f 3000 beep -l 100 -f 2000 -n -l 150 -f 3000 logger Started -t $PROG_NAME echo "Started: `date`" > $LOGFILE for dir in "${directorys[@]}"; do echo "#### Start: [`date`] ####" >> $LOGFILE echo "# sync of share: ${dir} #" >> $LOGFILE rsync -a -v "$dir" $MOUNTPOINT/ 2>&1 >> $LOGFILE echo "## End: [`date`] ##" >> $LOGFILE notify_message+="$dir"$'\n' done logger Syncing -t$PROG_NAME sync -f $MOUNTPOINT beep -l 100 -f 2000 -n -l 150 -f 3000 beep -l 100 -f 2000 -n -l 150 -f 3000 beep -r 5 -l 100 -f 2000 logger Unmounting Ext. HDDBackup Backup -t $PROG_NAME /usr/local/sbin/rc.unassigned umount $DEVICE echo "Completed: `date`" >> $LOGFILE logger Backup drive can be removed -t$PROG_NAME /usr/local/emhttp/webGui/scripts/notify -e "$notify_event" -s "$notify_subject" -d "Backup completed" -i "alert" -m "$notify_message" fi else logger Backup drive not mounted -t$PROG_NAME fi ;; 'REMOVE' ) # # Beep that the device is unmounted. # beep -l 200 -f 800 -n -l 200 -f 600 ;; 'ERROR_MOUNT' ) /usr/local/emhttp/webGui/scripts/notify -e "$notify_event" -s "$notify_subject" -d "Could not mount disk!" -i "alert" ;; 'ERROR_UNMOUNT' ) /usr/local/emhttp/webGui/scripts/notify -e "$notify_event" -s "$notify_subject" -d "Could not unmount disk!" -i "alert" ;; The mail notifcation works via "alert"-state for the notification method -> 'ERROR_MOUNT'/'ERROR_UNMOUNT' -> In the system settings of the NAS, under the notification conriguration, I configuered that system notification with alert state will send as mail to.
  4. Curently working on the script. Will post my work in a view days, when i have it optimized.
  5. @Hoopster do you have an example code for me, where I can see how the mail notification works and the copy implementation of some shares is shown?
  6. Hi everyone, I am searching for a backup solution, which starts autmatically the backup process on a attached external device and detache the device when backup is completed. Additionally a short notification e.g. via mail would be helpfull. Is their a kind of solution? I had this concept before with my old synology, to have manual backup. It was a additional fall back solution in the case of ransomware attack or fire/water damage. BR, Tracker

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.