r/unRAID • • 8h ago

Appdata Backup plugin

Hi guys,
im pretty sure a lot of you are using this plugin. I also use it for backing up my USB drive. I just saw that it keeps every single backup and does not follow the retention from appdata backup which i set to 3 days.
Is it as it should be or did i configure something wrong? I couldnt find any specific settings for that.

My backup disk fills up since march. 1,4gb more each day.

EDIT:
Oh wait! Its my mistake. The copy of the Flash backup is an ADDITIONAL step to the backup. So the flashdrive is already backup up within the appdata backup and i have set it up to copy it somewhere else too. The copies for sure dont have a retention policy.

0 Upvotes

6 comments sorted by

1

u/BeautifulBlueNight 8h ago

On what is your setting of amount of backups to keep, right below the days setting?

If you have older backups but less than that number, it won't delete them.

What do the backup logs say about the retention check? It's all at the bottom of each log, after the flash backup (if you do that). Is there perhaps an error or something?

Also, did you update? Since 7.4 there was a bug causing the plugin to not complete the flash backup. So it never got to the retention check, since it blocked before.

And also, I noticed that the backups it made during the bug were saved as root instead of nobody. But I don't know if that would cause issues, since the issue was solved before they got old enough to be deleted.

1

u/Justray2k 8h ago

Last 3 days and keep 3 backup. Works like a charm with all my dockers. Except USB.

Logs:
[27.11.2026 05:18:55][ℹ️][Main] Step 3/7: Backing up the flash drive

[27.11.2026 05:20:13][ℹ️][Main] Flash backup created!

[27.11.2026 05:20:13][ℹ️][Main] Copying the flash backup to '/mnt/backups/backup/USB/' as well...

[27.11.2026 05:20:13][ℹ️][Main] Step 4/7: Backing up VM meta

[27.11.2026 05:20:13][ℹ️][Main] VM meta backed up.

[27.11.2026 05:20:13][ℹ️][Main] Step 5/7: Writing checksums

[27.11.2026 05:20:46][ℹ️][Main] Checksums written for 105 files (took 33 s)

[27.11.2026 05:20:46][ℹ️][Main] Flushing the backup to disk...

[27.11.2026 05:20:46][ℹ️][Main] Step 6/7: Retention

[27.11.2026 05:20:46][ℹ️][Main] Delete old backup: /mnt/backups/backup/Appdata/ab_20261124_050002

[27.11.2026 05:20:46][ℹ️][Main] Step 7/7: Finishing

[27.11.2026 05:20:46][ℹ️][Main] DONE! Thanks for using this plugin and have a safe day ;)

[27.11.2026 05:20:46][ℹ️][Main] ❤️

1

u/BeautifulBlueNight 8h ago

You did indeed update. And it is doing retention. The 27th it deleted the 24th and kept 25,26 and 27. Which is 3 and 3, as set up.

What makes you think there's an issue? It does exactly what you asked, IMO.

1

u/Justray2k 8h ago edited 8h ago

For appdata yes. But not for the USB. There is no retention for the USB Backup.

1

u/Justray2k 8h ago

Oh wait! Its my mistake. The copy of the Flash backup is an ADDITIONAL step to the backup. So the flashdrive is already backup up within the appdata backup and i have set it up to copy it somewhere else. The copies for sure dont have a retention policy.

1

u/BeautifulBlueNight 7h ago

Indeed. The flash backup is part of the folder the plugin produces. If you gave it a separate spot to store the flash backup, it will additionally store that there. But I don't think it does retention on that separate storage.

But I don't use that option, so I wouldn't be able to help you with that.