Jump to content

[Plugin] Appdata.Backup


Recommended Posts

I think I am too dumb to figure out how to change the order of containers?

 

If I drag a container  in the "start order" section to the right, and then hit save and reload the page, it's at the old position again.

Is there any additional step or save button that I am missing?

 

container order in the config.json is empty

"containerOrder": []

 

I thought that I might be able to set it manually but I don't know if it's a list of strings or some internal ids

 

The configuration file is also missing some of my containers, and I cannot change their individual configuration or save that.

 

The config ends at tika:

 

       "Tika": {
            "skip": "no",
            "group": "",
            "backupExtVolumes": "no",
            "updateContainer": "",
            "exclude": "",
            "skipBackup": "no",
            "verifyBackup": "",
            "ignoreBackupErrors": ""
        }
    },
    "containerOrder": []

image.png.9b2705f308a64bf85f8cce004ccb6042.pngBut there are more containers

 

Here's a gif of trying to change order

oplJ01v.gif

Edited by Spiritreader
  • Like 1
Link to comment

I'm having issues with my Appdata.Backup (v2024.03.17 up-to-date).
I've installed it for the first time and tried having it run overnight. But it got stuck on "[18.04.2024 06:46:58][ℹ️][Plex-Media-Server] Verifying backup..." It was on this step for over 2 hours which seems like that shouldn't be the case.

 

Here's my log after Aborting the flow. (you can see the 2 hour difference when it give the message "[18.04.2024 08:19:39][][Plex-Media-Server] tar verification failed! Tar said: tar: Removing leading `/' from member names"):

