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

On 5/14/2023 at 1:53 PM, Nano said:

I reinstalled the plugin, But it's skipping dockers I don't want it to skip now. 

 

[14.05.2023 12:49:01][luckyBackup][info] luckyBackup does not have any volume to back up! Skipping
[14.05.2023 12:49:01][luckyBackup][info] luckyBackup is being ignored, because it was not started before (or should not be started).
 

Yet it clearly /appdata/luckybackup as seen above for example. I have not set it to Skip.

 

I can also see it missing folders or sometimes only selecting certain folders within /appdata/DOCKERNAME/ instead of the whole folder.

 

For example on my Homarr I see : [14.05.2023 12:48:51][Homarr][info] Calculated volumes to back up: /mnt/user/appdata/homarr/icons, /mnt/user/appdata/homarr/configs instead of /appdata/homarr

 

It would be good to have a whole folder backup option again.

Same happens here now.
Doing the same as you did does not work for me and I cant find any reason why it would skip some dockers that clearly has data in their app-folder

  • 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

Seems to work again after the update that came today :)

Why is the "Pre-run script" not beeing executed before checking the retention of old backups?

I have some "Pre-run script" configured which turns on/off the power of the externals USB drive before backup.

If the "Pre-run script" is not executed at retention checking, the backup jobs fails due to "Destiantion is not availible..."

 

[19.05.2023 13:54:55][Main][info] 👋 WELCOME TO APPDATA.BACKUP!! :D
[19.05.2023 13:54:55][Main][error] Destination is available or not writeable!
[19.05.2023 13:54:55][Main][info] Checking retention...
[19.05.2023 13:54:55][Main][info] Executing script /mnt/disk2/fritzcontrol_off.sh...
[19.05.2023 13:55:37][Main][info] Script executed!
[19.05.2023 13:55:37][Main][info] DONE! Thanks for using this plugin and have a safe day ;)
[19.05.2023 13:55:37][Main][info] ❤️

 

ab.debug (2).log

  • Author

No, the pre run script should be executed before the source check. That seems to be a bug. Or rather a misplacement. I wonder why it is checking retention after those error. I check this as well.

Not sure if this has been mentioned, this is an observation, but the settings for schedulling are confusing e.g.

 

If I set daily for "Scheduled Backup Frequency" I can still set "Day of Week"? Same goes for Month...

 

Then if I use Cron I thought this would overrides everything but I can still change those settings... I think it would be good for some feedback to show what it's actually taken as the setting.. or have the menu adapt / grey out options depending on what is selected under Backup Frequency... e..g if Custom is taken only Cron isn't grey'd out.. etc...

 

I didn't realise my Cron wasn't being used until this morning when I say the schedule backup setting was on "Daily".

 

Thanks

 

Craig

 

  • Author
1 hour ago, craig_read said:

If I set daily for "Scheduled Backup Frequency" I can still set "Day of Week"? Same goes for Month...

Yea, thats a UI bug.

 

1 hour ago, craig_read said:

Then if I use Cron I thought this would overrides everything but I can still change those settings..

Same reason.

 

I will fix that as well soon.

  • 2 weeks later...

Sorry quick question.. my cache drive failed and I am trying to restore from backups... I have a few docker containers and I'd like them to come back.. I've ran the restore function.. against a backup I did a few days ago.. and that completed successfully.. but the docker containers are still not appearing... am I doing something silly?

 

Bit of a noob question I suppose but I know there is something simple I'm just not doing...

 

Thanks

 

Craig

 

EDIT; I've figured it out, I needed to restore the containers from their templates, which I've done.. all fully restored.. nice app!  Thanks!

Edited by craig_read

  • Author

Exactly. I plan to let the plugin do the container creation. But doing it the way you did (I believe the restore page is noting that) is the right way.

9 minutes ago, KluthR said:

Exactly. I plan to let the plugin do the container creation. But doing it the way you did (I believe the restore page is noting that) is the right way.

 

Yes, classic case of problem exists somewhere between chair and keyboard :)

Sorry for me being noob, but I don't know how to install it

I can't find it in "Apps".

Edited by Fily1212

  • Author

You wont find it until you use Unraid 6.12.

 

the new plugin is for 6.12+. 

Would it be possible to add an option to pass gzip arguments such as --rsyncable (for smaller rsync deltas)? I'm guessing using something like the following for tar:

-I 'gzip ARGS'

 

Can probably achieve this with a post-script anyway, but would be nice to have this integrated.

