October 16Oct 16 Hi all, @KluthR has kindly merged the beta release I proposed which includes a lot of fixes and some new features.I would love your feedback, including positive feedback, so we can look at getting a stable release out for everyone not willing to load the beta.Thankyou to the others that contributed to this too!You can run install the beta next to your stable release but please STOP the schedule on your main release. There is also a 1 click button at the top of the BETA release to copy your config over to the beta release.Do not run the schedule on main and beta at the same time, do 1 or the other.https://raw.githubusercontent.com/Commifreak/unraid-appdata.backup/master/appdata.backup.beta.plg 2026.10.16b1➕ Optional snapshot mode for ZFS and btrfs: Containers can restart after taking the snapshot while the backup continues➕ Added an extra backup schedule for selected containers, with its own destination, retention and settings➕ New backups include checksums, which can be checked using the new Verify button on the Restore page➕ Added a backup summary showing the latest backup, retained sets, next scheduled run and available space➕ Added warnings for outdated backups and low backup destination space➕ Restore confirmation now shows the backup's age, destination and whether newer container backups exist in the other backup destination🩹 Fix flash drive backup on Unraid 7.4, including ZIP validation and error reporting🩹 Fix non-numeric container autostart delays aborting the backup. Thanks to Shyrka973🩹 Fix exclusions and source lists not being parsed correctly with LF-only line endings. Thanks to rnkang🩹 Fix container stop order not always being the reverse of the start order🩹 Containers which fail to stop are no longer backed up while still running🩹 Improve handling of slow container stops and unreadable container states🩹 Fix pre-container scripts returning exit code 2 not skipping backups in stop-all mode🩹 Fix skipped containers being included when missing from the saved start order🩹 Fix failed container updates being reported as successful; containers with failed backups are no longer updated🩹 Fix failed or aborted runs being reported as successful or applying retention🩹 Improve retention handling to protect successful backups and unrelated folders, while allowing failed sets to age out🩹 Fix nested volume exclusions and symlink handling for extra files🩹 Fix settings migration and prevent container settings being lost when Docker returns no containers🩹 Fix concurrent jobs being able to start at the same time within the same plugin installation🩹 Improve PHP crash reporting, including notifications and a list of containers left stopped🩹 Fix shell escaping in notifications and HTML escaping in logs and settings🩹 State-changing actions now require POST requests with Unraid's CSRF protection; job scripts can only run from the command line🔧 Restoring to the original folders now stops running containers before extraction and starts them again afterwards🔧 Restore now checks for abort requests after stopping a container and reports restart failures🔧 Removed containers are skipped instead of reporting a start error. Thanks to kajusnau🔧 Improved Settings and Restore page layouts on Unraid 7, folder pickers and start-order lists🔧 Added numbered backup steps, clearer log messages and click-to-open help for settings🔧 Job buttons are disabled while another job is running, with an explanation🔧 Improved wording throughout the plugin. Thanks to kajusnau and GlassedSilver
November 7Nov 7 Just installed this.Was hoping to have this beta running alongside the production version and just schedule them to run on different days.I only see one AppData Backup in my list of plugins, v2026.03.13, so I don't think it installed properly. I copy/pastad the URL from the first post.Am I missing something? Do I need to uninstall the Prod version first?
November 7Nov 7 7 minutes ago, Free Man said:Just installed this.Was hoping to have this beta running alongside the production version and just schedule them to run on different days.I only see one AppData Backup in my list of plugins, v2026.03.13, so I don't think it installed properly. I copy/pastad the URL from the first post.Am I missing something? Do I need to uninstall the Prod version first?They run side by side just fine but you should disable the schedule of your main verisonThere's instructions at the top of the BETA release when you install it and open the settings pageYou should be following the instructions from my post here https://forums.unraid.net/topic/136995-pluginbeta-appdatabackup/page/5/#findComment-1639167which is directly above your post. Edited November 7Nov 7 by chodeus
November 10Nov 10 On 11/7/2026 at 9:56 AM, chodeus said:which is directly above your post.That's a very nice way of saying RTFM... Sigh... one of these days, my reading comprehension will improve.
November 10Nov 10 3 minutes ago, Free Man said:That's a very nice way of saying RTFM... Sigh... one of these days, my reading comprehension will improve.I’m laughing. Always here if you need a hand!
November 13Nov 13 Hi chodeus, thank you for keeping the torch burning here. Given recent events, I've just switched to your beta version, and at least the manual backup runs without any issues. I'll take my time to look into the advanced settings of this new version, but for now, my priority is to continue my “normal” backup as long as v7 is still receiving security updates.Just a few quick first impressions: Importing the old backup settings went smoothly, and the backup seems to provide more detailed information as well (when backing up old apps, I had removed large files from some Docker containers due to space constraints. These were already included as exclusions in the AppData backup - and now I’m rightly warned that they wouldn’t have been included in the backup anyway).
November 18Nov 18 Thanks for all your work on this @chodeus !I've been running the beta successfully for a while, but I want to swap back to the original plugin now that the updates have been merged.Is there a way to import the beta-config into the original plugin? Or is that a manual compare-and-update job for me?Also, is there nay point in keeping the beta installed now, or will all future updates go straight to the original plugin from this point?
Monday at 05:03 PM2 days Having a rough time with Appdata Backup, I am on 7.4.1 (tried both stable and the latest beta plugins).Backups keep failing verification on ImageMaid because it maps the Plex appdata folder — tar complains about the library.db-wal, .db-shm and Plex Media Server.log changing while it’s reading them. I’ve set ImageMaid to skip now and added exclusions for Logs/Cache/Media plus the wal/shm files on Plex.Even when a run finishes and I get the completed notification (and the folder isn’t marked -failed), the Status/Log page goes back to “The log is not existing or empty” and “Last backup shown after the next backup run”. /tmp/appdata.backup (or the beta one) ends up empty.Separately, /tmp/notifications/unread keeps disappearing while the server is up. No OOM or memory pressure — 40 GB+ free — but the notifications panel throws ENOENT scandir errors until I manually mkdir the folders again. Seems to line up with the backup runs.Anyone else seeing the log vanish mid/after run or /tmp/notifications getting wiped? Any tips to keep the live log and notifications dirs stable?Thanksroot@Server:~# # Current memory situation free -h df -h /tmp # What is using /tmp du -sh /tmp/* 2>/dev/null | sort -hr | head # Recent kernel messages about memory or tmpfs dmesg | tail -50 | grep -i -E 'oom|killed|tmpfs|memory' # System log tail -n 100 /var/log/syslog | grep -i -E 'oom|killed|php|backup|memory' total used free shared buff/cache available Mem: 62Gi 21Gi 544Mi 1.4Gi 42Gi 40Gi Swap: 0B 0B 0B Filesystem Size Used Avail Use% Mounted on rootfs 32G 1.2G 30G 4% / 72K /tmp/gui.search 16K /tmp/disklocation 4.0K /tmp/user.scripts 4.0K /tmp/gpurawdata0000:00:02.0 4.0K /tmp/gpujson 4.0K /tmp/gpudata0000:00:02.0 4.0K /tmp/appdata.backup_phperr 4.0K /tmp/CA_logs 0 /tmp/ca_notices 0 /tmp/appdata.backup.beta root@Server:~#
Tuesday at 12:11 AM2 days @bally12345 Awesome reporting thankyou. These are three separate things.ImageMaid: its template maps your Plex folder, so when ImageMaid is backed up the plugin archives Plex's folder again while Plex is running. That's what tar is complaining about. In ImageMaid's container settings in Appdata Backup, click the Plex mapping to add it to its exclusions (Plex's own archive already covers it), then you can stop skipping ImageMaid. I'd also take the -wal/-shm exclusions back off. Plex: Plex is stopped during its own backup so they don't change then, and leaving the -wal out can lose recent database changes on a restore.Log and notifications vanishing: the plugin only deletes files inside its own /tmp folder, so something else is emptying /tmp. Your listing has no /tmp/plugins or /tmp/notifications, which a normal 7.4.1 box has; the folders that are left are ones that get recreated on demand. Unraid creates /tmp/notifications/unread at boot and doesn't put it back, hence the scandir errors.Since it lines up with backups, I'd assume it's a container that starts during the run and cleans /tmp, e.g. one with host /tmp mapped as its transcode or temp folder. This lists any container mapping /tmp:docker inspect --format '{{$n := .Name}}{{range .Mounts}}{{$n}} {{.Source}} -> {{.Destination}}{{println}}{{end}}' $(docker ps -aq) | grep -E ' /tmp(/[^ ]*)? -> | / -> 'A subfolder like /tmp/plex -> /transcode is fine; /tmp itself is the one to change. Also check User Scripts and /boot/config/go for anything that cleans /tmp.If nothing turns up, this records when /tmp gets emptied and which containers had just started (written to the flash so it survives):mkdir -p /tmp/canary; nohup sh -c 'while [ -d /tmp/canary ]; do sleep 10; done; { date; docker ps --format "{{.Names}} {{.Status}}"; } > /boot/canary.txt' >/dev/null 2>&1 &A reboot afterwards puts back everything else that was in /tmp. Could you also post the output of the command below? It may show the log file going missing mid-run.cat /tmp/appdata.backup_phperrStatus page: that summary lives on the flash, not in /tmp, and is written at the end of each run that makes a backup set. Stable and beta keep separate ones (and separate /tmp folders), so check the page of the one that ran. If it still says "Shown after the next backup run" after a finished run, please post the output of the command below plus your diagnostics.ls -l /boot/config/plugins/appdata.backup*/status*.json
Tuesday at 12:44 PM1 day 12 hours ago, chodeus said:@bally12345Awesome reporting thankyou. These are three separate things.ImageMaid: its template maps your Plex folder, so when ImageMaid is backed up the plugin archives Plex's folder again while Plex is running. That's what tar is complaining about. In ImageMaid's container settings in Appdata Backup, click the Plex mapping to add it to its exclusions (Plex's own archive already covers it), then you can stop skipping ImageMaid. I'd also take the -wal/-shm exclusions back off.Plex: Plex is stopped during its own backup so they don't change then, and leaving the -wal out can lose recent database changes on a restore.Log and notifications vanishing: the plugin only deletes files inside its own /tmp folder, so something else is emptying /tmp. Your listing has no /tmp/plugins or /tmp/notifications, which a normal 7.4.1 box has; the folders that are left are ones that get recreated on demand. Unraid creates /tmp/notifications/unread at boot and doesn't put it back, hence the scandir errors.Since it lines up with backups, I'd assume it's a container that starts during the run and cleans /tmp, e.g. one with host /tmp mapped as its transcode or temp folder.This lists any container mapping /tmp:docker inspect --format '{{$n := .Name}}{{range .Mounts}}{{$n}} {{.Source}} -> {{.Destination}}{{println}}{{end}}' $(docker ps -aq) | grep -E ' /tmp(/[^ ]*)? -> | / -> 'A subfolder like /tmp/plex -> /transcode is fine; /tmp itself is the one to change. Also check User Scripts and /boot/config/go for anything that cleans /tmp.If nothing turns up, this records when /tmp gets emptied and which containers had just started (written to the flash so it survives):mkdir -p /tmp/canary; nohup sh -c 'while [ -d /tmp/canary ]; do sleep 10; done; { date; docker ps --format "{{.Names}} {{.Status}}"; } > /boot/canary.txt' >/dev/null 2>&1 &A reboot afterwards puts back everything else that was in /tmp.Could you also post the output of the command below? It may show the log file going missing mid-run.cat /tmp/appdata.backup_phperrStatus page: that summary lives on the flash, not in /tmp, and is written at the end of each run that makes a backup set. Stable and beta keep separate ones (and separate /tmp folders), so check the page of the one that ran. If it still says "Shown after the next backup run" after a finished run, please post the output of the command below plus your diagnostics.ls -l /boot/config/plugins/appdata.backup*/status*.jsonThanks for the detailed reply — that sorted it.The thing emptying /tmp was ErsatzTV. It had host /tmp mapped straight to /transcode. Changed that to a proper folder on cache (/mnt/cache/appdata/ErsatzTV/transcode) and the notifications dirs + backup log stopped disappearing.For ImageMaid I stopped skipping it and excluded the whole Plex volume it maps:/mnt/user/appdata/plex/Library/Application Support/Plex Media ServerAlso removed the .db-wal/.db-shm exclusions from Plex itself as you suggested.Output of cat /tmp/appdata.backup_phperr (from before the fix):Textgot PHP error: 2 / copy(/tmp/appdata.backup.beta/ab.log): Failed to open stream: No such file or directory /usr/local/emhttp/plugins/appdata.backup.beta/scripts/backup.php:460 with context: [] got PHP error: 2 / unlink(/tmp/appdata.backup.beta/running): No such file or directory /usr/local/emhttp/plugins/appdata.backup.beta/scripts/backup.php:485 with context: []Just ran a backup and it completed cleanly — ImageMaid only did its own config folder, no verification errors, status page updated properly, and /tmp stayed intact.Appreciate the help.[24.11.2026 12:38:38][ℹ️][plex] Starting plex... (try #1) done![24.11.2026 12:38:41][ℹ️][Kometa] Stopping Kometa... done! (took 0 seconds)[24.11.2026 12:38:41][ℹ️][Kometa] Backing up Kometa: /mnt/user/appdata/Kometa...[24.11.2026 12:38:45][ℹ️][Kometa] Archive created (493.3 MB, took 4 s), verifying...[24.11.2026 12:38:48][ℹ️][Kometa] Verified (took 3 s)[24.11.2026 12:38:48][ℹ️][Kometa] Starting Kometa... (try #1) done![24.11.2026 12:38:50][ℹ️][ImageMaid] Stopping ImageMaid... done! (took 1 seconds)[24.11.2026 12:38:51][ℹ️][ImageMaid] Exclusion "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server" is a whole volume of this container, so that volume is left out[24.11.2026 12:38:51][ℹ️][ImageMaid] Backing up ImageMaid: /mnt/user/appdata/ImageMaid...[24.11.2026 12:38:51][ℹ️][ImageMaid] Archive created (112.4 MB, took 0 s), verifying...[24.11.2026 12:38:52][ℹ️][ImageMaid] Verified (took 1 s)[24.11.2026 12:38:52][ℹ️][ImageMaid] Starting ImageMaid... (try #1) done![24.11.2026 12:38:54][ℹ️][ErsatzTV] Stopping ErsatzTV... done! (took 5 seconds)[24.11.2026 12:38:59][ℹ️][ErsatzTV] Exclusion "/mnt/cache/appdata/ErsatzTV/transcode" is a whole volume of this container, so that volume is left out[24.11.2026 12:38:59][ℹ️][ErsatzTV] Backing up ErsatzTV: /mnt/user/appdata/ErsatzTV...[24.11.2026 12:39:00][ℹ️][ErsatzTV] Archive created (73.6 MB, took 1 s), verifying...[24.11.2026 12:39:00][ℹ️][ErsatzTV] Verified (took 0 s)[24.11.2026 12:39:00][ℹ️][ErsatzTV] Starting ErsatzTV... (try #1) done![24.11.2026 12:39:03][ℹ️][binhex-sonarr] Stopping binhex-sonarr... done! (took 0 seconds)[24.11.2026 12:39:03][ℹ️][binhex-sonarr] Leaving out external volumes (Save external volumes? is No): /mnt/user/data[24.11.2026 12:39:03][ℹ️][binhex-sonarr] Backing up binhex-sonarr: /mnt/cache/appdata/binhex-sonarr...[24.11.2026 12:39:03][ℹ️][binhex-sonarr] Archive created (70.1 MB, took 0 s), verifying...[24.11.2026 12:39:04][ℹ️][binhex-sonarr] Verified (took 1 s)[24.11.2026 12:39:04][ℹ️][binhex-sonarr] Starting binhex-sonarr... (try #1) done![24.11.2026 12:39:06][ℹ️][binhex-radarr] Stopping binhex-radarr... done! (took 0 seconds)[24.11.2026 12:39:06][ℹ️][binhex-radarr] Leaving out external volumes (Save external volumes? is No): /mnt/user/data[24.11.2026 12:39:06][ℹ️][binhex-radarr] Backing up binhex-radarr: /mnt/cache/appdata/binhex-radarr...[24.11.2026 12:39:07][ℹ️][binhex-radarr] Archive created (506.1 MB, took 1 s), verifying...[24.11.2026 12:39:08][ℹ️][binhex-radarr] Verified (took 1 s)[24.11.2026 12:39:08][ℹ️][binhex-radarr] Starting binhex-radarr... (try #1) done![24.11.2026 12:39:10][ℹ️][Main] Step 3/6: Backing up VM meta[24.11.2026 12:39:10][ℹ️][Main] VM meta backed up.[24.11.2026 12:39:10][ℹ️][Main] Step 4/6: Writing checksums[24.11.2026 12:39:37][ℹ️][Main] Checksums written for 176 files (took 27 s)[24.11.2026 12:39:37][ℹ️][Main] Flushing the backup to disk...[24.11.2026 12:39:38][ℹ️][Main] Step 5/6: Retention[24.11.2026 12:39:38][ℹ️][Main] Step 6/6: Finishing[24.11.2026 12:39:38][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)[24.11.2026 12:39:38][ℹ️][Main] ❤️
Tuesday at 01:37 PM1 day 53 minutes ago, bally12345 said:Thanks for the detailed reply — that sorted it.The thing emptying /tmp was ErsatzTV. It had host /tmp mapped straight to /transcode. Changed that to a proper folder on cache (/mnt/cache/appdata/ErsatzTV/transcode) and the notifications dirs + backup log stopped disappearing.For ImageMaid I stopped skipping it and excluded the whole Plex volume it maps:/mnt/user/appdata/plex/Library/Application Support/Plex Media ServerAlso removed the .db-wal/.db-shm exclusions from Plex itself as you suggested.Output of cat /tmp/appdata.backup_phperr (from before the fix):Textgot PHP error: 2 / copy(/tmp/appdata.backup.beta/ab.log): Failed to open stream: No such file or directory /usr/local/emhttp/plugins/appdata.backup.beta/scripts/backup.php:460 with context: [] got PHP error: 2 / unlink(/tmp/appdata.backup.beta/running): No such file or directory /usr/local/emhttp/plugins/appdata.backup.beta/scripts/backup.php:485 with context: []Just ran a backup and it completed cleanly — ImageMaid only did its own config folder, no verification errors, status page updated properly, and /tmp stayed intact.Appreciate the help.[24.11.2026 12:38:38][ℹ️][plex] Starting plex... (try #1) done![24.11.2026 12:38:41][ℹ️][Kometa] Stopping Kometa... done! (took 0 seconds)[24.11.2026 12:38:41][ℹ️][Kometa] Backing up Kometa: /mnt/user/appdata/Kometa...[24.11.2026 12:38:45][ℹ️][Kometa] Archive created (493.3 MB, took 4 s), verifying...[24.11.2026 12:38:48][ℹ️][Kometa] Verified (took 3 s)[24.11.2026 12:38:48][ℹ️][Kometa] Starting Kometa... (try #1) done![24.11.2026 12:38:50][ℹ️][ImageMaid] Stopping ImageMaid... done! (took 1 seconds)[24.11.2026 12:38:51][ℹ️][ImageMaid] Exclusion "/mnt/user/appdata/plex/Library/Application Support/Plex Media Server" is a whole volume of this container, so that volume is left out[24.11.2026 12:38:51][ℹ️][ImageMaid] Backing up ImageMaid: /mnt/user/appdata/ImageMaid...[24.11.2026 12:38:51][ℹ️][ImageMaid] Archive created (112.4 MB, took 0 s), verifying...[24.11.2026 12:38:52][ℹ️][ImageMaid] Verified (took 1 s)[24.11.2026 12:38:52][ℹ️][ImageMaid] Starting ImageMaid... (try #1) done![24.11.2026 12:38:54][ℹ️][ErsatzTV] Stopping ErsatzTV... done! (took 5 seconds)[24.11.2026 12:38:59][ℹ️][ErsatzTV] Exclusion "/mnt/cache/appdata/ErsatzTV/transcode" is a whole volume of this container, so that volume is left out[24.11.2026 12:38:59][ℹ️][ErsatzTV] Backing up ErsatzTV: /mnt/user/appdata/ErsatzTV...[24.11.2026 12:39:00][ℹ️][ErsatzTV] Archive created (73.6 MB, took 1 s), verifying...[24.11.2026 12:39:00][ℹ️][ErsatzTV] Verified (took 0 s)[24.11.2026 12:39:00][ℹ️][ErsatzTV] Starting ErsatzTV... (try #1) done![24.11.2026 12:39:03][ℹ️][binhex-sonarr] Stopping binhex-sonarr... done! (took 0 seconds)[24.11.2026 12:39:03][ℹ️][binhex-sonarr] Leaving out external volumes (Save external volumes? is No): /mnt/user/data[24.11.2026 12:39:03][ℹ️][binhex-sonarr] Backing up binhex-sonarr: /mnt/cache/appdata/binhex-sonarr...[24.11.2026 12:39:03][ℹ️][binhex-sonarr] Archive created (70.1 MB, took 0 s), verifying...[24.11.2026 12:39:04][ℹ️][binhex-sonarr] Verified (took 1 s)[24.11.2026 12:39:04][ℹ️][binhex-sonarr] Starting binhex-sonarr... (try #1) done![24.11.2026 12:39:06][ℹ️][binhex-radarr] Stopping binhex-radarr... done! (took 0 seconds)[24.11.2026 12:39:06][ℹ️][binhex-radarr] Leaving out external volumes (Save external volumes? is No): /mnt/user/data[24.11.2026 12:39:06][ℹ️][binhex-radarr] Backing up binhex-radarr: /mnt/cache/appdata/binhex-radarr...[24.11.2026 12:39:07][ℹ️][binhex-radarr] Archive created (506.1 MB, took 1 s), verifying...[24.11.2026 12:39:08][ℹ️][binhex-radarr] Verified (took 1 s)[24.11.2026 12:39:08][ℹ️][binhex-radarr] Starting binhex-radarr... (try #1) done![24.11.2026 12:39:10][ℹ️][Main] Step 3/6: Backing up VM meta[24.11.2026 12:39:10][ℹ️][Main] VM meta backed up.[24.11.2026 12:39:10][ℹ️][Main] Step 4/6: Writing checksums[24.11.2026 12:39:37][ℹ️][Main] Checksums written for 176 files (took 27 s)[24.11.2026 12:39:37][ℹ️][Main] Flushing the backup to disk...[24.11.2026 12:39:38][ℹ️][Main] Step 5/6: Retention[24.11.2026 12:39:38][ℹ️][Main] Step 6/6: Finishing[24.11.2026 12:39:38][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)[24.11.2026 12:39:38][ℹ️][Main] ❤️Man I wish these forums had a fire react emoji. Awesome news!
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.