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

It seems my plugin doesn't have access to write in this DIR?

Support ID: 62af874b-1d6a-4f98-8040-4532565b21cb

 

Any idea why? What am I supposed to do in this situation, it can't back anything up.

 

Can I also avoid any "Null mapping" errors too? I have them eg. with the VSCODE container.

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

Authelia doesn't start after a completed backup. Errors make me think it's because it's trying to reach Redis before redis is ready. Is there any way to add a delay to start container, or some other solution for my issue?

Use the grouping feature.

I noticed that my daily backup this morning failed. I am not sure why. 

 

debug log id: 0d713210-17a3-460c-b173-ab20dcf9f458

 

 

Every one of my back ups fail. I use setting stop all containers, backup then restart. The issue is mariadb app - the backup fails, and as a result, the entire backup fails (eventhough the backup of NO other apps during the process fails)

 

How can TAR creation fail???

 

How is this error solved?

 

Thanks.

 

Here is error message:

[27.03.2024 18:32:53][ℹ️][mariadb] Should NOT backup external volumes, sanitizing them...
[27.03.2024 18:32:53][ℹ️][mariadb] Calculated volumes to back up: /mnt/user/appdata/mariadb
[27.03.2024 18:32:53][ℹ️][mariadb] Backing up mariadb...
[27.03.2024 18:35:51][][mariadb] tar creation failed! Tar said: tar: /mnt/user/appdata/mariadb/databases/75813e901614.err: File shrank by 880862549 bytes; padding with zeros

Edited by tmor2

  • Author

It seems that something is messing with the files. Some other „thing“ that would do that? Mover?

 

best way is to share your debug log.

On 3/28/2024 at 3:16 AM, KluthR said:

It seems that something is messing with the files. Some other „thing“ that would do that? Mover?

 

best way is to share your debug log.

 

Here is the debug log.

 

Also, I double checked, nothing else, not even Mover, nor any containers, nor any other processes are running during backup. The last successful backup was 2023-09. No changes/updates were made to UNRAID system since then (except Docker/plugin updates). I'm running UNRAID v6.12.9

 

 

Edited by tmor2

Hey, 

 

i just tried this plugin today and at the end of it i got:

 

An error occurred during backup! RETENTION WILL NOT BE CHECKED! Please review the log

 

and the folder shows like this:

 

image.png.d9cef66587924db44d06059aeaa87ac6.png

 

 

could someone tell me what went wrong here?

 

backup.debug.log

You have tdarr and tdarr_node accessing the same folders, one changed a file while the other was being backed up. Put both into a group so they're both stopped together.

Edited by Kilrah

27 minutes ago, Kilrah said:

You have tdarr and tdarr_node accessing the same folders, one changed a file while the other was being backed up. Put both into a group so they're both stopped together.

ah great, worked. thanks a lot

I can't get my post-run script to run.

It's a simple rclone sync command in an sh file which uploads my appdata to onedrive.

My pre-run script runs fine which is in the same location with the same permissions.

When I execute the script from terminal it works as intended.

 

I can't figure it out

3 hours ago, dingbat said:

I can't get my post-run script to run.

It's a simple rclone sync command in an sh file which uploads my appdata to onedrive.

My pre-run script runs fine which is in the same location with the same permissions.

When I execute the script from terminal it works as intended.

 

I can't figure it out

 

Okay, I managed to diagnose this issue.

 

If I have anything at all in global exclusions then appdata backup will completely ignore any extra files/folders and won't run my post-run script. Anyone else had this issue or am I going to have to put up with bloated backups?

has anyone run into an issue where the settings simply will not save? I tried adding containers into groups, changing skip from "no" to "yes" and after hitting save, it changes back to the previous settings. I've cleared my cache, using different browser and devices with no luck. any ideas?

@KluthR Whenever I try to change my source directories to my actual "internal appdata path" it changes back automatically to the absolute path regarded as "external" by the plugin (/mnt/disks/XXXXX/docker/appdata).

is it possible to somehow change whats regarded as being "internal" path?

 

All my appdata is regarded as external paths since I setup my server at a time when I had a weird bug with the appdata folder access rights, so I am using another path (/mnt/user/appdata/appdata). Stupid yes, but it was the only way I managed to solve it at the time.

I could use "external paths" but then it backs up stuff I don't want, like the external transcode directory for plex etc.

Otherwise I would need to migrate all my 38 containers back to the default appdata path 😅

"Appdata source(s)" at the top, if something's within one of those set there it's internal.

13 minutes ago, Kilrah said:

"Appdata source(s)" at the top, if something's within one of those set there it's internal.

 

Tried to set it several times, but it reverts to absolute path and then regards it as "external path", and as a result it skips it completely unless I explicit set it to backup external paths further down.

Right now it's only backing up the template settings.

Is it fetching these paths from the container settings even though I explicitly tells it to target these folders?

 

Screenshot 2024-04-06 122320.png

Edited by SolidFyre

2 minutes ago, SolidFyre said:

Is it fetching these paths from the container settings

Yes paths are always taken from the container settings, then if that path is within one of the appdata sources it's considered internal

8 minutes ago, Kilrah said:

Yes paths are always taken from the container settings, then if that path is within one of the appdata sources it's considered internal

Ah, alright. Guess I have to bite the bullet and migrate all my containers to the "correct" path then. uhh.... Thanks :)

Does the backup use rsync or similar to save space?

 

I was thinking to use the backup plugin to backup both my immich docker appdata and also the immich library directory (very very large).

image.png

2 hours ago, kiwijunglist said:

Does the backup use rsync or similar to save space?

No, it makes backups that are always fully self-contained so you can revert to something older than latest and it'd be consistent.

Edited by Kilrah

For months off and on I get this error; frankly I am tired of seeing it despite it means nothing. What is wrong here? I don't even leave MongoDB running anymore.

The error:

Event: Appdata Backup
Subject: [AppdataBackup] Error!
Description: Please check the backup log!
Importance: alert

image.thumb.png.72106e5d9bdd35abc33de4f9dda30850.png

 

Debug Log ID: c2b88e35-5351-4b46-8572-9a8dddda2430

On 3/29/2024 at 9:20 PM, Kilrah said:

You have tdarr and tdarr_node accessing the same folders, one changed a file while the other was being backed up. Put both into a group so they're both stopped together.


How do you group containers together? I couldn’t find anything when searching this backup topic or Unraid generally.
 

I’m getting the “File change as we read it” for Plex media server. Which has writing interactions with tautulli and Ombi containers.

 

I have my backup type set to: Stop all containers, backup, start all.


Debug Log ID: 4879c939-ebf7-419d-98ed-b8a7942b0527

Edited by CafeNevosa

good!

  • Author
2 hours ago, CafeNevosa said:

How do you group containers together?

„Group“ field inside container specific settings.

On 4/16/2024 at 1:35 PM, KluthR said:

„Group“ field inside container specific settings.


To share for others, that took me 10 minutes before finding 😅. As I was looking inside the Unraid Docker container tab.

 

Instead of inside backup plugin itself and clicking on the container at bottom, naming the container group and clicking save confirm the group name.

 

Thanks!

 

Hopefully updating works without errors after backup. If I group everything appropriately.

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.