[18.04.2024 05:00:02][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D
[18.04.2024 05:00:02][ℹ️][Main] Backing up from: /mnt/user/appdata, /mnt/cache/appdata
[18.04.2024 05:00:02][ℹ️][Main] Backing up to: /mnt/user/backup/ab_20240418_050002
[18.04.2024 05:00:02][ℹ️][Main] Selected containers: FileBrowser, MinecraftBasicServer, NginxProxyManager, Plex-Media-Server, SpeedTest-By-OpenSpeedTest, bazarr-1, binhex-lidarr, binhex-radarr, binhex-sabnzbd, binhex-sonarr, ombi, overseerr, recyclarr, tautulli
[18.04.2024 05:00:02][ℹ️][Main] Saving container XML files...
[18.04.2024 05:00:02][ℹ️][Main] Method: Stop/Backup/Start
[18.04.2024 05:00:02][ℹ️][tautulli] No stopping needed for tautulli: Not started!
[18.04.2024 05:00:02][ℹ️][tautulli] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:02][ℹ️][tautulli] Calculated volumes to back up: /mnt/user/appdata/tautulli
[18.04.2024 05:00:02][ℹ️][tautulli] Backing up tautulli...
[18.04.2024 05:00:03][ℹ️][tautulli] Backup created without issues
[18.04.2024 05:00:03][ℹ️][tautulli] Verifying backup...
[18.04.2024 05:00:03][ℹ️][tautulli] Starting tautulli is being ignored, because it was not started before (or should not be started).
[18.04.2024 05:00:03][ℹ️][SpeedTest-By-OpenSpeedTest] No stopping needed for SpeedTest-By-OpenSpeedTest: Not started!
[18.04.2024 05:00:03][ℹ️][SpeedTest-By-OpenSpeedTest] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:03][⚠️][SpeedTest-By-OpenSpeedTest] SpeedTest-By-OpenSpeedTest does not have any volume to back up! Skipping. Please consider ignoring this container.
[18.04.2024 05:00:03][ℹ️][SpeedTest-By-OpenSpeedTest] Starting SpeedTest-By-OpenSpeedTest is being ignored, because it was not started before (or should not be started).
[18.04.2024 05:00:03][ℹ️][ombi] Stopping ombi... done! (took 14 seconds)
[18.04.2024 05:00:17][ℹ️][ombi] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:17][ℹ️][ombi] Calculated volumes to back up: /mnt/user/appdata/ombi
[18.04.2024 05:00:17][ℹ️][ombi] Backing up ombi...
[18.04.2024 05:00:18][ℹ️][ombi] Backup created without issues
[18.04.2024 05:00:18][ℹ️][ombi] Verifying backup...
[18.04.2024 05:00:18][ℹ️][ombi] Starting ombi... (try #1) done!
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] No stopping needed for MinecraftBasicServer: Not started!
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] Calculated volumes to back up: /mnt/cache/appdata/minecraftbasicserver
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] Backing up MinecraftBasicServer...
[18.04.2024 05:01:20][ℹ️][MinecraftBasicServer] Backup created without issues
[18.04.2024 05:01:20][ℹ️][MinecraftBasicServer] Verifying backup...
[18.04.2024 05:03:06][ℹ️][MinecraftBasicServer] Starting MinecraftBasicServer is being ignored, because it was not started before (or should not be started).
[18.04.2024 05:03:06][ℹ️][binhex-sabnzbd] Stopping binhex-sabnzbd... done! (took 6 seconds)
[18.04.2024 05:03:12][ℹ️][binhex-sabnzbd] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:03:12][ℹ️][binhex-sabnzbd] Calculated volumes to back up: /mnt/user/appdata/binhex-sabnzbd
[18.04.2024 05:03:12][ℹ️][binhex-sabnzbd] Backing up binhex-sabnzbd...
[18.04.2024 05:03:13][ℹ️][binhex-sabnzbd] Backup created without issues
[18.04.2024 05:03:13][ℹ️][binhex-sabnzbd] Verifying backup...
[18.04.2024 05:03:13][ℹ️][binhex-sabnzbd] Starting binhex-sabnzbd... (try #1) done!
[18.04.2024 05:03:24][ℹ️][recyclarr] Stopping recyclarr... done! (took 7 seconds)
[18.04.2024 05:03:31][ℹ️][recyclarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:03:31][ℹ️][recyclarr] Calculated volumes to back up: /mnt/user/appdata/recyclarr
[18.04.2024 05:03:31][ℹ️][recyclarr] Backing up recyclarr...
[18.04.2024 05:03:33][ℹ️][recyclarr] Backup created without issues
[18.04.2024 05:03:33][ℹ️][recyclarr] Verifying backup...
[18.04.2024 05:03:34][ℹ️][recyclarr] Starting recyclarr... (try #1) done!
[18.04.2024 05:03:46][ℹ️][overseerr] Stopping overseerr... done! (took 11 seconds)
[18.04.2024 05:03:57][ℹ️][overseerr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:03:57][ℹ️][overseerr] Calculated volumes to back up: /mnt/user/appdata/overseerr
[18.04.2024 05:03:57][ℹ️][overseerr] Backing up overseerr...
[18.04.2024 05:03:59][ℹ️][overseerr] Backup created without issues
[18.04.2024 05:03:59][ℹ️][overseerr] Verifying backup...
[18.04.2024 05:03:59][ℹ️][overseerr] Starting overseerr... (try #1) done!
[18.04.2024 05:04:10][ℹ️][binhex-lidarr] Stopping binhex-lidarr... done! (took 18 seconds)
[18.04.2024 05:04:28][ℹ️][binhex-lidarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:04:28][ℹ️][binhex-lidarr] Calculated volumes to back up: /mnt/user/appdata/binhex-lidarr
[18.04.2024 05:04:28][ℹ️][binhex-lidarr] Backing up binhex-lidarr...
[18.04.2024 05:04:59][ℹ️][binhex-lidarr] Backup created without issues
[18.04.2024 05:04:59][ℹ️][binhex-lidarr] Verifying backup...
[18.04.2024 05:05:05][ℹ️][binhex-lidarr] Starting binhex-lidarr... (try #1) done!
[18.04.2024 05:05:19][ℹ️][bazarr-1] Stopping bazarr-1... done! (took 15 seconds)
[18.04.2024 05:05:34][ℹ️][bazarr-1] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:05:34][ℹ️][bazarr-1] Calculated volumes to back up: /mnt/user/appdata/bazarr-1
[18.04.2024 05:05:34][ℹ️][bazarr-1] Backing up bazarr-1...
[18.04.2024 05:05:38][ℹ️][bazarr-1] Backup created without issues
[18.04.2024 05:05:38][ℹ️][bazarr-1] Verifying backup...
[18.04.2024 05:05:39][ℹ️][bazarr-1] Starting bazarr-1... (try #1) done!
[18.04.2024 05:05:53][ℹ️][binhex-radarr] Stopping binhex-radarr... done! (took 17 seconds)
[18.04.2024 05:06:10][ℹ️][binhex-radarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:06:10][ℹ️][binhex-radarr] Calculated volumes to back up: /mnt/user/appdata/binhex-radarr
[18.04.2024 05:06:10][ℹ️][binhex-radarr] Backing up binhex-radarr...
[18.04.2024 05:10:12][ℹ️][binhex-radarr] Backup created without issues
[18.04.2024 05:10:12][ℹ️][binhex-radarr] Verifying backup...
[18.04.2024 05:26:39][ℹ️][binhex-radarr] Starting binhex-radarr... (try #1) done!
[18.04.2024 05:26:52][ℹ️][binhex-sonarr] Stopping binhex-sonarr... done! (took 9 seconds)
[18.04.2024 05:27:01][ℹ️][binhex-sonarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:27:01][ℹ️][binhex-sonarr] Calculated volumes to back up: /mnt/user/appdata/binhex-sonarr
[18.04.2024 05:27:01][ℹ️][binhex-sonarr] Backing up binhex-sonarr...
[18.04.2024 05:28:21][ℹ️][binhex-sonarr] Backup created without issues
[18.04.2024 05:28:21][ℹ️][binhex-sonarr] Verifying backup...
[18.04.2024 05:46:40][ℹ️][binhex-sonarr] Starting binhex-sonarr... (try #1) done!
[18.04.2024 05:46:51][ℹ️][FileBrowser] Stopping FileBrowser... done! (took 5 seconds)
[18.04.2024 05:46:56][ℹ️][FileBrowser] '/mnt/user/appdata/filebrowser/branding' is within mapped volume '/mnt/user/appdata/filebrowser'! Ignoring!
[18.04.2024 05:46:56][ℹ️][FileBrowser] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:46:56][ℹ️][FileBrowser] Calculated volumes to back up: /mnt/user/appdata/filebrowser
[18.04.2024 05:46:56][ℹ️][FileBrowser] Backing up FileBrowser...
[18.04.2024 05:46:56][ℹ️][FileBrowser] Backup created without issues
[18.04.2024 05:46:56][ℹ️][FileBrowser] Verifying backup...
[18.04.2024 05:46:56][ℹ️][FileBrowser] Starting FileBrowser... (try #1) done!
[18.04.2024 05:47:05][ℹ️][NginxProxyManager] Stopping NginxProxyManager... done! (took 7 seconds)
[18.04.2024 05:47:12][ℹ️][NginxProxyManager] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:47:12][ℹ️][NginxProxyManager] Calculated volumes to back up: /mnt/user/appdata/NginxProxyManager
[18.04.2024 05:47:12][ℹ️][NginxProxyManager] Backing up NginxProxyManager...
[18.04.2024 05:47:14][ℹ️][NginxProxyManager] Backup created without issues
[18.04.2024 05:47:14][ℹ️][NginxProxyManager] Verifying backup...
[18.04.2024 05:47:15][ℹ️][NginxProxyManager] Starting NginxProxyManager... (try #1) done!
[18.04.2024 05:47:25][ℹ️][Plex-Media-Server] Stopping Plex-Media-Server... done! (took 13 seconds)
[18.04.2024 05:47:38][ℹ️][Plex-Media-Server] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:47:38][ℹ️][Plex-Media-Server] Calculated volumes to back up: /mnt/user/appdata/Plex-Media-Server
[18.04.2024 05:47:38][ℹ️][Plex-Media-Server] Backing up Plex-Media-Server...
[18.04.2024 06:46:58][ℹ️][Plex-Media-Server] Backup created without issues
[18.04.2024 06:46:58][ℹ️][Plex-Media-Server] Verifying backup...
[18.04.2024 08:19:39][][Plex-Media-Server] tar verification failed! Tar said: tar: Removing leading `/' from member names
[18.04.2024 08:25:03][ℹ️][Plex-Media-Server] Backing up the flash drive.
[18.04.2024 08:25:57][ℹ️][Plex-Media-Server] Flash backup created!
[18.04.2024 08:25:57][⚠️][Main] Backup cancelled! Executing final things. You will be left behind with the current state!
[18.04.2024 08:25:57][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)
[18.04.2024 08:25:57][ℹ️][Main] ❤️


I'm not sure the best way to post my settings:
image.thumb.png.2f2142b8e91467c2c7a41a37d47338c9.png

image.thumb.png.7f1af572874cfec9e0c1f205ef7c610c.png

 

Let me know if there's any other logs or information I should provide.

I did a quick Google Search and didn't see anything specific for this "stuck" or "hung" status on "verifying backup". But maybe I didn't look hard enough.

Link to comment

Hi, i got the same error during manual backup, in particular with postgres.

 

Here the logs :

 

[21.04.2024 08:21:51][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D
[21.04.2024 08:21:51][ℹ️][Main] Backing up from: /mnt/user/appdata, /mnt/cache/appdata
[21.04.2024 08:21:51][ℹ️][Main] Backing up to: /mnt/remotes/NASQNAP_BACKUP_UNRAID/ab_20240421_082151
[21.04.2024 08:21:51][ℹ️][Main] Selected containers: PostgreSQL_Immich, Redis, immich
[21.04.2024 08:21:51][ℹ️][Main] Saving container XML files...
[21.04.2024 08:21:51][ℹ️][Main] Method: Stop all container before continuing.
[21.04.2024 08:21:51][ℹ️][immich] Stopping immich... done! (took 4 seconds)
[21.04.2024 08:21:55][ℹ️][PostgreSQL_Immich] Stopping PostgreSQL_Immich... done! (took 1 seconds)
[21.04.2024 08:21:56][ℹ️][Redis] Stopping Redis... done! (took 0 seconds)
[21.04.2024 08:21:56][ℹ️][Main] Starting backup for containers
[21.04.2024 08:21:56][ℹ️][immich] Should NOT backup external volumes, sanitizing them...
[21.04.2024 08:21:56][ℹ️][immich] Calculated volumes to back up: /mnt/user/appdata/immich
[21.04.2024 08:21:56][ℹ️][immich] Backing up immich...
[21.04.2024 08:24:38][ℹ️][immich] Backup created without issues
[21.04.2024 08:24:38][ℹ️][immich] Verifying backup...
[21.04.2024 08:24:52][ℹ️][PostgreSQL_Immich] Should NOT backup external volumes, sanitizing them...
[21.04.2024 08:24:52][ℹ️][PostgreSQL_Immich] Calculated volumes to back up: /mnt/user/appdata/PostgreSQL_Immich
[21.04.2024 08:24:52][ℹ️][PostgreSQL_Immich] Backing up PostgreSQL_Immich...
[21.04.2024 08:25:57][ℹ️][PostgreSQL_Immich] Backup created without issues
[21.04.2024 08:25:57][ℹ️][PostgreSQL_Immich] Verifying backup...
[21.04.2024 08:26:07][][PostgreSQL_Immich] tar verification failed! Tar said: tar: Removing leading `/' from member names; mnt/user/appdata/PostgreSQL_Immich/pg_wal/000000010000000000000053: Contents differ; tar: Skipping to next header; tar: Archive contains '\a\0\0\377\002\177\0\001\0\0\200\020' where numeric off_t value expected; tar: Archive contains '\0\002\0\0\0\0\0L\0\0\0\360' where numeric off_t value expected; tar: Exiting with failure status due to previous errors
[21.04.2024 08:26:08][ℹ️][Redis] Should NOT backup external volumes, sanitizing them...
[21.04.2024 08:26:08][⚠️][Redis] Redis does not have any volume to back up! Skipping. Please consider ignoring this container.
[21.04.2024 08:26:08][ℹ️][Main] Set containers to previous state
[21.04.2024 08:26:08][ℹ️][Redis] Starting Redis... (try #1) done!
[21.04.2024 08:26:10][ℹ️][PostgreSQL_Immich] Starting PostgreSQL_Immich... (try #1) done!
[21.04.2024 08:26:12][ℹ️][immich] Starting immich... (try #1) done!
[21.04.2024 08:26:15][ℹ️][Main] Backing up the flash drive.
[21.04.2024 08:26:51][ℹ️][Main] Flash backup created!
[21.04.2024 08:26:51][ℹ️][Main] VM meta backup enabled! Backing up...
[21.04.2024 08:26:51][ℹ️][Main] Done!
[21.04.2024 08:26:51][⚠️][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.
[21.04.2024 08:26:51][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)
[21.04.2024 08:26:51][ℹ️][Main] ❤️

 

i didnt modify any settings. (i am backuping onto NAS Share).

Link to comment

Is it possible to add a list of backups & their date & file size?

 

Just be easier to track then than manually browsing the backup share.

 

I have it set to keep at least 2x backups but it's keeping 4x with a total size of 1.6TB which is a bit big. 

Link to comment

I use the Appdata backup and run it weekly on Monday, however every Monday I have certain containers that don't work, primarily the ones that are behind a VPN container for the network. 

I've tried to fix this with the proper start order and I use the "Stop, Backup, start for each container" because it seems like it would have the least amount of conflict. Though, I think what's happening is once it gets to the Gluetun VPN container which is required for some other containers, those then break and I have to go and manually restart the containers. 

I might play around with stop all, backup, start instead, but has anyone had this issue and have a way around it? 

The start/stop order seems counter-intuitive. The order defines the start sequence...but then stopping would be that order in reverse? Why? If you're using start, backup, start for each container, why wouldn't it go down the list from top to bottom?

With that methodology the Start order would be bottom to top if you're using the option for each container, if the stop order is reversed...? So the critical containers should be at the bottom, not the top?
 

Edited by Indi
Link to comment

Kinda makes sense as it is for the most important to be at the top.

 

Problem with a VPN container is it'll likely take some time before it's ready, but since there's no delay setting it'll be "started" in a second or 2 then the next is started, but actually it'll need maybe 30 seconds to connect to the VPN and actually be available for others to use...

Link to comment
35 minutes ago, Kilrah said:

Problem with a VPN container is it'll likely take some time before it's ready, but since there's no delay setting it'll be "started" in a second or 2 then the next is started, but actually it'll need maybe 30 seconds to connect to the VPN and actually be available for others to use...

Which is why the Unraid regular container startup has customizable delays between containers.

 

Black start from nothing is easier, partially running start during backup sequence is more complex, it needs even better customizations. Shutdown and startup conditionals and/or delays would be ideal.

 

As an example, for my nextcloud stack I'd like nc to be stopped, wait for it to close completely, stop collabora, stop mariadb. Backup all three. Start mariadb, start collabora, wait for those to be ready to accept connections, start nextcloud.

 

The arr stack is even more complex. The arr's and yt dl need to be stopped, then the nzb, then the torrent and vpn. Startup should be exactly the reverse, with ping conditionals ideal, blind delays acceptable.

  • Upvote 1
Link to comment

Stopping is fine because it doesn't move to the next before the container is stopped and once it's stopped... well it's stopped for real, but on start many take a while for the actual app to start after the container itself is up

 

So yeah having start delays like on the main Docker page would be useful

Edited by Kilrah
  • Upvote 1
Link to comment

For now I moved the VPN containers to the bottom of the list in AppData Backup, so they should stop first...we will see if I can work around this. 

With containers that use a VPN network, anytime the VPN containers restart the containers that rely on it go through a rebuild step, this is what I assume is breaking during the process going out of order. 

If the VPN containers can stop/backup/start first, they should be running and ready to go when they get to the dependant containers. I will see next Monday if it helps. 

I feel like a simple fix for this plugin would be to add backup groups with specific start/stop orders. I could group all the VPN dependant containers together, and then AppData Backup can back these up as I specifically state. Just a thought. 

Link to comment

Is it possible to have a container that was previously stopped when running a backup to be started afterwards?  ClamAV is normally stopped and I'd like for it to be started (and thereby running a scan) once the backup occurs.  Looking at the log, it looks like it must be running already before the backup for it to be started afterwards?

 

"Starting ClamAV is being ignored, because it was not started before"

 

 

[23.04.2024 04:00:01][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D
[23.04.2024 04:00:01][ℹ️][Main] Backing up from: /mnt/user/appdata, /mnt/cache/appdata
[23.04.2024 04:00:01][ℹ️][Main] Backing up to: /mnt/disk1/Backup/UNRAID/ab_20240423_040001
[23.04.2024 04:00:01][ℹ️][Main] Selected containers: ClamAV, Grafana, Influxdb, Zoneminder, homeassistant
[23.04.2024 04:00:01][ℹ️][Main] Saving container XML files...
[23.04.2024 04:00:01][ℹ️][Main] Method: Stop/Backup/Start
[23.04.2024 04:00:01][ℹ️][Grafana] Stopping Grafana... done! (took 2 seconds)
[23.04.2024 04:00:03][ℹ️][Grafana] Should NOT backup external volumes, sanitizing them...
[23.04.2024 04:00:03][ℹ️][Grafana] Calculated volumes to back up: /mnt/user/appdata/grafana
[23.04.2024 04:00:03][ℹ️][Grafana] Backing up Grafana...
[23.04.2024 04:00:03][ℹ️][Grafana] Backup created without issues
[23.04.2024 04:00:03][ℹ️][Grafana] Verifying backup...
[23.04.2024 04:00:03][ℹ️][Grafana] Starting Grafana... (try #1) done!
[23.04.2024 04:00:07][ℹ️][homeassistant] Stopping homeassistant... done! (took 6 seconds)
[23.04.2024 04:00:13][ℹ️][homeassistant] Should NOT backup external volumes, sanitizing them...
[23.04.2024 04:00:13][ℹ️][homeassistant] Calculated volumes to back up: /mnt/user/appdata/homeassistant
[23.04.2024 04:00:13][ℹ️][homeassistant] Backing up homeassistant...
[23.04.2024 04:00:13][ℹ️][homeassistant] Backup created without issues
[23.04.2024 04:00:13][ℹ️][homeassistant] Verifying backup...
[23.04.2024 04:00:13][ℹ️][homeassistant] Starting homeassistant... (try #1) done!
[23.04.2024 04:00:16][ℹ️][Influxdb] Stopping Influxdb... done! (took 1 seconds)
[23.04.2024 04:00:17][ℹ️][Influxdb] '/mnt/user/appdata/influxdb/db2' is within mapped volume '/mnt/user/appdata/influxdb'! Ignoring!
[23.04.2024 04:00:17][ℹ️][Influxdb] Should NOT backup external volumes, sanitizing them...
[23.04.2024 04:00:17][ℹ️][Influxdb] Calculated volumes to back up: /mnt/user/appdata/influxdb
[23.04.2024 04:00:17][ℹ️][Influxdb] Backing up Influxdb...
[23.04.2024 04:00:18][ℹ️][Influxdb] Backup created without issues
[23.04.2024 04:00:18][ℹ️][Influxdb] Verifying backup...
[23.04.2024 04:00:18][ℹ️][Influxdb] Starting Influxdb... (try #1) done!
[23.04.2024 04:00:21][ℹ️][ClamAV] No stopping needed for ClamAV: Not started!
[23.04.2024 04:00:21][ℹ️][ClamAV] Should NOT backup external volumes, sanitizing them...
[23.04.2024 04:00:21][ℹ️][ClamAV] Calculated volumes to back up: /mnt/user/appdata/clamav
[23.04.2024 04:00:21][ℹ️][ClamAV] Backing up ClamAV...
[23.04.2024 04:00:27][ℹ️][ClamAV] Backup created without issues
[23.04.2024 04:00:27][ℹ️][ClamAV] Verifying backup...
[23.04.2024 04:00:28][ℹ️][ClamAV] Starting ClamAV is being ignored, because it was not started before (or should not be started).
[23.04.2024 04:00:28][ℹ️][Zoneminder] Stopping Zoneminder... done! (took 6 seconds)
[23.04.2024 04:00:34][ℹ️][Zoneminder] '/mnt/user/appdata/Zoneminder/data' is within mapped volume '/mnt/user/appdata/Zoneminder'! Ignoring!
[23.04.2024 04:00:34][ℹ️][Zoneminder] Should NOT backup external volumes, sanitizing them...
[23.04.2024 04:00:34][ℹ️][Zoneminder] Calculated volumes to back up: /mnt/user/appdata/Zoneminder
[23.04.2024 04:00:34][ℹ️][Zoneminder] Backing up Zoneminder...
[23.04.2024 04:00:35][ℹ️][Zoneminder] Backup created without issues
[23.04.2024 04:00:35][ℹ️][Zoneminder] Verifying backup...
[23.04.2024 04:00:36][ℹ️][Zoneminder] Starting Zoneminder... (try #1) done!
[23.04.2024 04:00:39][ℹ️][Main] Backing up the flash drive.
[23.04.2024 04:00:51][ℹ️][Main] Flash backup created!
[23.04.2024 04:00:51][ℹ️][Main] VM meta backup enabled! Backing up...
[23.04.2024 04:00:51][ℹ️][Main] Done!
[23.04.2024 04:00:51][ℹ️][Main] Checking retention...
[23.04.2024 04:00:51][ℹ️][Main] Delete old backup: /mnt/disk1/Backup/UNRAID/ab_20240401_040001
[23.04.2024 04:00:51][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)
[23.04.2024 04:00:51][ℹ️][Main] ❤️

 

Link to comment
4 hours ago, Mike Turcotte said:

Is it possible to have a container that was previously stopped when running a backup to be started afterwards?

No, currently not. But you could place a file with the command „docker start ClamAV“ somewhere and set is as post-run script.

  • Like 1
Link to comment
On 4/18/2024 at 10:59 AM, drohack said:

I'm having issues with my Appdata.Backup (v2024.03.17 up-to-date).
I've installed it for the first time and tried having it run overnight. But it got stuck on "[18.04.2024 06:46:58][ℹ️][Plex-Media-Server] Verifying backup..." It was on this step for over 2 hours which seems like that shouldn't be the case.

 

Here's my log after Aborting the flow. (you can see the 2 hour difference when it give the message "[18.04.2024 08:19:39][][Plex-Media-Server] tar verification failed! Tar said: tar: Removing leading `/' from member names"):

[18.04.2024 05:00:02][ℹ️][Main] 👋 WELCOME TO APPDATA.BACKUP!! :D
[18.04.2024 05:00:02][ℹ️][Main] Backing up from: /mnt/user/appdata, /mnt/cache/appdata
[18.04.2024 05:00:02][ℹ️][Main] Backing up to: /mnt/user/backup/ab_20240418_050002
[18.04.2024 05:00:02][ℹ️][Main] Selected containers: FileBrowser, MinecraftBasicServer, NginxProxyManager, Plex-Media-Server, SpeedTest-By-OpenSpeedTest, bazarr-1, binhex-lidarr, binhex-radarr, binhex-sabnzbd, binhex-sonarr, ombi, overseerr, recyclarr, tautulli
[18.04.2024 05:00:02][ℹ️][Main] Saving container XML files...
[18.04.2024 05:00:02][ℹ️][Main] Method: Stop/Backup/Start
[18.04.2024 05:00:02][ℹ️][tautulli] No stopping needed for tautulli: Not started!
[18.04.2024 05:00:02][ℹ️][tautulli] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:02][ℹ️][tautulli] Calculated volumes to back up: /mnt/user/appdata/tautulli
[18.04.2024 05:00:02][ℹ️][tautulli] Backing up tautulli...
[18.04.2024 05:00:03][ℹ️][tautulli] Backup created without issues
[18.04.2024 05:00:03][ℹ️][tautulli] Verifying backup...
[18.04.2024 05:00:03][ℹ️][tautulli] Starting tautulli is being ignored, because it was not started before (or should not be started).
[18.04.2024 05:00:03][ℹ️][SpeedTest-By-OpenSpeedTest] No stopping needed for SpeedTest-By-OpenSpeedTest: Not started!
[18.04.2024 05:00:03][ℹ️][SpeedTest-By-OpenSpeedTest] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:03][⚠️][SpeedTest-By-OpenSpeedTest] SpeedTest-By-OpenSpeedTest does not have any volume to back up! Skipping. Please consider ignoring this container.
[18.04.2024 05:00:03][ℹ️][SpeedTest-By-OpenSpeedTest] Starting SpeedTest-By-OpenSpeedTest is being ignored, because it was not started before (or should not be started).
[18.04.2024 05:00:03][ℹ️][ombi] Stopping ombi... done! (took 14 seconds)
[18.04.2024 05:00:17][ℹ️][ombi] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:17][ℹ️][ombi] Calculated volumes to back up: /mnt/user/appdata/ombi
[18.04.2024 05:00:17][ℹ️][ombi] Backing up ombi...
[18.04.2024 05:00:18][ℹ️][ombi] Backup created without issues
[18.04.2024 05:00:18][ℹ️][ombi] Verifying backup...
[18.04.2024 05:00:18][ℹ️][ombi] Starting ombi... (try #1) done!
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] No stopping needed for MinecraftBasicServer: Not started!
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] Calculated volumes to back up: /mnt/cache/appdata/minecraftbasicserver
[18.04.2024 05:00:32][ℹ️][MinecraftBasicServer] Backing up MinecraftBasicServer...
[18.04.2024 05:01:20][ℹ️][MinecraftBasicServer] Backup created without issues
[18.04.2024 05:01:20][ℹ️][MinecraftBasicServer] Verifying backup...
[18.04.2024 05:03:06][ℹ️][MinecraftBasicServer] Starting MinecraftBasicServer is being ignored, because it was not started before (or should not be started).
[18.04.2024 05:03:06][ℹ️][binhex-sabnzbd] Stopping binhex-sabnzbd... done! (took 6 seconds)
[18.04.2024 05:03:12][ℹ️][binhex-sabnzbd] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:03:12][ℹ️][binhex-sabnzbd] Calculated volumes to back up: /mnt/user/appdata/binhex-sabnzbd
[18.04.2024 05:03:12][ℹ️][binhex-sabnzbd] Backing up binhex-sabnzbd...
[18.04.2024 05:03:13][ℹ️][binhex-sabnzbd] Backup created without issues
[18.04.2024 05:03:13][ℹ️][binhex-sabnzbd] Verifying backup...
[18.04.2024 05:03:13][ℹ️][binhex-sabnzbd] Starting binhex-sabnzbd... (try #1) done!
[18.04.2024 05:03:24][ℹ️][recyclarr] Stopping recyclarr... done! (took 7 seconds)
[18.04.2024 05:03:31][ℹ️][recyclarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:03:31][ℹ️][recyclarr] Calculated volumes to back up: /mnt/user/appdata/recyclarr
[18.04.2024 05:03:31][ℹ️][recyclarr] Backing up recyclarr...
[18.04.2024 05:03:33][ℹ️][recyclarr] Backup created without issues
[18.04.2024 05:03:33][ℹ️][recyclarr] Verifying backup...
[18.04.2024 05:03:34][ℹ️][recyclarr] Starting recyclarr... (try #1) done!
[18.04.2024 05:03:46][ℹ️][overseerr] Stopping overseerr... done! (took 11 seconds)
[18.04.2024 05:03:57][ℹ️][overseerr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:03:57][ℹ️][overseerr] Calculated volumes to back up: /mnt/user/appdata/overseerr
[18.04.2024 05:03:57][ℹ️][overseerr] Backing up overseerr...
[18.04.2024 05:03:59][ℹ️][overseerr] Backup created without issues
[18.04.2024 05:03:59][ℹ️][overseerr] Verifying backup...
[18.04.2024 05:03:59][ℹ️][overseerr] Starting overseerr... (try #1) done!
[18.04.2024 05:04:10][ℹ️][binhex-lidarr] Stopping binhex-lidarr... done! (took 18 seconds)
[18.04.2024 05:04:28][ℹ️][binhex-lidarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:04:28][ℹ️][binhex-lidarr] Calculated volumes to back up: /mnt/user/appdata/binhex-lidarr
[18.04.2024 05:04:28][ℹ️][binhex-lidarr] Backing up binhex-lidarr...
[18.04.2024 05:04:59][ℹ️][binhex-lidarr] Backup created without issues
[18.04.2024 05:04:59][ℹ️][binhex-lidarr] Verifying backup...
[18.04.2024 05:05:05][ℹ️][binhex-lidarr] Starting binhex-lidarr... (try #1) done!
[18.04.2024 05:05:19][ℹ️][bazarr-1] Stopping bazarr-1... done! (took 15 seconds)
[18.04.2024 05:05:34][ℹ️][bazarr-1] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:05:34][ℹ️][bazarr-1] Calculated volumes to back up: /mnt/user/appdata/bazarr-1
[18.04.2024 05:05:34][ℹ️][bazarr-1] Backing up bazarr-1...
[18.04.2024 05:05:38][ℹ️][bazarr-1] Backup created without issues
[18.04.2024 05:05:38][ℹ️][bazarr-1] Verifying backup...
[18.04.2024 05:05:39][ℹ️][bazarr-1] Starting bazarr-1... (try #1) done!
[18.04.2024 05:05:53][ℹ️][binhex-radarr] Stopping binhex-radarr... done! (took 17 seconds)
[18.04.2024 05:06:10][ℹ️][binhex-radarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:06:10][ℹ️][binhex-radarr] Calculated volumes to back up: /mnt/user/appdata/binhex-radarr
[18.04.2024 05:06:10][ℹ️][binhex-radarr] Backing up binhex-radarr...
[18.04.2024 05:10:12][ℹ️][binhex-radarr] Backup created without issues
[18.04.2024 05:10:12][ℹ️][binhex-radarr] Verifying backup...
[18.04.2024 05:26:39][ℹ️][binhex-radarr] Starting binhex-radarr... (try #1) done!
[18.04.2024 05:26:52][ℹ️][binhex-sonarr] Stopping binhex-sonarr... done! (took 9 seconds)
[18.04.2024 05:27:01][ℹ️][binhex-sonarr] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:27:01][ℹ️][binhex-sonarr] Calculated volumes to back up: /mnt/user/appdata/binhex-sonarr
[18.04.2024 05:27:01][ℹ️][binhex-sonarr] Backing up binhex-sonarr...
[18.04.2024 05:28:21][ℹ️][binhex-sonarr] Backup created without issues
[18.04.2024 05:28:21][ℹ️][binhex-sonarr] Verifying backup...
[18.04.2024 05:46:40][ℹ️][binhex-sonarr] Starting binhex-sonarr... (try #1) done!
[18.04.2024 05:46:51][ℹ️][FileBrowser] Stopping FileBrowser... done! (took 5 seconds)
[18.04.2024 05:46:56][ℹ️][FileBrowser] '/mnt/user/appdata/filebrowser/branding' is within mapped volume '/mnt/user/appdata/filebrowser'! Ignoring!
[18.04.2024 05:46:56][ℹ️][FileBrowser] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:46:56][ℹ️][FileBrowser] Calculated volumes to back up: /mnt/user/appdata/filebrowser
[18.04.2024 05:46:56][ℹ️][FileBrowser] Backing up FileBrowser...
[18.04.2024 05:46:56][ℹ️][FileBrowser] Backup created without issues
[18.04.2024 05:46:56][ℹ️][FileBrowser] Verifying backup...
[18.04.2024 05:46:56][ℹ️][FileBrowser] Starting FileBrowser... (try #1) done!
[18.04.2024 05:47:05][ℹ️][NginxProxyManager] Stopping NginxProxyManager... done! (took 7 seconds)
[18.04.2024 05:47:12][ℹ️][NginxProxyManager] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:47:12][ℹ️][NginxProxyManager] Calculated volumes to back up: /mnt/user/appdata/NginxProxyManager
[18.04.2024 05:47:12][ℹ️][NginxProxyManager] Backing up NginxProxyManager...
[18.04.2024 05:47:14][ℹ️][NginxProxyManager] Backup created without issues
[18.04.2024 05:47:14][ℹ️][NginxProxyManager] Verifying backup...
[18.04.2024 05:47:15][ℹ️][NginxProxyManager] Starting NginxProxyManager... (try #1) done!
[18.04.2024 05:47:25][ℹ️][Plex-Media-Server] Stopping Plex-Media-Server... done! (took 13 seconds)
[18.04.2024 05:47:38][ℹ️][Plex-Media-Server] Should NOT backup external volumes, sanitizing them...
[18.04.2024 05:47:38][ℹ️][Plex-Media-Server] Calculated volumes to back up: /mnt/user/appdata/Plex-Media-Server
[18.04.2024 05:47:38][ℹ️][Plex-Media-Server] Backing up Plex-Media-Server...
[18.04.2024 06:46:58][ℹ️][Plex-Media-Server] Backup created without issues
[18.04.2024 06:46:58][ℹ️][Plex-Media-Server] Verifying backup...
[18.04.2024 08:19:39][][Plex-Media-Server] tar verification failed! Tar said: tar: Removing leading `/' from member names
[18.04.2024 08:25:03][ℹ️][Plex-Media-Server] Backing up the flash drive.
[18.04.2024 08:25:57][ℹ️][Plex-Media-Server] Flash backup created!
[18.04.2024 08:25:57][⚠️][Main] Backup cancelled! Executing final things. You will be left behind with the current state!
[18.04.2024 08:25:57][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)
[18.04.2024 08:25:57][ℹ️][Main] ❤️


I'm not sure the best way to post my settings:
image.thumb.png.2f2142b8e91467c2c7a41a37d47338c9.png

image.thumb.png.7f1af572874cfec9e0c1f205ef7c610c.png

 

Let me know if there's any other logs or information I should provide.

I did a quick Google Search and didn't see anything specific for this "stuck" or "hung" status on "verifying backup". But maybe I didn't look hard enough.

I am also getting the tar verification error on several container backups:

 [23.04.2024 05:11:55][?][nzbhydra2] tar verification failed! Tar said: tar: Removing leading `/' from member names; ; gzip: stdin: invalid compressed data--crc error; mnt/cache/appdata/nzbhydra2/backup/nzbhydra-2024-04-21 07-02-59.zip: Contents differ; tar: Child returned status 1; tar: Error is not recoverable: exiting now

Is this a user or container issue or a problem with the plugin?

Edited by weirdcrap
Link to comment
On 4/12/2024 at 5:58 AM, blaine07 said:

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

No wonder this got ignored - I forgot to put bottom line:

 

'/usr/mnt/cache/appdata called mongodb-temp' does NOT exist! Please check your mappings! Skipping for now.

But mongo is skipped, as well as Tailscale that recently started doing the same thing - any advice?

 

Edited by blaine07
Link to comment

I've been having issues getting a successful backup. I tried excluding things and all changing the order of things.... but never had luck. Now, I decided to simply stop ALL dockers before running the backup, and it still failed. A number of files changed somehow? And some other strange errors. 7 total failures.

 

I have quite a lot of images installed, but I figured with NOTHING running, it should complete successfully. Mover isn't running either, not that it should be moving appdata files anyway..

 

Any protips? Debug log: a5598295-47ea-4c73-b1c7-909c1dc1ea3a

Link to comment

Am I correct to note that it does not backup appdata of containers that are currently not created? Thus for instance, I have docker-compose files of stacks that I do not always wish to use. But I do want to have their Appdata part of the most recent backup.

I guess it'd be much smarter to have a script run at night, stop docker, copy the complete appdata folder to my backup location, and restart docker?

Link to comment
Posted (edited)

The plugin's working great but I don't understand the rationale for a warning for "no internal mappings."

 

In theory if I set the container to skip the only difference is the warning!

 

But in practice that's not the only difference:

I have a container with no internal mapping as part of a group (because its start order is important.)

If I set it to skip it's not restarted so it loses communication with the container it depends on, which is.

If I don't, I get the warning.

 

Is there an approved way to handle that?

 

I come back to the warning though - plenty of containers with no "appdata" so why warn about a normal condition? Maybe something I'm missing.

Edited by CS01-HS
Link to comment

Hello, can anyone help with this?

 

I aborted the backup because it was getting huge (I had to exclude some things).  After making the changes, it created a backup.  I then tried to delete the bad backup that is +14gb with the "-failed" name and it won't let me delete it.  It has the r-x permissions.  How do I delete this?  I'm using binhex-krusader as a file editor.

nowritepermissioninfile.jpg.e12a2672236d9ef0811b9560f01f4e98.jpg

Link to comment
On 5/7/2024 at 7:48 PM, tr3bjockey said:

How do I delete this?

A file browser's built it.

Go to shares in the top menu and navigate to the file then use the file menu to delete or change permissions.

Link to comment

Ive been having issues with backup completing since a update a while back. Ive deleted this file and then next time it picks out another file in plex that it has this same issue with ive done this about 8 times now to no avail . Hopefully someone can give me a idea why this keeps happening with only plex.image.thumb.png.1b27551e37985c3ed01f3912492bc3f7.png

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.

×
×
  • Create New...