[Plugin] CA Appdata Backup / Restore v2.5


KluthR

Recommended Posts

Since yesterday my appdata backup is not working anymore. I changed nothing, only the Plugin is updated automatically. Any ideas? Is this something expected at the moment?

 

LOGS:

Spoiler

Dec 28 14:00:01 Unraid CA Backup/Restore: #######################################
Dec 28 14:00:01 Unraid CA Backup/Restore: Community Applications appData Backup
Dec 28 14:00:01 Unraid CA Backup/Restore: Applications will be unavailable during
Dec 28 14:00:01 Unraid CA Backup/Restore: this process.  They will automatically
Dec 28 14:00:01 Unraid CA Backup/Restore: be restarted upon completion.
Dec 28 14:00:01 Unraid CA Backup/Restore: #######################################
Dec 28 14:00:01 Unraid CA Backup/Restore: Backup of appData starting. This may take awhile
Dec 28 14:00:01 Unraid CA Backup/Restore: AdGuard-Home set to not be stopped by ca backup's advanced settings. Skipping
Dec 28 14:00:01 Unraid CA Backup/Restore: Stopping bazarr... 
Dec 28 14:00:07 Unraid CA Backup/Restore: done! (took 6 seconds)
Dec 28 14:00:07 Unraid CA Backup/Restore: Not stopping binhex-lidarr: Not started! [ / Exited (0) 6 months ago]
Dec 28 14:00:07 Unraid CA Backup/Restore: Stopping binhex-radarr... 
Dec 28 14:00:08 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 28 14:00:08 Unraid CA Backup/Restore: Stopping binhex-sonarr... 
Dec 28 14:00:09 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 28 14:00:09 Unraid CA Backup/Restore: Not stopping calibre: Not started! [ / Created]
Dec 28 14:00:09 Unraid CA Backup/Restore: Not stopping calibre-web: Not started! [ / Created]
Dec 28 14:00:09 Unraid CA Backup/Restore: Stopping deconz... 
Dec 28 14:00:19 Unraid CA Backup/Restore: done! (took 10 seconds)
Dec 28 14:00:19 Unraid CA Backup/Restore: Not stopping DiskSpeed: Not started! [ / Created]
Dec 28 14:00:19 Unraid CA Backup/Restore: Not stopping Dozzle: Not started! [ / Created]
Dec 28 14:00:19 Unraid CA Backup/Restore: Stopping duckdns... 
Dec 28 14:00:23 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 28 14:00:23 Unraid CA Backup/Restore: Stopping duplicati... 
Dec 28 14:00:28 Unraid CA Backup/Restore: done! (took 5 seconds)
Dec 28 14:00:28 Unraid CA Backup/Restore: Stopping endlessh... 
Dec 28 14:00:32 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 28 14:00:32 Unraid CA Backup/Restore: Stopping GluetunVPN... 
Dec 28 14:00:33 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 28 14:00:33 Unraid CA Backup/Restore: Stopping Influxdb... 
Dec 28 14:00:33 Unraid CA Backup/Restore: done! (took 0 seconds)
Dec 28 14:00:33 Unraid CA Backup/Restore: Stopping iobroker... 
Dec 28 14:00:36 Unraid CA Backup/Restore: done! (took 3 seconds)
Dec 28 14:00:36 Unraid CA Backup/Restore: Stopping JDownloader2... 
Dec 28 14:00:38 Unraid CA Backup/Restore: done! (took 2 seconds)
Dec 28 14:00:38 Unraid CA Backup/Restore: Not stopping Krusader: Not started! [ / Exited (143) 3 weeks ago]
Dec 28 14:00:38 Unraid CA Backup/Restore: Stopping mariadb_kodi... 
Dec 28 14:00:43 Unraid CA Backup/Restore: done! (took 5 seconds)
Dec 28 14:00:43 Unraid CA Backup/Restore: Not stopping nordvpn: Not started! [ / Created]
Dec 28 14:00:43 Unraid CA Backup/Restore: Stopping nzbget... 
Dec 28 14:00:47 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 28 14:00:47 Unraid CA Backup/Restore: Stopping paperless-ng... 
Dec 28 14:00:51 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 28 14:00:51 Unraid CA Backup/Restore: Stopping PhotoPrism... 
Dec 28 14:00:51 Unraid CA Backup/Restore: done! (took 0 seconds)
Dec 28 14:00:51 Unraid CA Backup/Restore: Not stopping phpmyadmin: Not started! [ / Created]
Dec 28 14:00:51 Unraid CA Backup/Restore: Stopping Redis... 
Dec 28 14:00:52 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 28 14:00:52 Unraid CA Backup/Restore: Not stopping scrutiny: Not started! [ / Created]
Dec 28 14:00:52 Unraid CA Backup/Restore: Stopping speedtest-tracker... 
Dec 28 14:00:56 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 28 14:00:56 Unraid CA Backup/Restore: Stopping unifi-controller... 
Dec 28 14:01:03 Unraid CA Backup/Restore: done! (took 7 seconds)
Dec 28 14:01:03 Unraid CA Backup/Restore: Stopping UptimeKuma... 
Dec 28 14:01:07 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 28 14:01:07 Unraid CA Backup/Restore: Backing Up appData from /mnt/user/appdata/ to /mnt/user/Backups/backup_unraid_appdata/[email protected]
Dec 28 14:01:07 Unraid CA Backup/Restore: Separate archives disabled! Saving into one file.
Dec 28 14:01:07 Unraid CA Backup/Restore: Using command: cd '/mnt/user/appdata/' && /usr/bin/tar -caf '/mnt/user/Backups/backup_unraid_appdata/[email protected]/CA_backup.tar.gz'  --exclude "photoprism"  . >> /var/lib/docker/unraid/ca.backup2.datastore/appdata_backup.log 2>&1 & echo $! > /tmp/ca.backup2/tempFiles/backupInProgress && wait $!
Dec 28 14:01:07 Unraid CA Backup/Restore: Backing Up
Dec 28 14:39:59 Unraid CA Backup/Restore: Backup Complete
Dec 28 14:39:59 Unraid CA Backup/Restore: Verifying Backup 
Dec 28 14:39:59 Unraid CA Backup/Restore: Using command: cd '/mnt/user/appdata/' && /usr/bin/tar --diff -C '/mnt/user/appdata/' -af '/mnt/user/Backups/backup_unraid_appdata/[email protected]/CA_backup.tar.gz' >> /var/lib/docker/unraid/ca.backup2.datastore/appdata_backup.log 2>&1 & echo $! > /tmp/ca.backup2/tempFiles/verifyInProgress && wait $!
Dec 28 14:52:19 Unraid CA Backup/Restore: tar verify failed!
Dec 28 14:52:19 Unraid CA Backup/Restore: done
Dec 28 14:52:19 Unraid CA Backup/Restore: Starting GluetunVPN... (try #1) 
Dec 28 14:52:20 Unraid CA Backup/Restore: done!
Dec 28 14:52:22 Unraid CA Backup/Restore: Starting duplicati... (try #1) 
Dec 28 14:52:22 Unraid CA Backup/Restore: done!
Dec 28 14:52:24 Unraid CA Backup/Restore: Starting duckdns... (try #1) 
Dec 28 14:52:25 Unraid CA Backup/Restore: done!
Dec 28 14:52:27 Unraid CA Backup/Restore: Starting endlessh... (try #1) 
Dec 28 14:52:28 Unraid CA Backup/Restore: done!
Dec 28 14:52:30 Unraid CA Backup/Restore: Starting nzbget... (try #1) 
Dec 28 14:52:30 Unraid CA Backup/Restore: done!
Dec 28 14:52:32 Unraid CA Backup/Restore: Starting binhex-sonarr... (try #1) 
Dec 28 14:52:32 Unraid CA Backup/Restore: done!
Dec 28 14:52:34 Unraid CA Backup/Restore: Starting binhex-radarr... (try #1) 
Dec 28 14:52:34 Unraid CA Backup/Restore: done!
Dec 28 14:52:36 Unraid CA Backup/Restore: Starting bazarr... (try #1) 
Dec 28 14:52:37 Unraid CA Backup/Restore: done!
Dec 28 14:52:39 Unraid CA Backup/Restore: Starting JDownloader2... (try #1) 
Dec 28 14:52:39 Unraid CA Backup/Restore: done!
Dec 28 14:52:41 Unraid CA Backup/Restore: Starting deconz... (try #1) 
Dec 28 14:52:41 Unraid CA Backup/Restore: done!
Dec 28 14:52:43 Unraid CA Backup/Restore: Starting iobroker... (try #1) 
Dec 28 14:52:44 Unraid CA Backup/Restore: done!
Dec 28 14:52:46 Unraid CA Backup/Restore: Starting unifi-controller... (try #1) 
Dec 28 14:52:47 Unraid CA Backup/Restore: done!
Dec 28 14:52:49 Unraid CA Backup/Restore: Starting UptimeKuma... (try #1) 
Dec 28 14:52:49 Unraid CA Backup/Restore: done!
Dec 28 14:52:51 Unraid CA Backup/Restore: Starting speedtest-tracker... (try #1) 
Dec 28 14:52:52 Unraid CA Backup/Restore: done!
Dec 28 14:52:54 Unraid CA Backup/Restore: Starting PhotoPrism... (try #1) 
Dec 28 14:52:54 Unraid CA Backup/Restore: Hmm - container is already started! DEBUG Info following...
Dec 28 14:52:54 Unraid CA Backup/Restore: BEFORE backing up container status: {"Image":"photoprism\/photoprism:latest","ImageId":"e6f531bbf1b0","Name":"PhotoPrism","Status":"Up 23 hours","Running":true,"Paused":false,"Cmd":"\/scripts\/entrypoint.sh \/opt\/photoprism\/bin\/photoprism start","Id":"daca609e43ac","Volumes":["\/mnt\/cache\/appdata\/photoprism:\/photoprism\/storage:rw","\/mnt\/user\/Fotos\/:\/photoprism\/originals:rw"],"Created":"1 month ago","NetworkMode":"bridge","CPUset":"","BaseImage":false,"Icon":"https:\/\/raw.githubusercontent.com\/ich777\/docker-templates\/master\/ich777\/images\/photoprism.png","Url":"http:\/\/[IP]:[PORT:2342]\/","Shell":false,"Ports":[{"IP":"172.17.0.8","PrivatePort":"2342","PublicPort":"2342","NAT":true,"Type":"tcp"}]}
Dec 28 14:52:55 Unraid CA Backup/Restore: AFTER backing up container status: {"Image":"photoprism\/photoprism:latest","ImageId":"e6f531bbf1b0","Name":"PhotoPrism","Status":"Up 30 minutes","Running":true,"Paused":false,"Cmd":"\/scripts\/entrypoint.sh \/opt\/photoprism\/bin\/photoprism start","Id":"daca609e43ac","Volumes":["\/mnt\/cache\/appdata\/photoprism:\/photoprism\/storage:rw","\/mnt\/user\/Fotos\/:\/photoprism\/originals:rw"],"Created":"1 month ago","NetworkMode":"bridge","CPUset":"","BaseImage":false,"Icon":"https:\/\/raw.githubusercontent.com\/ich777\/docker-templates\/master\/ich777\/images\/photoprism.png","Url":"http:\/\/[IP]:[PORT:2342]\/","Shell":false,"Ports":[{"IP":"172.17.0.2","PrivatePort":"2342","PublicPort":"2342","NAT":true,"Type":"tcp"}]}
Dec 28 14:52:57 Unraid CA Backup/Restore: Starting paperless-ng... (try #1) 
Dec 28 14:52:57 Unraid CA Backup/Restore: done!
Dec 28 14:52:59 Unraid CA Backup/Restore: Starting Redis... (try #1) 
Dec 28 14:53:00 Unraid CA Backup/Restore: done!
Dec 28 14:53:02 Unraid CA Backup/Restore: Starting mariadb_kodi... (try #1) 
Dec 28 14:53:03 Unraid CA Backup/Restore: done!
Dec 28 14:53:05 Unraid CA Backup/Restore: Starting Influxdb... (try #1) 
Dec 28 14:53:05 Unraid CA Backup/Restore: done!
Dec 28 14:53:07 Unraid CA Backup/Restore: #######################
Dec 28 14:53:07 Unraid CA Backup/Restore: appData Backup complete
Dec 28 14:53:07 Unraid CA Backup/Restore: #######################
Dec 28 14:53:08 Unraid CA Backup/Restore: A error occurred somewhere. Not deleting old backup sets of appdata
Dec 28 14:53:08 Unraid CA Backup/Restore: Backup / Restore Completed
Dec 29 14:00:01 Unraid CA Backup/Restore: #######################################
Dec 29 14:00:01 Unraid CA Backup/Restore: Community Applications appData Backup
Dec 29 14:00:01 Unraid CA Backup/Restore: Applications will be unavailable during
Dec 29 14:00:01 Unraid CA Backup/Restore: this process.  They will automatically
Dec 29 14:00:01 Unraid CA Backup/Restore: be restarted upon completion.
Dec 29 14:00:01 Unraid CA Backup/Restore: #######################################
Dec 29 14:00:01 Unraid CA Backup/Restore: Backup of appData starting. This may take awhile
Dec 29 14:00:01 Unraid CA Backup/Restore: AdGuard-Home set to not be stopped by ca backup's advanced settings. Skipping
Dec 29 14:00:01 Unraid CA Backup/Restore: Stopping bazarr... 
Dec 29 14:00:07 Unraid CA Backup/Restore: done! (took 6 seconds)
Dec 29 14:00:07 Unraid CA Backup/Restore: Not stopping binhex-lidarr: Not started! [ / Exited (0) 6 months ago]
Dec 29 14:00:07 Unraid CA Backup/Restore: Stopping binhex-radarr... 
Dec 29 14:00:07 Unraid CA Backup/Restore: done! (took 0 seconds)
Dec 29 14:00:07 Unraid CA Backup/Restore: Stopping binhex-sonarr... 
Dec 29 14:00:07 Unraid CA Backup/Restore: done! (took 0 seconds)
Dec 29 14:00:07 Unraid CA Backup/Restore: Not stopping calibre: Not started! [ / Created]
Dec 29 14:00:08 Unraid CA Backup/Restore: Not stopping calibre-web: Not started! [ / Created]
Dec 29 14:00:08 Unraid CA Backup/Restore: Stopping deconz... 
Dec 29 14:00:09 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 29 14:00:09 Unraid CA Backup/Restore: Not stopping DiskSpeed: Not started! [ / Created]
Dec 29 14:00:09 Unraid CA Backup/Restore: Not stopping Dozzle: Not started! [ / Created]
Dec 29 14:00:09 Unraid CA Backup/Restore: Stopping duckdns... 
Dec 29 14:00:13 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:13 Unraid CA Backup/Restore: Stopping duplicati... 
Dec 29 14:00:18 Unraid CA Backup/Restore: done! (took 5 seconds)
Dec 29 14:00:18 Unraid CA Backup/Restore: Stopping endlessh... 
Dec 29 14:00:22 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:22 Unraid CA Backup/Restore: Stopping GluetunVPN... 
Dec 29 14:00:23 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 29 14:00:23 Unraid CA Backup/Restore: Stopping Influxdb... 
Dec 29 14:00:23 Unraid CA Backup/Restore: done! (took 0 seconds)
Dec 29 14:00:23 Unraid CA Backup/Restore: Stopping iobroker... 
Dec 29 14:00:26 Unraid CA Backup/Restore: done! (took 3 seconds)
Dec 29 14:00:26 Unraid CA Backup/Restore: Stopping JDownloader2... 
Dec 29 14:00:27 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 29 14:00:27 Unraid CA Backup/Restore: Not stopping Krusader: Not started! [ / Exited (143) 3 weeks ago]
Dec 29 14:00:27 Unraid CA Backup/Restore: Stopping mariadb_kodi... 
Dec 29 14:00:31 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:31 Unraid CA Backup/Restore: Not stopping nordvpn: Not started! [ / Created]
Dec 29 14:00:32 Unraid CA Backup/Restore: Stopping nzbget... 
Dec 29 14:00:36 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:36 Unraid CA Backup/Restore: Stopping paperless-ng... 
Dec 29 14:00:40 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:40 Unraid CA Backup/Restore: Stopping PhotoPrism... 
Dec 29 14:00:40 Unraid CA Backup/Restore: done! (took 0 seconds)
Dec 29 14:00:40 Unraid CA Backup/Restore: Not stopping phpmyadmin: Not started! [ / Created]
Dec 29 14:00:40 Unraid CA Backup/Restore: Stopping Redis... 
Dec 29 14:00:41 Unraid CA Backup/Restore: done! (took 1 seconds)
Dec 29 14:00:41 Unraid CA Backup/Restore: Not stopping scrutiny: Not started! [ / Created]
Dec 29 14:00:41 Unraid CA Backup/Restore: Stopping speedtest-tracker... 
Dec 29 14:00:45 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:45 Unraid CA Backup/Restore: Stopping unifi-controller... 
Dec 29 14:00:52 Unraid CA Backup/Restore: done! (took 7 seconds)
Dec 29 14:00:52 Unraid CA Backup/Restore: Stopping UptimeKuma... 
Dec 29 14:00:56 Unraid CA Backup/Restore: done! (took 4 seconds)
Dec 29 14:00:56 Unraid CA Backup/Restore: Backing Up appData from /mnt/user/appdata/ to /mnt/user/Backups/backup_unraid_appdata/[email protected]
Dec 29 14:00:56 Unraid CA Backup/Restore: Separate archives disabled! Saving into one file.
Dec 29 14:00:56 Unraid CA Backup/Restore: Using command: cd '/mnt/user/appdata/' && /usr/bin/tar -caf '/mnt/user/Backups/backup_unraid_appdata/[email protected]/CA_backup.tar.gz'  --exclude "photoprism"  . >> /var/lib/docker/unraid/ca.backup2.datastore/appdata_backup.log 2>&1 & echo $! > /tmp/ca.backup2/tempFiles/backupInProgress && wait $!
Dec 29 14:00:56 Unraid CA Backup/Restore: Backing Up
Dec 29 14:39:30 Unraid CA Backup/Restore: Backup Complete
Dec 29 14:39:30 Unraid CA Backup/Restore: Verifying Backup 
Dec 29 14:39:30 Unraid CA Backup/Restore: Using command: cd '/mnt/user/appdata/' && /usr/bin/tar --diff -C '/mnt/user/appdata/' -af '/mnt/user/Backups/backup_unraid_appdata/[email protected]/CA_backup.tar.gz' >> /var/lib/docker/unraid/ca.backup2.datastore/appdata_backup.log 2>&1 & echo $! > /tmp/ca.backup2/tempFiles/verifyInProgress && wait $!
Dec 29 14:51:20 Unraid CA Backup/Restore: tar verify failed!
Dec 29 14:51:20 Unraid CA Backup/Restore: done
Dec 29 14:51:20 Unraid CA Backup/Restore: Starting GluetunVPN... (try #1) 
Dec 29 14:51:21 Unraid CA Backup/Restore: done!
Dec 29 14:51:23 Unraid CA Backup/Restore: Starting duplicati... (try #1) 
Dec 29 14:51:24 Unraid CA Backup/Restore: done!
Dec 29 14:51:26 Unraid CA Backup/Restore: Starting duckdns... (try #1) 
Dec 29 14:51:26 Unraid CA Backup/Restore: done!
Dec 29 14:51:28 Unraid CA Backup/Restore: Starting endlessh... (try #1) 
Dec 29 14:51:28 Unraid CA Backup/Restore: done!
Dec 29 14:51:30 Unraid CA Backup/Restore: Starting nzbget... (try #1) 
Dec 29 14:51:30 Unraid CA Backup/Restore: done!
Dec 29 14:51:32 Unraid CA Backup/Restore: Starting binhex-sonarr... (try #1) 
Dec 29 14:51:33 Unraid CA Backup/Restore: done!
Dec 29 14:51:35 Unraid CA Backup/Restore: Starting binhex-radarr... (try #1) 
Dec 29 14:51:35 Unraid CA Backup/Restore: done!
Dec 29 14:51:37 Unraid CA Backup/Restore: Starting bazarr... (try #1) 
Dec 29 14:51:37 Unraid CA Backup/Restore: done!
Dec 29 14:51:39 Unraid CA Backup/Restore: Starting JDownloader2... (try #1) 
Dec 29 14:51:39 Unraid CA Backup/Restore: done!
Dec 29 14:51:41 Unraid CA Backup/Restore: Starting deconz... (try #1) 
Dec 29 14:51:42 Unraid CA Backup/Restore: done!
Dec 29 14:51:44 Unraid CA Backup/Restore: Starting iobroker... (try #1) 
Dec 29 14:51:45 Unraid CA Backup/Restore: done!
Dec 29 14:51:47 Unraid CA Backup/Restore: Starting unifi-controller... (try #1) 
Dec 29 14:51:47 Unraid CA Backup/Restore: done!
Dec 29 14:51:49 Unraid CA Backup/Restore: Starting UptimeKuma... (try #1) 
Dec 29 14:51:50 Unraid CA Backup/Restore: done!
Dec 29 14:51:52 Unraid CA Backup/Restore: Starting speedtest-tracker... (try #1) 
Dec 29 14:51:53 Unraid CA Backup/Restore: done!
Dec 29 14:51:55 Unraid CA Backup/Restore: Starting PhotoPrism... (try #1) 
Dec 29 14:51:56 Unraid CA Backup/Restore: done!
Dec 29 14:51:58 Unraid CA Backup/Restore: Starting paperless-ng... (try #1) 
Dec 29 14:51:59 Unraid CA Backup/Restore: done!
Dec 29 14:52:01 Unraid CA Backup/Restore: Starting Redis... (try #1) 
Dec 29 14:52:01 Unraid CA Backup/Restore: done!
Dec 29 14:52:03 Unraid CA Backup/Restore: Starting mariadb_kodi... (try #1) 
Dec 29 14:52:04 Unraid CA Backup/Restore: done!
Dec 29 14:52:06 Unraid CA Backup/Restore: Starting Influxdb... (try #1) 
Dec 29 14:52:07 Unraid CA Backup/Restore: done!
Dec 29 14:52:09 Unraid CA Backup/Restore: #######################
Dec 29 14:52:09 Unraid CA Backup/Restore: appData Backup complete
Dec 29 14:52:09 Unraid CA Backup/Restore: #######################
Dec 29 14:52:10 Unraid CA Backup/Restore: A error occurred somewhere. Not deleting old backup sets of appdata
Dec 29 14:52:10 Unraid CA Backup/Restore: Backup / Restore Completed

 

Thanks in advance for any help.

 

BR

Marc

Edited by monarc
Link to comment

Hey KluthR, Thanks for all you do! Since updating from the deprecated ver. Ive been continually getting the " "File changed as we read it" or "Contents differ" (during verification) " I just now tried changing the setting to yes on the compression, verify backup and Create separate archives. Ran another backup and it looks like its failing on the  Backing Up: docker.img, /usr/bin/tar: docker.img: file changed as we read it. I know you mentioned it at the header of the forum. But as far as I can tell, all of the dockers are shut while backing up, So im not sure what its referring to. Any help with this is appreciated. Below is the backup logs.

 

[29.12.2022 13:31:05] Backup of appData starting. This may take awhile
[29.12.2022 13:31:05] Stopping binhex-overseerr... done! (took 1 seconds)
[29.12.2022 13:31:06] Stopping binhex-plexpass... done! (took 2 seconds)
[29.12.2022 13:31:08] Stopping binhex-radarr... done! (took 0 seconds)
[29.12.2022 13:31:08] Stopping binhex-sabnzbd... done! (took 1 seconds)
[29.12.2022 13:31:09] Stopping binhex-sonarr... done! (took 0 seconds)
[29.12.2022 13:31:09] Stopping SpeedTest-By-OpenSpeedTest... done! (took 11 seconds)
[29.12.2022 13:31:20] Stopping speedtest-tracker... done! (took 4 seconds)
[29.12.2022 13:31:24] Backing Up appData from /mnt/cache/AppData/ to /mnt/user/Backups/[email protected]
[29.12.2022 13:31:24] Separate archives enabled!
[29.12.2022 13:31:24] Ignoring: .
[29.12.2022 13:31:24] Ignoring: ..
[29.12.2022 13:31:24] Ignoring: binhex-nzbget
[29.12.2022 13:31:24] Backing Up: binhex-overseerr
[29.12.2022 13:31:24] Verifying Backup binhex-overseerr
[29.12.2022 13:31:24] Backing Up: binhex-plexpass
[29.12.2022 13:35:54] Verifying Backup binhex-plexpass
[29.12.2022 13:37:55] Backing Up: binhex-radarr
[29.12.2022 13:38:27] Verifying Backup binhex-radarr
[29.12.2022 13:38:45] Backing Up: binhex-sabnzbd
[29.12.2022 13:38:46] Verifying Backup binhex-sabnzbd
[29.12.2022 13:38:46] Backing Up: binhex-sonarr
[29.12.2022 13:38:55] Verifying Backup binhex-sonarr
[29.12.2022 13:38:57] Backing Up: docker.img
/usr/bin/tar: docker.img: file changed as we read it
[29.12.2022 13:42:45] tar creation/extraction failed!
[29.12.2022 13:42:45] Backing Up: speedtest-tracker
[29.12.2022 13:42:45] Verifying Backup speedtest-tracker
[29.12.2022 13:42:45] done
[29.12.2022 13:42:45] Searching for updates to docker applications
[29.12.2022 13:42:51] Starting binhex-overseerr... (try #1) done!
[29.12.2022 13:42:54] Starting binhex-plexpass... (try #1) done!
[29.12.2022 13:42:56] Starting binhex-radarr... (try #1) done!
[29.12.2022 13:42:58] Starting binhex-sabnzbd... (try #1) done!
[29.12.2022 13:43:01] Starting binhex-sonarr... (try #1) done!
[29.12.2022 13:43:03] Starting SpeedTest-By-OpenSpeedTest... (try #1) done!
[29.12.2022 13:43:05] Starting speedtest-tracker... (try #1) done!
[29.12.2022 13:43:07] A error occurred somewhere. Not deleting old backup sets of appdata
[29.12.2022 13:43:07] Backup / Restore Completed 

  • Upvote 1
Link to comment
32 minutes ago, KluthR said:

Docker.img does not need being backed up.

 

 

Thanks again for getting back to me, Is this something that I can disable to prevent it from failing? I dont see it anywhere

 

Edit. I believe I figured that out, I added the file location of the docker.img to the exclude section. 

Edited by Lazirus33
Link to comment
13 hours ago, KluthR said:

Open CA Appdata backup settings and open the 3rd tab.

You can find them in my initial post already, extracted from the unraid logs for the last two runs, but here you go, the logs from the 3rd tab... 

 

[29.12.2022 14:00:01] Backup of appData starting. This may take awhile
[29.12.2022 14:00:01] AdGuard-Home set to not be stopped by ca backup's advanced settings. Skipping
[29.12.2022 14:00:01] Stopping bazarr... done! (took 6 seconds)
[29.12.2022 14:00:07] Not stopping binhex-lidarr: Not started! [ / Exited (0) 6 months ago]
[29.12.2022 14:00:07] Stopping binhex-radarr... done! (took 0 seconds)
[29.12.2022 14:00:07] Stopping binhex-sonarr... done! (took 0 seconds)
[29.12.2022 14:00:07] Not stopping calibre: Not started! [ / Created]
[29.12.2022 14:00:08] Not stopping calibre-web: Not started! [ / Created]
[29.12.2022 14:00:08] Stopping deconz... done! (took 1 seconds)
[29.12.2022 14:00:09] Not stopping DiskSpeed: Not started! [ / Created]
[29.12.2022 14:00:09] Not stopping Dozzle: Not started! [ / Created]
[29.12.2022 14:00:09] Stopping duckdns... done! (took 4 seconds)
[29.12.2022 14:00:13] Stopping duplicati... done! (took 5 seconds)
[29.12.2022 14:00:18] Stopping endlessh... done! (took 4 seconds)
[29.12.2022 14:00:22] Stopping GluetunVPN... done! (took 1 seconds)
[29.12.2022 14:00:23] Stopping Influxdb... done! (took 0 seconds)
[29.12.2022 14:00:23] Stopping iobroker... done! (took 3 seconds)
[29.12.2022 14:00:26] Stopping JDownloader2... done! (took 1 seconds)
[29.12.2022 14:00:27] Not stopping Krusader: Not started! [ / Exited (143) 3 weeks ago]
[29.12.2022 14:00:27] Stopping mariadb_kodi... done! (took 4 seconds)
[29.12.2022 14:00:31] Not stopping nordvpn: Not started! [ / Created]
[29.12.2022 14:00:32] Stopping nzbget... done! (took 4 seconds)
[29.12.2022 14:00:36] Stopping paperless-ng... done! (took 4 seconds)
[29.12.2022 14:00:40] Stopping PhotoPrism... done! (took 0 seconds)
[29.12.2022 14:00:40] Not stopping phpmyadmin: Not started! [ / Created]
[29.12.2022 14:00:40] Stopping Redis... done! (took 1 seconds)
[29.12.2022 14:00:41] Not stopping scrutiny: Not started! [ / Created]
[29.12.2022 14:00:41] Stopping speedtest-tracker... done! (took 4 seconds)
[29.12.2022 14:00:45] Stopping unifi-controller... done! (took 7 seconds)
[29.12.2022 14:00:52] Stopping UptimeKuma... done! (took 4 seconds)
[29.12.2022 14:00:56] Backing Up appData from /mnt/user/appdata/ to /mnt/user/Backups/backup_unraid_appdata/[email protected]
[29.12.2022 14:00:56] Separate archives disabled! Saving into one file.
[29.12.2022 14:00:56] Backing Up
[29.12.2022 14:39:30] Verifying Backup
./adguard_home/workingdir/data/querylog.json: Mod time differs
./adguard_home/workingdir/data/querylog.json: Size differs
[29.12.2022 14:51:20] tar verify failed!
[29.12.2022 14:51:20] done
[29.12.2022 14:51:20] Starting GluetunVPN... (try #1) done!
[29.12.2022 14:51:23] Starting duplicati... (try #1) done!
[29.12.2022 14:51:26] Starting duckdns... (try #1) done!
[29.12.2022 14:51:28] Starting endlessh... (try #1) done!
[29.12.2022 14:51:30] Starting nzbget... (try #1) done!
[29.12.2022 14:51:32] Starting binhex-sonarr... (try #1) done!
[29.12.2022 14:51:35] Starting binhex-radarr... (try #1) done!
[29.12.2022 14:51:37] Starting bazarr... (try #1) done!
[29.12.2022 14:51:39] Starting JDownloader2... (try #1) done!
[29.12.2022 14:51:41] Starting deconz... (try #1) done!
[29.12.2022 14:51:44] Starting iobroker... (try #1) done!
[29.12.2022 14:51:47] Starting unifi-controller... (try #1) done!
[29.12.2022 14:51:49] Starting UptimeKuma... (try #1) done!
[29.12.2022 14:51:52] Starting speedtest-tracker... (try #1) done!
[29.12.2022 14:51:55] Starting PhotoPrism... (try #1) done!
[29.12.2022 14:51:58] Starting paperless-ng... (try #1) done!
[29.12.2022 14:52:01] Starting Redis... (try #1) done!
[29.12.2022 14:52:03] Starting mariadb_kodi... (try #1) done!
[29.12.2022 14:52:06] Starting Influxdb... (try #1) done!
[29.12.2022 14:52:10] A error occurred somewhere. Not deleting old backup sets of appdata
[29.12.2022 14:52:10] Backup / Restore Completed

Link to comment
13 minutes ago, monarc said:

You can find them in my initial post already

Yes but those are the half truth only. I know, this is on the list as well.

 

as you can see, the verify process putputs more errors here:

 

[29.12.2022 14:39:30] Verifying Backup
./adguard_home/workingdir/data/querylog.json: Mod time differs
./adguard_home/workingdir/data/querylog.json: Size differs

 

so it seems, that adguard is not stopped or something is accessing it during backup.

Ahh, as I write I realize: your adguard is set to „not stop“

 

thats the reason.

 

So, either you exclude adguard from the backup files or you wait for the verification skipping feature.

 

Per container settings are coming as well later.

Edited by KluthR
Link to comment

Have you changed something lately? I don't stop Adguard during the backup since I started to use Adguard and it worked fine before. Only on the last two days the backup failed and I haven't changed anything. Backup three days ago was successfull.

 

Dec 27 14:51:58 Unraid CA Backup/Restore: #######################
Dec 27 14:51:58 Unraid CA Backup/Restore: appData Backup complete
Dec 27 14:51:58 Unraid CA Backup/Restore: #######################
Dec 27 14:51:58 Unraid CA Backup/Restore: Deleting Dated Backup set: /mnt/user/Backups/backup_unraid_appdata/[email protected]
Dec 27 14:51:58 Unraid CA Backup/Restore: Backup / Restore Completed

 

 

Link to comment

Is the Backup of LuckyBackup working for you?

I can't this and don't Start this after the Backup with Error ending. Server Error by manuell click on Start from the Docker.

 

After a Server Reboot the Docker Start is working.

 

The Log:

[29.12.2022 00:00:02] Backup of appData starting. This may take awhile
[29.12.2022 00:00:07] Stopping luckyBackup...  done! (took 2 seconds)
[29.12.2022 00:01:10] Backing Up appData from /mnt/user/appdata/ to /mnt/disks/USB_Platte/Community Applications Backup/Appdata Backup/[email protected]
[29.12.2022 00:01:10] Separate archives enabled!
[29.12.2022 00:01:10] Ignoring: .
[29.12.2022 00:01:10] Ignoring: ..
[29.12.2022 00:37:46] Backing Up: luckybackup
[29.12.2022 00:38:01] Verifying Backup luckybackup
[29.12.2022 00:38:44] done
[29.12.2022 00:38:44] Searching for updates to docker applications
[29.12.2022 00:39:16] Starting luckyBackup... (try #1)  Error while starting container! - Code: Server error
[29.12.2022 00:39:25] Starting luckyBackup... (try #2)  Error while starting container! - Code: Server error
[29.12.2022 00:39:33] Starting luckyBackup... (try #3)  Error while starting container! - Code: Server error
[29.12.2022 00:39:36] Container did not started after multiple tries, skipping.
[29.12.2022 00:39:36] Waiting 60 seconds before carrying on
[29.12.2022 00:40:51] A error occurred somewhere. Not deleting old backup sets of appdata
[29.12.2022 00:40:51] Backup / Restore Completed

 

Edited by Revan335
Link to comment
16 hours ago, KluthR said:

That is one solution but why is your docker.img at /mnt/cache/appdata ? Did you changed the default docker.img location?

I actually have the docker image under /appdata/system/docker/docker.img and I do get this error. Any advice getting around this error?

 

Thanks a million for taking over the dev of this very important plug-in and happy new year to you!

 

 

Link to comment
7 minutes ago, Kilrah said:

Why? System should be its own share...

Honestly - I don't remember. I know it sounds silly but the years pass...

 

Right now it's on the nvme_appdata cache with just the appdata-share. The Nvme_cache is just for Nextcloud data-share. Do you recommend that the docker.img should be on that one instead?

 

image.png.054e0e08695d99a2bdf8d32142cd3c5a.png

Link to comment

thank you for this great plugin!

 

currently the process is:

-) stop all the containers

-) backup all the containers

-) start all the containers

 

I let the plugin create individual zip-files for each container

 

wouldn't it be better to change the process like this in such a case:

 

-) stop the first container

-) backup the first container

-) start the first container

-) stop the second container

-) backup the second container

-) start the second container 

etc.

 

this would greatly reduce the downtime for each container 

  • Upvote 1
Link to comment

I look forward to having the ability to restore specific containers.

I was doing monthly backups with V2 and the one I have is from 12/12/22.

Even if it is usable for restoring it would overwrite the AppData for Plex which has changed a lot since then. 

I had a Parity drive failure and unresponsive system which required a dirty reset button restart.

I recovered from that and replaced the parity drive but in the process I lost the ability to start Mariadb. Will have to reinstall it so it can start. 

Current AppData has no files for MariaDb and it would have been nice to recover that container only. The backup does have a copy of MariaDb but I see fewer problems doing 1 container reinstall than messing up the ones that are not currently broken.

Link to comment

I see this error in the backup log, do I need to be worried?

 

[02.01.2023 03:04:11] Backing Up: plex
/usr/bin/tar: plex/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/dda44c3d9d5fbcdb1430163f3b065d69ee1c05b.bundle/Contents/_combined/posters/tv.plex.agents.series_6df5348f0d915ece24d522cf4d45bbbc9560468e: File shrank by 117449 bytes; padding with zeros
[02.01.2023 03:35:52] tar creation/extraction failed!

Link to comment

I am facing similar issues as other users have noticed above.

 

Prior to moving to v3, I didnt get the errors (was on v2 of the plugin). I understand v3 does not suppress the error messages. However, if I ignore the error messages, does that inhibit the backup restore functionality in any way ?

 

Sharing my backup logs below. Note these 3 dockers are not shutdown for the backup.

 

Regards,

-B

 

[EDIT] just noticed that the backup folders are named with "-errors" appended, and thus do not show up in restore tab. However, I can manually edit/remove "errors" from folder name and it appears in the restore tab.

 

Quote

 

[02.01.2023 13:36:59] Verifying Backup NginxProxyManager
NginxProxyManager/log/proxy-host-16_access.log: Mod time differs
NginxProxyManager/log/proxy-host-16_access.log: Size differs
[02.01.2023 13:37:00] tar verify failed!

[02.01.2023 13:37:00] Backing Up: pihole
[02.01.2023 13:37:00] Verifying Backup pihole
[02.01.2023 13:37:00] Backing Up: pihole-doh
[02.01.2023 13:37:34] Verifying Backup pihole-doh
pihole-doh/pihole/pihole-FTL.db: Contents differ
[02.01.2023 13:38:06] tar verify failed!

[02.01.2023 13:38:12] Backing Up: unifi-controller
/usr/bin/tar: unifi-controller/run/mongodb-27117.sock: socket ignored
[02.01.2023 13:38:28] Verifying Backup unifi-controller
unifi-controller/data/db/journal/WiredTigerLog.0000000607: Mod time differs
unifi-controller/data/db/journal/WiredTigerLog.0000000607: Contents differ
unifi-controller/data/db/diagnostic.data/metrics.interim: Mod time differs
unifi-controller/data/db/diagnostic.data/metrics.interim: Size differs
[02.01.2023 13:38:54] tar verify failed!
[02.01.2023 13:38:54] done

 

 

Edited by Babar
Link to comment

I know this was posted as an open item on V2 but I am still seeing this under V3.  One docker, Jackett, does not restart after backup:

 

Jan 2 03:10:00 Odin CA Backup/Restore: Starting jackett... (try #1)
Jan 2 03:10:00 Odin CA Backup/Restore: Error while starting container! - Code: Image can not be deleted, in use by other container(s)
Jan 2 03:10:00 Odin kernel: pcieport 0000:00:1d.0: AER: Corrected error received: 0000:00:1d.0
Jan 2 03:10:00 Odin kernel: pcieport 0000:00:1d.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)
Jan 2 03:10:00 Odin kernel: pcieport 0000:00:1d.0: device [8086:a118] error status/mask=00001000/00002000
Jan 2 03:10:00 Odin kernel: pcieport 0000:00:1d.0: [12] Timeout
Jan 2 03:10:05 Odin CA Backup/Restore: Starting jackett... (try #2)
Jan 2 03:10:05 Odin CA Backup/Restore: Error while starting container! - Code: Image can not be deleted, in use by other container(s)
Jan 2 03:10:10 Odin CA Backup/Restore: Starting jackett... (try #3)
Jan 2 03:10:10 Odin CA Backup/Restore: Error while starting container! - Code: Image can not be deleted, in use by other container(s)

 

When I check in the morning and see it stopped I start it manually and it works fine.

 

In other posts I saw that people were having this happen with in Jackett and other dockers:  

 

Is this a timing issue, perhaps a delay is required before restarting the docker?

 

  • Like 1
Link to comment
15 minutes ago, Babar said:

if I ignore the error messages, does that inhibit the backup restore functionality in any way ?

You didn’t share the full log but I believe your problem results from the fact that you don’t shutdown the dockers and because of this changes that occur during the backup cause the verification to fail since the source and backup don’t match. These errors were previously suppressed so you never saw them. If you don’t want to shutdown the dockers for some reason you should probably disable the backup verification, otherwise old backups won’t get deleted.

  • Like 1
Link to comment
  • KluthR changed the title to [Plugin] CA Appdata Backup / Restore v2.5

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.