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

Preface my questions with I had two dockers originally on a separate SSD drive and 'moved' them to a larger pair of SSD drives. I call the pool 'dockers.' I put move in quotes because not completely sure I did it the most accurate way. But the dockers are working, Emby and MariaDB.

Decided to install and run the AppData backup app.

-My question is when it runs with the default /mnt/user/appdata it states MariaDB-Official should NOT backup external volumes, sanitizing them . . .

It says the same for EmbyServerBeta.


UnRaid_AB.Main.jpg

I know under /mnt/dockers I have the following:

/mnt/dockers/appdata

/mnt/dockers/EmbyServerData

/mnt/dockers/system

/mnt/dockers/system/dockers

SO I am guessing while my system works, the files may not be where the backup app can get them??

  • Replies 2.2k
  • Views 364.9k
  • 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

I am just setting this up for the first time. I just thought I'd put up a post with the keywords for the next person who tries searching for the phrases START ORDER and STOP ORDER like I did, but didn't notice the extra words on the screen...sorry...when you get older, it gets harder to see all the words ;)

This is an awesome plugin. Thank you for making it easy.

image.png

Hi everbody,

I'm facing the following error

[26.06.2025 12:06:42][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D
[26.06.2025 12:06:42][ℹ️][Main] Backing up from: /mnt/cache
[26.06.2025 12:06:42][ℹ️][Main] Backing up to: /mnt/user/external backup/ab_20250626_120642
[26.06.2025 12:06:42][ℹ️][Main] Selected containers: BookLore
[26.06.2025 12:06:42][ℹ️][Main] Saving container XML files...
[26.06.2025 12:06:42][ℹ️][Main] Method: Stop/Backup/Start
[26.06.2025 12:06:42][ℹ️][BookLore] Method: Stop all container before continuing.
[26.06.2025 12:06:42][ℹ️][BookLore][MariaDB-Official] Stopping MariaDB-Official... done! (took 1 seconds)
[26.06.2025 12:06:43][ℹ️][BookLore][BookLore] Stopping BookLore... done! (took 0 seconds)
[26.06.2025 12:06:43][ℹ️][Main] Starting backup for containers
[26.06.2025 12:06:43][ℹ️][MariaDB-Official] Backing up EXTERNAL volumes, because its enabled!
[26.06.2025 12:06:43][ℹ️][MariaDB-Official] Calculated volumes to back up: /mnt/user/appdata/booklore-mariadb, /mnt/user/appdata/booklore-mariadb/data
[26.06.2025 12:06:43][ℹ️][MariaDB-Official] Backing up MariaDB-Official...
[26.06.2025 12:06:44][ℹ️][MariaDB-Official] Backup created without issues (took 00:00:01 (hours:mins:secs))
[26.06.2025 12:06:44][ℹ️][MariaDB-Official] Verifying backup...
[26.06.2025 12:06:44][][MariaDB-Official] tar verification failed! Tar said: tar: Removing leading `/' from member names; tar: Removing leading `/' from hard link targets; tar: /mnt/user/appdata/booklore-mariadb/data: Not found in archive; tar: Exiting with failure status due to previous errors
[26.06.2025 12:06:45][ℹ️][BookLore] Backing up EXTERNAL volumes, because its enabled!
[26.06.2025 12:06:45][ℹ️][BookLore] Calculated volumes to back up: /mnt/user/ebooks, /mnt/user/appdata/booklore
[26.06.2025 12:06:45][ℹ️][BookLore] Backing up BookLore...
[26.06.2025 12:06:51][ℹ️][BookLore] Backup created without issues (took 00:00:06 (hours:mins:secs))
[26.06.2025 12:06:51][ℹ️][BookLore] Verifying backup...
[26.06.2025 12:06:52][ℹ️][BookLore] Verification ended without issues (took 00:00:01 (hours:mins:secs))
[26.06.2025 12:06:52][ℹ️][Main] Set containers to previous state
[26.06.2025 12:06:52][ℹ️][BookLore] Starting BookLore... (try #1) done!
[26.06.2025 12:06:54][ℹ️][MariaDB-Official] Starting MariaDB-Official... (try #1) done!
[26.06.2025 12:06:56][⚠️][Main] An error occurred during backup! RETENTION WILL NOT BE CHECKED! Please review the log. If you need further assistance, ask in the support forum.
[26.06.2025 12:06:56][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)
[26.06.2025 12:06:56][ℹ️][Main] ❤️

Both containers (BookLore and MariaDB-Official) are marked as a group. Can anybody help me with this topic?

Many thanks for your help.

Br
Jens

58 minutes ago, jensgreeb said:

/mnt/user/appdata/booklore-mariadb, /mnt/user/appdata/booklore-mariadb/data

Looks like you've for some reason manually added /mnt/user/appdata/booklore-mariadb/data as a folder to back up, even though it'd already be backed up since its parent is, and it's probably empty/missing hence the error

7 minutes ago, Kilrah said:

Looks like you've for some reason manually added /mnt/user/appdata/booklore-mariadb/data as a folder to back up, even though it'd already be backed up since its parent is, and it's probably empty/missing hence the error


I also already checked this. I don't know where I manually should have added added /mnt/user/appdata/booklore-mariadb/data as a folder to back up.
Please find screenshot of my settings attached.

Can you help?

Many thanks.

Br

Jens

NAS-B-Main-06-26-2025_01_15_PM.png

That's tiny and unreadable.

Edited by Kilrah

2 minutes ago, Kilrah said:

That's tiny and unreadable.

Upps, sorry, Please find better version attached.2025-06-26 13 21 36 (2).png2025-06-26 13 21 36.png

14 minutes ago, jensgreeb said:

I don't know where I manually should have added added /mnt/user/appdata/booklore-mariadb/data as a folder to back up.

That would come from your booklore-mariadb container template.

But you've also changed the default appdata sources, which is why it's being detected as external instead of internal.

1 minute ago, Kilrah said:

That would come from your booklore-mariadb container template.

But you've also changed the default appdata sources, which is why it's being detected as external instead of internal.

You fixed it - the default appdata sources were the problem.


Many thanks.

Br

Jens

I am struggling with the pluggin (my lack of knowledge), but a simple thing like clicking on a folder only selects the top layer of the folder.

Does a person really have to dig into each subfolder to get the entire structure backed up? In the screenshot below, I clicked on Dockers and I had to then click on appdata, even with that, the subfolders still will not select unless I dive into each one and select it. Some of these directories have many subfolders.

UnRaid_AB.Main.jpg

  • Author

Any check on a parent folder will select everything in it (because the path to the selected folder is the important thing). The checkboxes does not expand, yes. I dont know which part of the settings I use this, but there should be a „Add selected“ button? Hitting this should clear things up.

Wow fast response. Thank you. I am going to delete all my dockers and start fresh. Manually backing them up one at a time now.

--For some reason the Appdata backup only backs up the Mariadb, Emby some sort of xml file. But I know both have actual data.

hi can anyone help me ?
following this thread:https://forums.unraid.net/topic/191384-unraid-working-strangely-lately-boots-randomly-and-now-parity-and-disk-1-missing/

i'm trying to recover my appdata, so i can recover the config of my dockers.

long story short, original ssd cache (where appdata and dockers where stored) broke, replaced it, and forgot to copy the appdata to array before giving the broken ssd to the company for repair....

now i'm trying to recover it with appdata backup but there are several things i dont get it.

you need to install previous installed apps beforehand ?

when i do so, the apps are not installed completely. by that i mean (so far what i found):

the configuration i had is gone

I do have my plex library, but the media files are not accessible

custom network is gone

ip adresses are not set

image.png

also do you need to install previous apps before doing the restore via appdatabackup ?

maybe i got it wrong but i believed that appdata was where you stored the config files of the dockers and that's what i wanted to backup.

also, if i set appdata share to visible, it doesnt show anything when i search it remotely via windows10.

thanks and take care

18 minutes ago, tomume said:

also do you need to install previous apps before doing the restore via appdatabackup ?

No, opposite. You want to restore appdata backup first so that once you reinstall from previous apps the files are already there. Otherwise the app would start a fresh install since it doesn't have its existing data.

well i changed something in the config of appdata because no backup is available... omg stop shooting at me i'm already dead :)...

i remember increasing the days to keep the backup.

Edited by tomume

What's in your backup destination? You need to select the folder that contains all the backup folders, NOT a specific backup.

3 hours ago, Kilrah said:

What's in your backup destination? You need to select the folder that contains all the backup folders, NOT a specific backup.

found it:

backup destination was not the same:

image.png

image.png

dunno why i i put it in appdatabackup.

How can i show thoses folders/files on the explorer when accessing the server remotely ?

should i restore it like this (i don't care about unchecked apps) ?:

also what does it mean to restore container ? because you need to install the app after that right ?

image.png

Edited by tomume

"Restore containers" is what you want, that's the actual app data. Restore Templates is only needed if those were lost from the flash drive and don't appear in Previous Apps.

hi, thxs!

it seems they all work but flaresolverr and radarr.

flaresolverr:

image.png

radarr:

image.png

what can i do. i tried to reinstall it but it does the same thing. :(

thx a lot

  • Author

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 move away from Unraid in the future as I just need some few docker containers anymore, so I will go with a small Ubuntu and raw docker without any further need of a whole Unraid-system. My Unraid-Development machine is still there, so Iam still able to do some bug fixing.

Initially I wanted to mention some Unraid dev here and ask if Unraid has plans to make this plugin (in its current form or in another) a native function, but I just saw, that Unraid is already working on a backup worklfow system [1], which sounds really interesting. I think, that this plugin will be needless in the far future.

So: No more new features, only bugfixing for now.

If someone wants to help, I would also acceppt PR's for this plugin.

[1] https://youtu.be/1OwCu3T92z4?t=3659

Fully understand. Your support will be greatly missed.

Thank you for all of the support you have provided toward this very important function.

13 hours ago, tomume said:

hi, thxs!

it seems they all work but flaresolverr and radarr.

flaresolverr:

image.png

radarr:

image.png

what can i do. i tried to reinstall it but it does the same thing. :(

thx a lot

for radarr, i deleted the database and restored from an old backup. that allowed me to keep the old config.

but for flaresolverr i have no idea. :(

When executing a "Post-run script", I get this message "...not existing...skipping":

[07.07.2025 02:53:40][][Main] DONE! Thanks for using this plugin and have a safe day ;)
[07.07.2025 02:53:40][][Main] 
[07.07.2025 02:53:42][][Main] sh /mnt/user/user_scripts/appdata_backup.sh 'post-run' '/mnt/user/backup/AppData' 'true' > /mnt/user/user_scripts/appdata_backup.log is not existing! Skipping!

I have no problems running the command from shell "sh /mnt/user/user_scripts/appdata_backup.sh 'post-run' '/mnt/user/backup/AppData' 'true' > /mnt/user/user_scripts/appdata_backup.log"

Debug ID: 70ed6dc9-d570-4345-ae8b-80d7fddba836

Thank you.

  • Author

You have to put just the script path into that field without anything else. You put in the complete sh command. That does not work. The plugin is calling the script with all arguments.

hi @KluthR . thanks for your work!

I have a question about exclusion, I setup exclusion of my /cache of Photoprism

But I still see it's 9GB tar file :)

is there I'm doing something wrong?

debug log id b7fa3e9d-397f-4bda-8688-4c1714f663a7

[08.07.2025 13:01:07][debug][PhotoPrism] Backup PhotoPrism - Container Volumeinfo: Array
(
[0] => /mnt/user/appdata/photoprism:/photoprism/storage:rw
[1] => /mnt/user/photos/:/photoprism/originals:rw
)

[08.07.2025 13:01:07][debug][PhotoPrism] usorted volumes: Array
(
[0] => /mnt/user/photos
[1] => /mnt/user/appdata/photoprism
)

[08.07.2025 13:01:07][debug][PhotoPrism] Volume '/mnt/user/appdata/photoprism' IS within AppdataPath '/mnt/user/appdata'!
[08.07.2025 13:01:07][ℹ️][PhotoPrism] Should NOT backup external volumes, sanitizing them...
[08.07.2025 13:01:07][debug][PhotoPrism] Volume '/mnt/user/appdata/photoprism' IS within AppdataPath '/mnt/user/appdata'!
[08.07.2025 13:01:07][debug][PhotoPrism] Container got excludes! /mnt/user/appdata/photoprism/cache
[08.07.2025 13:01:07][ℹ️][PhotoPrism] Calculated volumes to back up: /mnt/user/appdata/photoprism
[08.07.2025 13:01:07][debug][PhotoPrism] Target archive: /mnt/user/backups docker/ab_20250708_130104/PhotoPrism.tar.gz
[08.07.2025 13:01:07][debug][PhotoPrism] Generated tar command: --exclude '/mnt/user/appdata/photoprism/cache' -c -P -z -f '/mnt/user/>
[08.07.2025 13:01:07][ℹ️][PhotoPrism] Backing up PhotoPrism...
[08.07.2025 13:07:06][debug][PhotoPrism] Tar out:
[08.07.2025 13:07:06][ℹ️][PhotoPrism] Backup created without issues (took 00:05:59 (hours:mins:secs))
[08.07.2025 13:07:06][ℹ️][PhotoPrism] Verifying backup...
[08.07.2025 13:07:06][debug][PhotoPrism] Final verify command: --exclude '/mnt/user/appdata/photoprism/cache' --diff -f '/mnt/user/bac>
[08.07.2025 13:08:57][debug][PhotoPrism] Tar out: tar: Removing leading `/' from member names
[08.07.2025 13:08:57][ℹ️][PhotoPrism] Verification ended without issues (took 00:01:51 (hours:mins:secs))
[08.07.2025 13:08:57][debug][PhotoPrism] Not executing script: Not set!
[08.07.2025 13:08:57][ℹ️][PhotoPrism] Starting PhotoPrism... (try #1) done!
[08.07.2025 13:09:01][ℹ️][sonarr] Stopping sonarr... done! (took 4 seconds)

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.