First of, thank you for your hard work. Was wondering if I could have some help please? When I run the backup, everything gets backed up apart from binhex-plexpass? watching the backup logs as backing up. It says binhex-plexpass does not have any volume to backup! Skipping?

I have everything default from installing plugin, apart choosing Backup destination

10 hours ago, Apollopayne35 said:

First of, thank you for your hard work. Was wondering if I could have some help please? When I run the backup, everything gets backed up apart from binhex-plexpass? watching the backup logs as backing up. It says binhex-plexpass does not have any volume to backup! Skipping?

I have everything default from installing plugin, apart choosing Backup destination

I think the plugin ignores any volumes mapped outside of /mnt/user/appdata, so if your plex volume is mounted somewhere else, this may be why?

My Plex is mounted as: /mnt/cache_nvme/appdata/ 

this is where all my dockers are. Default settings backups everything apart from binned-plexpass. I have tried adding /mnt/cache_nvme/appdata/ to sources section and ran backup. But it still skips it?

Hi.

 

At the end of a backup all the files have root:root ownership and permissions of rw-r----- (640).

Is this intended as it makes them unreadable to my backup system?

 

I assumeI can fix this with a post run script, but wanted to check if that's the right approach.

 

Thanks

@KluthR Thanks, you made amazing work for refresh Appdata Backup. 

is anyway the containers start order can be readed from 'userprefs.cfg' from Dockerman ?

 

I just upgraded to Unraid v 6.12.0 and I got this plugin from the Apps tab. When I tried to do my backup I got an error:

[15.06.2023 03:22:54][Main][warning] An error occurred during backup! RETENTION WILL NOT BE CHECKED! Please review the log. If you need further assistance, ask in the support forum.

and my folder is titled ab_20230615_025310-failed, so it will not let me restore from that folder.

Attached is my log.

 

Any idea what is happening? The 2.5 CA backup plugin was working in the previous version of Unraid 6.11.5

 

 

Edit: I had rebooted my server for something and tried the backup again and this time it worked. Not sure what happened, but I'll leave this here anyway.

ab.debug.log ab.log

succes-ab.debug (1).log

Edited by muffinman1604

Hello,

I am wondering wether I have the plugin configured wrong.

 

This is what my source and destination look like.

grafik.thumb.png.68a899126675840871605ef2f7746fa3.png

 

Everything else I have left pretty much as it was by default.

 

Now, after I run the manual backup once I feel like there should be a tar.gz file for each docker container, am I wrong here? I can only see two compressed files.

 

grafik.png.77532a3fc776d405f3e48c160bc9096c.png

 

This is the log file of the manual backup:

