72 lines
4.2 KiB
Markdown
72 lines
4.2 KiB
Markdown
# URBM release notes and behaviour details
|
|
|
|
## Backup safety (2026.09.21.r001)
|
|
|
|
Repository checks report success/failure through configured notification targets. The
|
|
standard check verifies repository structure; it is not a full data-read or restore test.
|
|
Docker jobs discover bind mounts and named volumes. Live backups do not guarantee
|
|
application/database consistency. Use stop mode for coordinated offline backups.
|
|
Stop mode restarts only workloads that were running before preparation; ambiguous
|
|
paused/restarting states fail safely. Each restart has a 120-second deadline and
|
|
recovery continues after individual failures. Shutdown waits for cleanup; the rc
|
|
script refuses a forced kill or overlapping restart if cleanup exceeds five minutes.
|
|
Hard crashes or power loss still require checking workload state and backup results.
|
|
|
|
## Mirror an array disk to a mounted USB disk (2026.09.27.r001)
|
|
|
|
Create an Rsync job and select the mounted array disk, for example `/mnt/disk1`,
|
|
as the source. Select the USB disk under `/mnt/disks`, for example
|
|
`/mnt/disks/USB-Backup`, as the target. URBM copies the selected directory, so this
|
|
creates `/mnt/disks/USB-Backup/disk1` and copies its contents there. Select the USB
|
|
root, not its existing `disk1` subdirectory, to avoid nesting another `disk1`.
|
|
|
|
Enable overwrite to update existing files. Enable destination deletion for a
|
|
mirror that also removes files deleted from the source; deletion is off by default.
|
|
Use the dry-run option to preview a job without changing files. The USB disk must
|
|
already be mounted, for example through Unassigned Devices. URBM checks array and
|
|
USB mounts before starting the job and refuses leftover directories after an
|
|
unmount. Keep the USB disk connected throughout the run. Reload the page after
|
|
mounting a new array disk to refresh the available sources.
|
|
|
|
## Rsync diagnostics (2026.09.27.r002)
|
|
|
|
Run logs start collapsed and retain your open/closed selection during refresh.
|
|
New Rsync runs log the source paths, target, dry-run mode, overwrite/delete and
|
|
comparison options, exclusions, execution phases, up to 20 itemized change
|
|
examples, and final file/byte/deletion totals. Deletion counts include directories
|
|
and symlinks. Byte totals describe the contents of transferred files, not protocol
|
|
traffic. A dry run reports planned changes and records zero bytes actually copied;
|
|
its notification explicitly states that no changes were made. Historical logs
|
|
cannot be reconstructed with these additional details.
|
|
|
|
For an integration test against Rsync 3.x, run
|
|
`URBM_TEST_RSYNC=/path/to/rsync go test ./internal/rsync -run TestRealRsync -v`.
|
|
The test uses temporary directories only and checks that a dry run changes nothing,
|
|
that a subsequent copy matches the planned counts, and that another comparison
|
|
then finds no changes.
|
|
|
|
|
|
## Rsync space preflight (2026.10.09.r001)
|
|
|
|
The read-only dry run reports transfer volume separately from a conservative
|
|
additional-space estimate. The estimate sums positive growth of transferred
|
|
regular files, adds the largest transferred file as temporary-copy headroom,
|
|
and reserves 64 KiB per changed entry plus 1% (at least 64 MiB). Replacement
|
|
credit is limited to the smaller of the existing logical size and allocated
|
|
blocks; hardlinks and known Linux CoW filesystems (ZFS, Btrfs, XFS) receive no
|
|
replacement credit. Shrinking files and `--delete-delay` deletions never reduce
|
|
the estimate. Consequently renamed backup generations still require space for
|
|
the new generation before the old generation is deleted.
|
|
|
|
Rsync-escaped filenames are decoded once. Incomplete statistics, unreadable
|
|
paths, ambiguous source basenames, destination symlinks and nested destination
|
|
filesystems stop preflight with “not reliably determinable”, rather than a
|
|
misleading “insufficient space”. The check never creates a destination or starts
|
|
a real transfer. Existing job options and the explicit skip-check override are
|
|
unchanged. Results appear in the job's existing live log in the WebGUI.
|
|
|
|
This remains an estimate, not a reservation: concurrent writers, quotas,
|
|
filesystem-specific allocation/compression and changes after the dry run can
|
|
still cause a later write failure. Production rsync errors remain authoritative.
|
|
Tests using real rsync run only in temporary fixtures via `URBM_TEST_RSYNC`.
|