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.
Message added by KluthR,

[Plugin] Appdata.Backup

Featured Replies

IMG_9346.thumb.jpeg.4339bf832c9f7a63d04e2acfb0fcb358.jpeg

I have this issue and it prevents me from backing up plex on a weekly basis. How to I downgrade to your previous plugin? I can provide a debug if I run it again but if this is going to take a long time ( weeks or months ) then I have no protection for plex and given my luck I will have a failed drive and be screwed! lol. 

On 4/10/2023 at 9:22 AM, KluthR said:

Known issues

  • Sometimes, users backing up Plex, are seeing backup issues for some "Application Support subfolders"

 

Edited by Braus

  • Replies 2.2k
  • Views 365.3k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Feature freeze I have less and less time for a complete care of this plugin. You already noticed this with the fact, that announced features were not implemented yet. Another reason is, that I will mo

  • The new update is coming It been a while since the last stable update. There were some betas (never got feedback though) but I had other work to do the last weeks. I tested the major changes agai

  • 2023.08.28 should fix the docker auto update issue.

Posted Images

  • Author
3 hours ago, Braus said:

I can provide a debug if I run it again

No need to run or again. Just hit the button from the log tab. It should send the latest debug log if you did not rebooted yet.

  • Author

The next plugin update is making progress! Ive implemented a "Skip backup?" option per container which allows you to skip backup but includes the container for stop/starts processes.

 

The new grouping function is not done yet but it looks like this. Please note that a container can be assigned to one group only.

 

grafik.png.f713b3274ad7ffaaa6e5cd4e0a495503.png

 

grafik.png.d26092d94251a403f976715153d5d5c0.png

3 hours ago, KluthR said:

The next plugin update is making progress! Ive implemented a "Skip backup?" option per container which allows you to skip backup but includes the container for stop/starts processes.

 

The new grouping function is not done yet but it looks like this. Please note that a container can be assigned to one group only.

I like this a lot. I was just setting up the plugin for the first time and was coming here to request this feature. Looking forward to the update!

So this feature has been at the top of the roadmap for quite awhile:
 

backup without packing files into an archive

 

Any ETA on when this feature might be added? It's the only thing holding me up from using this plugin.

  • Author

Its done when its done  but I will see if I can put that in the next beta as well.

c99df03c-b3c1-4def-82c5-f2164db468d5
 

@KluthRthis is what it gave me when I shared it. c99df03c-b3c1-4def-82c5-f2164db468d5

Edited by Braus

On 11/25/2023 at 7:19 PM, ConnerVT said:

Interesting how your Plex appdata usage is so different than how mine is distributed.

Cache is going to vary wildly depending on what's happening at any given moment, and my Media is huge because I have all possible thumbnails generated. And my actual libraries are into the dozens of TB at this point. 

Perhaps it is the thumbnails.  As for me, my backup server has only media share backups, and that is nearly 18TB of data.  And it doesn't include any of my 4K stuff.

Hi @KluthR, There is a debug log sent to your server '7741fdb5-c2b4-4df0-b4d8-b95d5420612c' the error states "Cannot create destination folder". The automation of the backup has not run since 21/11/2023, backup on 28/11/2023 is noted as 'failed' on the directory. 

I actually resolved this. I deleted the ENTIRE directory that was “meta data” and re ran plex and let it rebuild the data. After some time I re-ran the app backup plugin and the issue was resolved. I did notice what the issue was though. Turns out, it was permission issues. Some files in that directory had re-wrote permission for ALL, whereas others had permission for no one. APP BACKUP could backup ones that had permission for ALL but not for NONE.

  • Author
On 12/6/2023 at 2:37 PM, Be-Art said:

Hi @KluthR, There is a debug log sent to your server '7741fdb5-c2b4-4df0-b4d8-b95d5420612c' the error states "Cannot create destination folder". The automation of the backup has not run since 21/11/2023, backup on 28/11/2023 is noted as 'failed' on the directory. 

Thats weird. /mnt/user/backups/appdata/ is writeable but the subfolder is no creatable. Nothing I could do, something is wrong there. Please try a mkdir via terminal and report if its working

  • Author

A new beta is out and I want as many users as possible to test it. It has the container grouping in it and many other changes. I think some bugs are in as well 🤣

 

The new beta offers you to copy the prod config to it, so you dont have to reconfigure anything EXCEPT FOR THE DESTINATION PATH!!!

Greetings!
Apologies if I missed this in another post.

I recently upgraded to 6.12.6 and finding the old App Backup deprecated installed your awesome new one.
Going to setup found it pretty straight forward however when I click save after configuring I am redirected back to http://IP/Settings/AB.Main but just a solid white page. Refreshing or navigating away and back shows the settings not having saved. 

