[Plugin][BETA] Appdata.Backup


Recommended Posts

Hello,

tried everything but unfortunately with the same result/error message, the backup is marked as faulty and I have to rename the backup. Grafana Unraid stack then no longer works when you specify an extra config folder.
I have now switched off the extra tar verification and the backup runs through. 
seems to be "only" on Grafana unraid stack.
I just wonder why it worked with the CABackupV2.5 and no longer with the V3Beta. What has changed?

ab.debug (1).log

Edited by Roddi
Link to comment
40 minutes ago, Roddi said:

Grafana Unraid stack then no longer works when you specify an extra config folder.

What is the container showing in the logs in that case?

 

40 minutes ago, Roddi said:

I just wonder why it worked with the CABackupV2.5 and no longer with the V3Beta. What has changed?

Because the new backup (Appdata.backup) is a completely new plugin which will replace ca.backup2. See:

 

The old plugin does not had any clue, which volume belongs to which container. It just stops all and backs up the data inside your given path.

 

The new plugin backs up in a per container config. This includes a detection of needed container volumes.

 

Assigning a volumes subfolder as extra volume seems not a good practice to me (correct me if Iam wrong), but I dont see, why my steps should not work.

Link to comment

Hello,

i have now Installed the Official Container of Grafana and the Backup ran through without errors.

 

So it seems to have been the GrafanaUnraidStack container.

 

Thanks for the help and the tips.

 

P.S. What else would be nice, if you could give the backup its own name and the time format for Europe/Berlin.

ab.debug.log

Edited by Roddi
Link to comment
25 minutes ago, Roddi said:

So it seems to have been the GrafanaUnraidStack container.

I tested it. I see, that the default template has this mapping:

grafik.png.77dd9e8abef9f6a9e019cd39808671fd.png

 

I created the container and moved the folders as said - it was working for me.

In my understanding, the template should be adapted - but correct me if Iam wrong.

 

Long story short: I could catch this case, but I assume its not an issue which pops up often.

Link to comment
  • 2 weeks later...

Hello, Unraid is now installed version: 6.12.0-rc3 and now the automatic backup no longer takes effect.
If you do it manually the whole thing works. Settings have not been changed by me.

 

Edit: after I saved the settings again, it seems to work again.

Edited by Roddi
Link to comment
On 4/20/2023 at 11:30 AM, Roddi said:

Hello, Unraid is now installed version: 6.12.0-rc3 and now the automatic backup no longer takes effect.

Thanks for the report, checking that.

I bet if you reboot, it will stop working again.

Edited by KluthR
Link to comment
7 hours ago, KluthR said:

Ahh, I see. There is a detail missing. The nested mapping detection ignores allowed sources. I think, it should check that. Ill prepare another update, would be great, if you test this again :D

Ok, yes of course, happy to test! Let me know when available, I’m away for the weekend, back on Monday so can test from then! 😄 

Link to comment

Hi KluthR, once again I have a problem with the plugin.
Attached is the debug log and it is specifically about Emby. 
"Warning] '/mnt/user/appdata/EmbyServerBeta' is within mapped volume". 
Don't understand the problem as no settings have been changed....
Installed is the version 2023.04.21b1

ab.debug.log

Link to comment

I have now tried my backup with the current beta version.
The error message with the swag container no longer appears, but I get other warnings in the log.

Debug log attached

 

