Cpt. Chaz Posted February 2, 2022 Author Share Posted February 2, 2022 1 hour ago, L0rdRaiden said: Thanks, it works perfectly I have learnt a lot with you Together with this Script (the first one in my life) and Kopia I have tune up my backup system #!/bin/bash /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "OneDrive backup started" -d "Synchronizing Kopia backup to OneDrive" -i "normal" echo 'OneDrive backup started' rclone sync /mnt/user/Backup/Kopia OneDrive:"/Backup/Kopia" /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "OneDrive backup finished" -d "Synchronization completed" -i "normal" echo 'One Drive backup completed' good deal! glad it all worked out. Quote Link to comment
Protheus Posted February 5, 2022 Share Posted February 5, 2022 (edited) You are my Hero! After 3 Hours searching for a possibility to daily Backup the Flashdrive or its content i found this script. And what to say... Create Folders C&P the Script Fill the blanks Set the Schedule Fire and Forget Awesome! Thank you P.S: optional e-mail notification would be nice (i'm not so ften on my unraid gui) Edited February 5, 2022 by Protheus Quote Link to comment
L0rdRaiden Posted February 5, 2022 Share Posted February 5, 2022 34 minutes ago, Protheus said: You are my Hero! After 3 Hours searching for a possibility to daily Backup the Flashdrive or its content i found this script. And what to say... Create Folders C&P the Script Fill the blanks Set the Schedule Fire and Forget Awesome! Thank you P.S: optional e-mail notification would be nice (i'm not so ften on my unraid gui) I have all the Unraid notifications on telegram. I think it was configured from the settings page Quote Link to comment
Protheus Posted February 5, 2022 Share Posted February 5, 2022 (edited) 47 minutes ago, L0rdRaiden said: I have all the Unraid notifications on telegram. I think it was configured from the settings page Hm...you're right. I have Telegram configured too. But...i didn't ever noticed that it not work anymore 😕 Edit: Ok that is working now. But i get all messages twice If someone have a clue please PM me. Edited February 5, 2022 by Protheus Quote Link to comment
Cpt. Chaz Posted February 10, 2022 Author Share Posted February 10, 2022 On 2/5/2022 at 2:30 PM, Protheus said: You are my Hero! After 3 Hours searching for a possibility to daily Backup the Flashdrive or its content i found this script. And what to say... Create Folders C&P the Script Fill the blanks Set the Schedule Fire and Forget Awesome! Thank you P.S: optional e-mail notification would be nice (i'm not so ften on my unraid gui) Glad you like it! At the moment, i don't have enough hours in the day to tackle e-mail notifications for this. Maybe someone else could tack on and i'd be happy to add to the OP. If not, perhaps at some point in the future I could see what i can do in that regard. Cheers! Quote Link to comment
Revan335 Posted March 23, 2022 Share Posted March 23, 2022 The Notification is only GUI? No Mail or others when this in the Notification Settings defined? Quote Link to comment
wgstarks Posted March 23, 2022 Share Posted March 23, 2022 I get email notifications. Quote Link to comment
Revan335 Posted March 24, 2022 Share Posted March 24, 2022 Great! I get it too! Many Thanks! Quote Link to comment
wgstarks Posted March 24, 2022 Share Posted March 24, 2022 I only use email notifications but it’s my understanding that whatever forms of notification you have enabled will be used. Quote Link to comment
coppertop27 Posted November 6, 2022 Share Posted November 6, 2022 I know I'm late to this party but, I tried this script and found my "native unraid backup script" is missing/deleted. Has the native backup script referenced been removed by the Unraid updates due to the backing up to their online? If so, any chance on updating the script to to work without the native one? Anyways thank you. Quote Link to comment
coppertop27 Posted November 6, 2022 Share Posted November 6, 2022 Nevermind. I fixed it. But thank you for the scripts. This one and the Plex one!!!! Quote Link to comment
rob_robot Posted November 13, 2022 Share Posted November 13, 2022 (edited) Thanks a lot for this great script. Found this page after restoring my USB flash drive that recently died and realising that the last backup happened to be 1.5 years old 🙄 Edited November 13, 2022 by rob_robot Quote Link to comment
100MilWill Posted February 27, 2023 Share Posted February 27, 2023 So I am brand new to unraid, just built my first server this past weekend. I previous only had synology NAS for about a year. Mainly running plex server. I ran the script from watching the youtube video, I copied the script from your google link in the video description. My destination was a remote SMB share on my synology NAS. So the only thing I did different from your video was the destination and changed my tower name in the notification part and removed the # from the beginning. However after I manually ran the script it caused my server to crash. Kept saying directory not found over and over. WEBGUI was not working and I had to unplug my server from power and reboot. Im running on Unraid 6.11.5. Does this still work and does it work for Remote SMB shares? Quote Link to comment
Kilrah Posted February 27, 2023 Share Posted February 27, 2023 How's the remote smb share mounted? It would need to be mounted, that'd have to be checked etc Quote Link to comment
100MilWill Posted February 28, 2023 Share Posted February 28, 2023 12 hours ago, Kilrah said: How's the remote smb share mounted? It would need to be mounted, that'd have to be checked etc Yeah it is mounted. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.