Ignore shfs inodes, add low-priority jobs, fix retention grouping and CSRF; release 2026.11.22.r001

- Pass --ignore-inode for sources below /mnt/user and /mnt/user0. shfs hands
  out new inode numbers after every reboot, which made Restic re-read all
  data on the first run after a restart.
- Add a per-job lowPriority option that starts Restic and Rsync through
  ionice (idle) and nice 19 via the new internal/procprio package.
- Run restic forget with --group-by host,tags. Grouping by paths split a job
  into a new group whenever its sources changed, and keep-within never
  expired the old group's snapshots.
- Verify the Unraid CSRF token in webgui/api.php for POST, PUT and DELETE
  and reject other methods; Unraid's own check only covers form posts.
- Set $urbmVersion in URBM.page during the package build and fail the build
  if it does not match, so the page always loads the packaged JS asset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mikei386andClaude Opus 5.5 committed 2026-11-22 09:23:01 +01:00
1 parent a7dbd77492
commit ac055497b7
16 files changed
+317 -28

No files matched your search

+7 -1
View File
@@ -2,13 +2,19 @@
<!DOCTYPE PLUGIN [
<!ENTITY name "urbm">
<!ENTITY author "Michael Roll">
<!ENTITY version "2026.10.15.r001">
<!ENTITY version "2026.11.22.r001">
<!ENTITY pluginURL "https://git.casaderoll.de/michael/URBM/raw/branch/main/dist/urbm.plg">
<!ENTITY packageURL "https://git.casaderoll.de/michael/URBM/raw/branch/main/dist/urbm-&version;-x86_64-1.txz">
<!ENTITY packageSHA256 "REPLACE_DURING_RELEASE">
]>
<PLUGIN name="&name;" author="&author;" version="&version;" pluginURL="&pluginURL;" min="7.0.0" support="https://git.casaderoll.de/michael/URBM/issues" icon="urbm.png">
<CHANGES>
### 2026.11.22.r001
- Pass --ignore-inode automatically for sources below /mnt/user and /mnt/user0, whose shfs inode numbers change after every reboot and previously forced Restic to re-read all data.
- Add a per-job "low priority" option that starts Restic and Rsync through ionice (idle class) and nice 19, so backups no longer starve containers and services.
- Group retention by host and job tags instead of host and paths, so snapshots from before a source change still expire under keep-within.
- Verify the Unraid CSRF token in the API bridge for all state-changing requests and reject unknown HTTP methods.
### 2026.10.15.r001
- Parse carriage-return progress updates during Rsync space estimation instead of accumulating oversized lines.
- Share the streaming parser with the copy runner and report output-read failures without blocking the child process.