[15.06.2023 20:15:05][Main][info] 👋 WELCOME TO APPDATA.BACKUP!! :D
[15.06.2023 20:15:05][Main][info] Backing up to: /mnt/user/backup/ab_20230615_201505
[15.06.2023 20:15:05][Main][info] Saving container XML files...
[15.06.2023 20:15:05][Main][info] Method: Stop/Backup/Start
[15.06.2023 20:15:05][Adminer][info] No stopping needed for Adminer: Not started!
[15.06.2023 20:15:05][Adminer][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:05][Adminer][info] Adminer does not have any volume to back up! Skipping
[15.06.2023 20:15:05][Adminer][info] Adminer is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:05][jDownloader2][info] No stopping needed for jDownloader2: Not started!
[15.06.2023 20:15:05][jDownloader2][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:05][jDownloader2][info] jDownloader2 does not have any volume to back up! Skipping
[15.06.2023 20:15:05][jDownloader2][info] jDownloader2 is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:05][Jellyfin][info] Stopping Jellyfin... 
[15.06.2023 20:15:05][Jellyfin][info] done! (took 0 seconds)
[15.06.2023 20:15:05][Jellyfin][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:05][Jellyfin][info] Jellyfin does not have any volume to back up! Skipping
[15.06.2023 20:15:05][Jellyfin][info] Starting Jellyfin... (try #1)
[15.06.2023 20:15:07][MariaDB][info] Stopping MariaDB... 
[15.06.2023 20:15:08][MariaDB][info] done! (took 1 seconds)
[15.06.2023 20:15:08][MariaDB][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:08][MariaDB][info] MariaDB does not have any volume to back up! Skipping
[15.06.2023 20:15:08][MariaDB][info] Starting MariaDB... (try #1)
[15.06.2023 20:15:10][nextcloud][info] Stopping nextcloud... 
[15.06.2023 20:15:15][nextcloud][info] done! (took 5 seconds)
[15.06.2023 20:15:15][nextcloud][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:15][nextcloud][info] nextcloud does not have any volume to back up! Skipping
[15.06.2023 20:15:15][nextcloud][info] Starting nextcloud... (try #1)
[15.06.2023 20:15:17][SWAG][info] Stopping SWAG... 
[15.06.2023 20:15:21][SWAG][info] done! (took 4 seconds)
[15.06.2023 20:15:21][SWAG][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:21][SWAG][info] Calculated volumes to back up: /mnt/user/appdata/swag
[15.06.2023 20:15:21][SWAG][info] Backing up SWAG...
[15.06.2023 20:15:22][SWAG][info] Backup created without issues
[15.06.2023 20:15:22][SWAG][info] Verifying backup...
[15.06.2023 20:15:23][SWAG][info] Starting SWAG... (try #1)
[15.06.2023 20:15:25][tinyMediaManager][info] No stopping needed for tinyMediaManager: Not started!
[15.06.2023 20:15:25][tinyMediaManager][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:25][tinyMediaManager][info] tinyMediaManager does not have any volume to back up! Skipping
[15.06.2023 20:15:25][tinyMediaManager][info] tinyMediaManager is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:25][vaultwarden][info] Stopping vaultwarden... 
[15.06.2023 20:15:25][vaultwarden][info] done! (took 0 seconds)
[15.06.2023 20:15:25][vaultwarden][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:25][vaultwarden][info] vaultwarden does not have any volume to back up! Skipping
[15.06.2023 20:15:25][vaultwarden][info] Starting vaultwarden... (try #1)
[15.06.2023 20:15:28][VideoDuplicateFinder][info] No stopping needed for VideoDuplicateFinder: Not started!
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Should NOT backup external volumes, sanitizing them...
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Calculated volumes to back up: /mnt/user/appdata/VideoDuplicateFinder
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Backing up VideoDuplicateFinder...
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Backup created without issues
[15.06.2023 20:15:28][VideoDuplicateFinder][info] Verifying backup...
[15.06.2023 20:15:28][VideoDuplicateFinder][info] VideoDuplicateFinder is being ignored, because it was not started before (or should not be started).
[15.06.2023 20:15:28][Main][info] Checking retention...
[15.06.2023 20:15:28][Main][info] DONE! Thanks for using this plugin and have a safe day ;)
[15.06.2023 20:15:28][Main][info] ❤️

 

19 hours ago, muffinman1604 said:

I just upgraded to Unraid v 6.12.0 and I got this plugin from the Apps tab. When I tried to do my backup I got an error:

[15.06.2023 03:22:54][Main][warning] An error occurred during backup! RETENTION WILL NOT BE CHECKED! Please review the log. If you need further assistance, ask in the support forum.

and my folder is titled ab_20230615_025310-failed, so it will not let me restore from that folder.

Attached is my log.

 

Any idea what is happening? The 2.5 CA backup plugin was working in the previous version of Unraid 6.11.5

 

 

Edit: I had rebooted my server for something and tried the backup again and this time it worked. Not sure what happened, but I'll leave this here anyway.

ab.debug.log 88.76 kB · 0 downloads ab.log 17.62 kB · 0 downloads

succes-ab.debug (1).log 89.37 kB · 0 downloads

 

Well, I tried restoring and it is not working with the successful backup. 

 

Restore is treating the tar as a gzip file 

ab.debug-failed-restore.log

Edited by muffinman1604

upgraded to 6.12, got the warning that i needed to install appdata backup. did so, it found my ca backup2 and asked to migrate which pulled over most things.

 

i noticed it did NOT pull over my exclude list which is:

 

.kodi-novnc/.kodi/userdata/Thumbnails,/mnt/cache/appdata/mariadb-10.6/

 

Which i assume is understandable since now users would be expected to put said exclusions on each container where it made sense and what not. But would prob be good to note this in the migrate blurp that it doesn't handle this.

 

 

which i guess its not clear now, so in the container where you can exclude.. 

previously the exclude list operated from the parent folder of the appdata folder, so exclude was: .kodi-novnc/.kodi/userdata/Thumbnails

 

but with this app, does the exclude path get constructed from the container root folder or none.?

 

as now my kodi container base is:

/mnt/cache/appdata/.kodi-novnc

 

so would I have to do:

/mnt/cache/appdata/.kodi-novnc/.kodi/userdata/Thumbnails

or:

.kodi/userdata/Thumbnails

or:

Thumbnails

 

 

 

Edited by zoggy

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.