zerobyte/app/server/modules/repositories/__tests__
Nico c4f3300e9b
fix(backups): correctly resolve paths when folder name matches volume name (#576)
When a selected subfolder had the exact same name as its parent volume
mount, the `path.relative` check falsely identified the subfolder path
as an absolute path already inside the volume. This caused the entire
volume root to be backed up instead of the intended subfolder.

Closes #250

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

* **Bug Fixes**
  * Improved handling of backup patterns when folder names match volume names.
  * Enhanced error handling for snapshot deletion operations.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-02-25 19:09:32 +01:00
..
repositories.controller.test.ts fix(backups): correctly resolve paths when folder name matches volume name (#576) 2026-02-25 19:09:32 +01:00
repositories.service.test.ts fix(backups): correctly resolve paths when folder name matches volume name (#576) 2026-02-25 19:09:32 +01:00