[24.04.2023 09:03:29][info] 👋 WELCOME TO APPDATA.BACKUP!! :D
[24.04.2023 09:03:29][info] Backing up to: /mnt/user/backup/appdatabackup/ab_20230424_090329
[24.04.2023 09:03:29][info] Saving container XML files...
[24.04.2023 09:03:29][info] Method: Stop all container before continuing.
[24.04.2023 09:03:29][info] Stopping vaultwarden...
[24.04.2023 09:03:30][info] done! (took 1 seconds)
[24.04.2023 09:03:30][info] No stopping needed for unmanic: Not started!
[24.04.2023 09:03:30][info] Stopping Thunderbird...
[24.04.2023 09:03:32][info] done! (took 2 seconds)
[24.04.2023 09:03:32][info] No stopping needed for tdarr_node: Not started!
[24.04.2023 09:03:32][info] No stopping needed for tdarr: Not started!
[24.04.2023 09:03:32][info] Stopping Sonarr...
[24.04.2023 09:03:34][info] done! (took 2 seconds)
[24.04.2023 09:03:34][info] Stopping sabnzbd...
[24.04.2023 09:03:38][info] done! (took 4 seconds)
[24.04.2023 09:03:38][info] Stopping Radarr...
[24.04.2023 09:03:41][info] done! (took 3 seconds)
[24.04.2023 09:03:41][info] Stopping Portfolio-Performance...
[24.04.2023 09:03:46][info] done! (took 5 seconds)
[24.04.2023 09:03:46][info] Stopping PhotoPrism...
[24.04.2023 09:03:46][info] done! (took 0 seconds)
[24.04.2023 09:03:46][info] Stopping paperless-ngx...
[24.04.2023 09:03:50][info] done! (took 4 seconds)
[24.04.2023 09:03:50][info] Stopping Nextcloud...
[24.04.2023 09:03:51][info] done! (took 1 seconds)
[24.04.2023 09:03:51][info] No stopping needed for MusicBrainz-Picard: Not started!
[24.04.2023 09:03:51][info] No stopping needed for MKVToolNix: Not started!
[24.04.2023 09:03:51][info] No stopping needed for MakeMKV: Not started!
[24.04.2023 09:03:51][info] No stopping needed for Krusader: Not started!
[24.04.2023 09:03:51][info] No stopping needed for jellyseerr: Not started!
[24.04.2023 09:03:51][info] Stopping Jellyfin...
[24.04.2023 09:03:51][info] done! (took 0 seconds)
[24.04.2023 09:03:51][info] No stopping needed for jDownloader2: Not started!
[24.04.2023 09:03:51][info] Stopping Imaginary...
[24.04.2023 09:03:52][info] done! (took 1 seconds)
[24.04.2023 09:03:52][info] Stopping heimdall...
[24.04.2023 09:03:56][info] done! (took 4 seconds)
[24.04.2023 09:03:56][info] No stopping needed for HandBrake: Not started!
[24.04.2023 09:03:56][info] Stopping Duplicacy...
[24.04.2023 09:03:56][info] done! (took 0 seconds)
[24.04.2023 09:03:56][info] Stopping Debian-Bullseye...
[24.04.2023 09:03:57][info] done! (took 1 seconds)
[24.04.2023 09:03:57][info] Stopping Collabora...
[24.04.2023 09:03:58][info] done! (took 1 seconds)
[24.04.2023 09:03:58][info] Stopping calibre-web...
[24.04.2023 09:04:02][info] done! (took 4 seconds)
[24.04.2023 09:04:02][info] No stopping needed for calibre: Not started!
[24.04.2023 09:04:02][info] Stopping Authelia...
[24.04.2023 09:04:02][info] done! (took 0 seconds)
[24.04.2023 09:04:02][info] No stopping needed for adminer: Not started!
[24.04.2023 09:04:02][info] Stopping swag...
[24.04.2023 09:04:07][info] done! (took 5 seconds)
[24.04.2023 09:04:07][info] Stopping Redis...
[24.04.2023 09:04:08][info] done! (took 1 seconds)
[24.04.2023 09:04:08][info] Stopping mariadb...
[24.04.2023 09:04:12][info] done! (took 4 seconds)
[24.04.2023 09:04:12][info] Starting backup for containers
[24.04.2023 09:04:12][info] Backing up mariadb...
[24.04.2023 09:07:50][info] Backup created without issues
[24.04.2023 09:07:50][info] Verifying backup...
[24.04.2023 09:08:25][info] Redis does not have any volume to back up! Skipping
[24.04.2023 09:08:25][warning] Exclusion "/mnt/cache/appdata/Jellyfin/config/log" matches a container volume - ignoring volume/exclusion pair
[24.04.2023 09:08:26][warning] Exclusion "/mnt/cache/appdata/nextcloud/log" matches a container volume - ignoring volume/exclusion pair
[24.04.2023 09:08:28][warning] Exclusion "/mnt/cache/appdata/vaultwarden/vaultwarden.log" matches a container volume - ignoring volume/exclusion pair
[24.04.2023 09:08:29][info] Backing up swag...
[24.04.2023 09:08:34][info] Backup created without issues
[24.04.2023 09:08:34][info] Verifying backup...
[24.04.2023 09:08:35][info] adminer does not have any volume to back up! Skipping
[24.04.2023 09:08:35][info] Backing up Authelia...
[24.04.2023 09:08:35][info] Backup created without issues
[24.04.2023 09:08:35][info] Verifying backup...
[24.04.2023 09:08:35][warning] '/mnt/cache/Ebooks/Bücher_Import' is within mapped volume '/mnt/cache/Ebooks/Bücher'! Ignoring!
[24.04.2023 09:08:36][info] Backing up calibre...
[24.04.2023 09:08:38][info] Backup created without issues
[24.04.2023 09:08:38][info] Verifying backup...
[24.04.2023 09:08:39][info] Backing up calibre-web...
[24.04.2023 09:08:39][info] Backup created without issues
[24.04.2023 09:08:39][info] Verifying backup...
[24.04.2023 09:08:39][info] Collabora does not have any volume to back up! Skipping
[24.04.2023 09:08:39][warning] Removing container mapping "/mnt/cache/appdata" because it is a source path!
[24.04.2023 09:08:40][info] Backing up Debian-Bullseye...
[24.04.2023 09:10:43][info] Backup created without issues
[24.04.2023 09:10:43][info] Verifying backup...
[24.04.2023 09:11:09][info] Backing up Duplicacy...
[24.04.2023 09:11:22][info] Backup created without issues
[24.04.2023 09:11:22][info] Verifying backup...
[24.04.2023 09:11:25][warning] '/mnt/cache/Temp_Cache/Handbrake/Input' is within mapped volume '/mnt/cache/Temp_Cache/Handbrake'! Ignoring!
[24.04.2023 09:11:26][warning] '/mnt/cache/Temp_Cache/Handbrake/Output' is within mapped volume '/mnt/cache/Temp_Cache/Handbrake'! Ignoring!
[24.04.2023 09:11:27][info] Backing up HandBrake...
[24.04.2023 09:11:27][info] Backup created without issues
[24.04.2023 09:11:27][info] Verifying backup...
[24.04.2023 09:11:27][info] Backing up heimdall...
[24.04.2023 09:11:28][info] Backup created without issues
[24.04.2023 09:11:28][info] Verifying backup...
[24.04.2023 09:11:28][info] Imaginary does not have any volume to back up! Skipping
[24.04.2023 09:11:28][info] Backing up jDownloader2...
[24.04.2023 09:11:39][info] Backup created without issues
[24.04.2023 09:11:39][info] Verifying backup...
[24.04.2023 09:11:41][warning] '/mnt/user/Videos_Privat' is within mapped volume '/mnt/user/Videos'! Ignoring!
[24.04.2023 09:11:42][warning] '/mnt/user/Filme/Filme Kids' is within mapped volume '/mnt/user/Filme/Filme'! Ignoring!
[24.04.2023 09:11:44][warning] '/mnt/user/Serien/Serien Kids' is within mapped volume '/mnt/user/Serien/Serien'! Ignoring!
[24.04.2023 09:11:45][info] Backing up Jellyfin...
[24.04.2023 09:19:07][info] Backup created without issues
[24.04.2023 09:19:07][info] Verifying backup...
[24.04.2023 09:20:52][info] Backing up jellyseerr...
[24.04.2023 09:20:52][info] Backup created without issues
[24.04.2023 09:20:52][info] Verifying backup...
[24.04.2023 09:20:52][warning] '/mnt/cache/appdata/krusader' is within mapped volume '/mnt'! Ignoring!
[24.04.2023 09:20:53][info] Krusader does not have any volume to back up! Skipping
[24.04.2023 09:20:53][info] Backing up MakeMKV...
[24.04.2023 09:20:53][info] Backup created without issues
[24.04.2023 09:20:53][info] Verifying backup...
[24.04.2023 09:20:53][info] Backing up MKVToolNix...
[24.04.2023 09:20:53][info] Backup created without issues
[24.04.2023 09:20:53][info] Verifying backup...
[24.04.2023 09:20:53][info] Backing up MusicBrainz-Picard...
[24.04.2023 09:20:58][info] Backup created without issues
[24.04.2023 09:20:58][info] Verifying backup...
[24.04.2023 09:20:59][info] Backing up Nextcloud...
[24.04.2023 09:21:25][info] Backup created without issues
[24.04.2023 09:21:25][info] Verifying backup...
[24.04.2023 09:21:30][info] Backing up paperless-ngx...
[24.04.2023 09:21:32][info] Backup created without issues
[24.04.2023 09:21:32][info] Verifying backup...
[24.04.2023 09:21:32][info] Backing up PhotoPrism...
[24.04.2023 09:21:32][info] Backup created without issues
[24.04.2023 09:21:32][info] Verifying backup...
[24.04.2023 09:21:33][info] Backing up Portfolio-Performance...
[24.04.2023 09:21:45][info] Backup created without issues
[24.04.2023 09:21:45][info] Verifying backup...
[24.04.2023 09:21:47][warning] '/mnt/user/Filme/Filme Kids' is within mapped volume '/mnt/user/Filme/Filme'! Ignoring!
[24.04.2023 09:21:49][info] Backing up Radarr...
[24.04.2023 09:22:52][info] Backup created without issues
[24.04.2023 09:22:52][info] Verifying backup...
[24.04.2023 09:23:05][info] Backing up sabnzbd...
[24.04.2023 09:23:43][info] Backup created without issues
[24.04.2023 09:23:43][info] Verifying backup...
[24.04.2023 09:23:52][warning] '/mnt/user/Serien/Serien Kids' is within mapped volume '/mnt/user/Serien/Serien'! Ignoring!
[24.04.2023 09:23:53][info] Backing up Sonarr...
[24.04.2023 09:24:00][info] Backup created without issues
[24.04.2023 09:24:00][info] Verifying backup...
[24.04.2023 09:24:01][info] Backing up tdarr...
[24.04.2023 09:24:22][info] Backup created without issues
[24.04.2023 09:24:22][info] Verifying backup...
[24.04.2023 09:24:28][info] Backing up tdarr_node...
[24.04.2023 09:24:28][info] Backup created without issues
[24.04.2023 09:24:28][info] Verifying backup...
[24.04.2023 09:24:28][info] Backing up Thunderbird...
[24.04.2023 09:25:16][info] Backup created without issues
[24.04.2023 09:25:16][info] Verifying backup...
[24.04.2023 09:25:24][info] Backing up unmanic...
[24.04.2023 09:25:49][info] Backup created without issues
[24.04.2023 09:25:49][info] Verifying backup...
[24.04.2023 09:25:55][info] Backing up vaultwarden...
[24.04.2023 09:25:56][info] Backup created without issues
[24.04.2023 09:25:56][info] Verifying backup...
[24.04.2023 09:25:56][info] Set containers to previous state
[24.04.2023 09:25:56][info] Starting mariadb... (try #1)
[24.04.2023 09:25:58][info] Starting Redis... (try #1)
[24.04.2023 09:26:01][info] Starting swag... (try #1)
[24.04.2023 09:26:03][info] adminer is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:03][info] Starting Authelia... (try #1)
[24.04.2023 09:26:03][info] The container has a delay set, waiting 5 seconds before carrying on
[24.04.2023 09:26:08][info] calibre is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:08][info] Starting calibre-web... (try #1)
[24.04.2023 09:26:11][info] Starting Collabora... (try #1)
[24.04.2023 09:26:13][info] Starting Debian-Bullseye... (try #1)
[24.04.2023 09:26:15][info] Starting Duplicacy... (try #1)
[24.04.2023 09:26:17][info] HandBrake is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:17][info] Starting heimdall... (try #1)
[24.04.2023 09:26:20][info] Starting Imaginary... (try #1)
[24.04.2023 09:26:22][info] jDownloader2 is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:22][info] Starting Jellyfin... (try #1)
[24.04.2023 09:26:24][info] jellyseerr is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:24][info] Krusader is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:24][info] MakeMKV is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:24][info] MKVToolNix is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:24][info] MusicBrainz-Picard is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:24][info] Starting Nextcloud... (try #1)
[24.04.2023 09:26:27][info] Starting paperless-ngx... (try #1)
[24.04.2023 09:26:29][info] Starting PhotoPrism... (try #1)
[24.04.2023 09:26:32][info] Starting Portfolio-Performance... (try #1)
[24.04.2023 09:26:34][info] Starting Radarr... (try #1)
[24.04.2023 09:26:36][info] Starting sabnzbd... (try #1)
[24.04.2023 09:26:38][info] Starting Sonarr... (try #1)
[24.04.2023 09:26:41][info] tdarr is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:41][info] tdarr_node is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:41][info] Starting Thunderbird... (try #1)
[24.04.2023 09:26:43][info] unmanic is being ignored, because it was not started before (or should not be started).
[24.04.2023 09:26:43][info] Starting vaultwarden... (try #1)
[24.04.2023 09:26:45][info] Backing up the flash drive.
[24.04.2023 09:27:09][info] Flash backup created!
[24.04.2023 09:27:09][info] Checking retention...
[24.04.2023 09:27:09][info] DONE! Thanks for using this plugin and have a safe day ;)
[24.04.2023 09:27:09][info] ❤️

 

ab.debug.log

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.