I've tried this in multiple different browsers with no luck. Also tried uninstalling/reinstalling plugin as well as restarting unraid entirely. 

Thanks for any assistance in getting this setup.
-Cheers

Edited by Healzangels

Did a bit more digging and did find "/Settings/AB.Main: missing csrf_token" in my logs. 

Found this mentioned as well on 12 page of this thread but didn't see what the fix might be. 

Thanks in advanced! 

If there is any additional information I can provide as well; let me know! Would love to try and get working to backup my appdata in this method once again. Cheers! 

  • Author

To be honest: The CSRF things are Unraid things. Yes, we have a few users having this issue but I dont know why. 99% of the users dont see this issue - including me.

 

Which browser and which extensions are installed? Is a password manager involved maybe?

  • Author

No one ever told me, that the beta is not installable via CA Apps 😂 - I fixed it, so everyone who wants to test the beta can now easily install it via CA Apps (give it one hour from now on).

I know this was mentioned before, and maybe you have implemented something in the beta, or I am doing something wrong, but my backups always complete with "root" as the owner and no read/write permissions.

 

I have a script setup to run after the backup completes with the following (2 servers backup here -- Tower & Control):

"chown -R nobody /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Tower\ Server
chown -R nobody /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Control\ Server
chmod -R 777 /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Tower\ Server
chmod -R 777 /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Control\ Server"

 

I believe this will work in the meantime, just wondering if there is a fix for this perhaps?

 

  • Author

Issue is known yes but not fixed yet. This and the no archive option are still missing but on my todo! A future beta will have it. I try to finish it asap.

14 hours ago, KluthR said:

To be honest: The CSRF things are Unraid things. Yes, we have a few users having this issue but I dont know why. 99% of the users dont see this issue - including me.

 

Which browser and which extensions are installed? Is a password manager involved maybe?

Shucks unlucky I guess! 
I've tried with Chrome, Firefox, Safari as well as in incognito mode with no extensions running but still CSRF. Tried the new beta and same thing. I'll attempt a few other options and see if they have any success. Thanks for the info.

 

On 8/3/2023 at 1:59 AM, KluthR said:

Please try this:

 

Open /usr/local/emhttp/plugins/appdata.backup/pages/content/settings.php. Scroll down to line 214, saying "<form id=abSettingsForm>". Just after that line, insert this:

<input type="hidden" name="csrf_token" value="<?=_var($var,'csrf_token')?>">

Save it and reload the settings page and try to save. What is happening now?

Kept looking through thread and saw this so gave it a whirl. Seems to have fixed my problem as well. I can now save the settings changes! Going to continue testing but seems promising! 

21 hours ago, mdoherty66 said:

I know this was mentioned before, and maybe you have implemented something in the beta, or I am doing something wrong, but my backups always complete with "root" as the owner and no read/write permissions.

 

I have a script setup to run after the backup completes with the following (2 servers backup here -- Tower & Control):

"chown -R nobody /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Tower\ Server
chown -R nobody /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Control\ Server
chmod -R 777 /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Tower\ Server
chmod -R 777 /mnt/user/Backup/Backblaze\ Upload/Unraid\ Appdata\ Backup/Control\ Server"

 

I believe this will work in the meantime, just wondering if there is a fix for this perhaps?

 

 

20 hours ago, KluthR said:

Issue is known yes but not fixed yet. This and the no archive option are still missing but on my todo! A future beta will have it. I try to finish it asap.

 

Okay thanks!

 

Hoping someone can possibly help me out in the meantime, as my ownership/permissions script is not working. When I manually run the commands, it works fine, but when I try to run them in the script, I get the following:

 

"chown: cannot access '/Unraid Appdata Backup/Tower Server'$'\r': No such file or directory
chown: cannot access '/Unraid Appdata Backup/Control Server'$'\r': No such file or directory
chmod: cannot access '/Unraid Appdata Backup/Tower Server'$'\r': No such file or directory
chmod: cannot access '/Unraid Appdata Backup/Control Server'$'\r': No such file or directory"

 

I'm sure I am just doing something wrong, so any help would be greatly appreciated!

 

 

Is it currently possible, or can it in the future be possible to update per container after backup? I looked through the settings and didn't see an option for the sequence.

 

From what I understand when looking at the logs a container is:

Stopped

Backed up

Backup is verified

Started

 

This is done for all containers on the list then the updates start. Thus each container is stopped twice, once for backup then once for update if applicable. I would like to have the containers:

Stop

Backup

Verify Backup

Update if applicable

Start

 

  • Author

This is known and already fixed in future versions. Containers get their update eight after backup before starting again.

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.

Guest
Reply to this topic...

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.