Carl-Johannes Johnsen and GitHub
8899ab3d65
Merge pull request #6799 from carljohnsen/feature/full-disk-linux
...
Feature/full disk linux
2026-03-19 10:58:05 +01:00
Kenneth Skovhede and GitHub
9b2eefbd72
Merge pull request #6796 from duplicati/feature/add-cleanup-and-list-to-db-tool
...
Add verify and cleanup to database tool
2026-03-17 14:13:12 +01:00
Kenneth Skovhede
84cc4005b1
Fix restore without local db
...
This fixes a bug where restoring with `--no-local-db` and `--version=0` would fail because the database consistency check sees that data is missing.
The missing data is intentional in this case, as we deliberately recreate a partial database.
The PR adds a test for this scenario and fixes the validation to allow for the partial database. Additionally, the partial database is marked as such, in case it is not correctly deleted after the restore.
2026-03-14 12:02:53 +01:00
Carl Johnsen
31121d3730
Added Windows overhead for the disk sizes, as init takes 16 MB
2026-03-12 09:29:05 +00:00
Carl Johnsen
9b1af5197d
Incorrect key used for getting partition address on Mac
2026-03-12 09:04:28 +01:00
Carl Johnsen
a62d23fab4
Reintroduced old code for cleaning up disks
2026-03-12 06:17:46 +01:00
Carl Johnsen
415349c9c0
Removed unused helper methods
2026-03-11 15:47:41 +01:00
Carl Johnsen
e25cd65314
Call disk helpers cleanup methods instead
2026-03-11 15:47:31 +01:00
Carl Johnsen
e5e546ee27
Handled bogus data cropping up when running multiple tests
2026-03-11 15:28:59 +01:00
Carl Johnsen
b4beb6209e
Updated the disk image tests to not test every combination of file system and partition table type on the CI.
2026-03-11 14:26:58 +00:00
Carl Johnsen
ba702b4d5f
Fixed Windows file locking failing tests
2026-03-11 14:52:53 +01:00
Carl Johnsen
2a2381d298
Added tests to increase code coverage of the DiskImage feature
2026-03-11 13:37:58 +00:00
Carl Johnsen
ef636e4bdb
Fixed test error with undeterministic gap bytes
2026-03-11 13:37:30 +00:00
Carl Johnsen
8c29c958bd
Added some final edge case tests to the disk image unit tests
2026-03-11 12:41:34 +00:00
Carl Johnsen
fe673ea1c0
Added disk image restore provider tests
2026-03-11 12:31:27 +00:00
Carl Johnsen
027c849b63
Added PooledBuffer tests
2026-03-11 12:18:35 +00:00
Carl Johnsen
8e0593c0ad
Added Unknown file system stream tests
2026-03-11 12:02:45 +00:00
Carl Johnsen
e01a55c252
Added UnknownFilesystem tests
2026-03-11 11:48:24 +00:00
Carl Johnsen
ac02a3a475
Added GeometryMetadata serialization tests
2026-03-11 11:39:01 +00:00
Carl Johnsen
35946d4888
Added partition table synthesizer tests
2026-03-11 11:29:55 +00:00
Carl Johnsen
1eadfa5b00
Added PartitionWriteStream tests
2026-03-11 11:21:04 +00:00
Carl Johnsen
06fc4614c4
Trying to reduce the amount of times that disks are created / deleted to speed up tests.
2026-03-11 10:58:55 +00:00
Carl Johnsen
c2515e1ddd
Added partition table parsing tests
2026-03-11 09:37:05 +00:00
Kenneth Skovhede
8b2475ee93
Add verify and cleanup to database tool
...
Adds two new commands to the database CLI tool:
- verify: Lists all databases with their status (Found, Missing, Orphaned)
across dbconfig.json, server database, and filesystem
- cleanup: Removes orphaned database files not referenced in dbconfig.json
or server database, with --dry-run and --force options
Includes unit tests for both commands.
2026-03-11 10:27:45 +01:00
Carl Johnsen
93f483d2d5
Added PartitionTableFactory tests
2026-03-11 09:26:24 +00:00
Carl Johnsen
745d2084ac
Added tests for unaligned write
2026-03-11 09:15:09 +00:00
Carl Johnsen
4d649d82a2
Added tests for unaligned reads
2026-03-11 08:53:41 +00:00
Carl Johnsen
a53c93a076
Changed from nullable types as the Setup methods will initialize them prior to running a test
2026-03-11 08:17:45 +00:00
Carl Johnsen
a40eba4ca4
Added sector aligned disk image unit tests
2026-03-11 08:17:02 +00:00
Carl Johnsen
9595a927d0
Added setup and teardown for disk image unit tests
2026-03-11 07:30:03 +00:00
Carl Johnsen
b17fd033a1
Made the DiskImage integration tests follow the right namespace naming scheme
2026-03-11 07:28:22 +00:00
Carl Johnsen
5e4a447f7a
Started working on disk image unit tests
2026-03-11 07:27:37 +00:00
Carl Johnsen
f64ee59111
Merge branch 'master' into feature/full-disk-linux
2026-03-10 08:28:41 +00:00
Kenneth Skovhede and GitHub
3c7dda8432
Merge pull request #6793 from duplicati/feature/fix-tests-for-https
...
Added fixes to failing tests for https support
2026-03-06 14:57:41 +01:00
Kenneth Skovhede
f76bc59710
Fixed one more failing test
2026-03-06 14:20:52 +01:00
Kenneth Skovhede
c47c000579
Fixed more failing tests
2026-03-06 13:28:38 +01:00
Kenneth Skovhede
15c7c1c3de
Added fixes to failing tests for https support
2026-03-06 11:11:01 +01:00
Carl Johnsen
c679e77f95
Merge branch 'master' into feature/full-disk-mac
2026-03-05 19:21:57 +01:00
Carl Johnsen
298f916e8d
Shift to plist for all diskutil commands to alleviate localization and other human-readable-related parsing errors
2026-03-05 17:42:24 +01:00
Carl Johnsen
ca1fb3ac9b
Restructured the DiskImage project to lift the OS specific disk listings to the disk interface and to centralize the functionality for running external processes
2026-03-05 15:30:36 +01:00
Kenneth Skovhede and GitHub
512db4f4f1
Merge pull request #6786 from duplicati/feature/automatic-https-support
...
Add support for managed TLS
2026-03-05 10:17:02 +01:00
Kenneth Skovhede
6abc4aea00
Add tests for issue #6688
...
Issue #6688 was already fixed by work on related issues #6552 and #6553 .
This adds a test that specifically reproduces the scenario mentioned in #6688 .
This fixes #6688
2026-03-03 15:50:59 +01:00
Carl Johnsen
6a2fd6114e
Faulty unmount should throw exception
2026-03-02 16:12:35 +00:00
Carl Johnsen
e511d0972f
Added retry count for Mac eject, as a busy disk will throw an error when eject is requested.
2026-03-02 16:45:00 +01:00
Carl Johnsen
f907c719fe
During high stress, unmounting can take some time on Linux
2026-03-02 15:17:24 +00:00
Carl Johnsen
61e2317e71
No need to extract the disk number unless it's needed
2026-03-02 15:17:02 +00:00
Carl Johnsen
b9c221ba11
Disk helpers initialize implicitly mounts
2026-03-02 14:42:14 +00:00
Carl Johnsen
ed5b3a40fe
Unknown partition table type cannot be mounted as it has no partitions
2026-03-02 13:26:05 +00:00
Carl Johnsen
bbf6fd01c9
XFS throws an error when trying to mount a clone with the same UUID
2026-03-02 13:22:37 +00:00
Carl Johnsen
eb6b66d97c
Some XFS and Btrfs partitions were of incorrect size
2026-03-02 10:32:42 +00:00