Commit Graph
10886 Commits
Author SHA1 Message Date
Carl Johnsen 5680fa3e15 If the restore operation threw an exception, the database wouldn't be closed properly, leading to subsequent tests failing due to the file being locked. 2024-12-05 08:49:36 +01:00
Carl Johnsen ab7fcb2e4a Opening a filestream doesn't work as expected on windows (caught in ProblematicPathTests) - changed to SystemIO.IO_OS.FileOpen* 2024-12-05 08:48:54 +01:00
Kenneth Skovhede 6e00c16fb7 Fixed parsing of the kikibytes suffix 2024-12-04 22:43:47 +01:00
Marcelo C. aa22766939 Adding support for self-signed or specific by hash certificates
This will add support for the parameters  accept-any-ssl-certificate and accept-specified-ssl-hash to the Http sender used in reporting.
2024-12-04 13:25:55 -03:00
Kenneth SkovhedeandGitHub 588fa5df61 Merge pull request #5738 from duplicati/feature/remove-unused-option
Remove `--use-block-cache`
2024-12-04 16:33:13 +01:00
Marcelo C. ce73e0f1f6 Implementation of fixes suggested on code review
Post changes tests:

- Folder creation and discovery checked.
- Backup and restore operations checked.
- Tests with backend tests performed.
2024-12-04 09:29:14 -03:00
Kenneth Skovhede f5cabd4c7f Remove --use-block-cache
The option has no effect.
This closes #3566
The block cache was added originally to work around perceived slow hash table lookups in the database.
By having an in-memory dictionary, lookups would be much faster.
It has no effect on disk wear, as the lookups are read-only.
The impact of such a cache was measured to be minimal with recent versions of SQLite.
2024-12-04 10:06:49 +01:00
Kenneth SkovhedeandGitHub 471ff7ede8 Merge pull request #5734 from duplicati/feature/fix-quota-info-on-file-backend
Fixed issue with quota info.
2024-12-04 09:39:42 +01:00
Kenneth SkovhedeandGitHub 44ee487473 Merge pull request #5735 from carljohnsen/bugfix/CompactDisruptionTests
Fixed sleeping in between backups being too short for fast machines.
2024-12-04 09:38:57 +01:00
Kenneth SkovhedeandGitHub dce84bc855 Merge pull request #5736 from duplicati/feature/fix-legacy-ftp-ssl
The legacy flag `--use-ssl` toggles explicit TLS
2024-12-04 09:37:51 +01:00
Kenneth Skovhede 17cc382325 The legacy flag --use-ssl toggles explicit TLS 2024-12-04 08:34:09 +01:00
Carl Johnsen 9e62a9efe4 Fixed sleeping in between backups being too short for fast machines. 2024-12-04 06:48:26 +01:00
Kenneth Skovhede 356498414c Fixed issue with quota info.
This fixes #5733
2024-12-03 22:12:38 +01:00
Marcelo C. 356d0c1bfd Implement nested folder support and improve file operations on pCloud Backend
- Add support for subfolders
- Implement robust file selection using fileID for Download/Delete operations instead of concatenation of path + filename
- Improved validation for folder existence during backend connectivity tests supporting subfolders.
2024-12-03 12:16:17 -03:00
Kenneth Skovhede da13191475 Support kiki-bytes suffix 2024-12-03 13:04:27 +01:00
Carl Johnsen 0e36c4393a Added progress printing during restore 2024-12-03 10:35:33 +01:00
Carl Johnsen 2469475ef2 Added a test for when trying to restore an already existing symlink 2024-12-03 10:04:29 +01:00
Carl Johnsen 2b0dc0613f Added handling of existing symlinks 2024-12-03 10:04:08 +01:00
Kenneth SkovhedeandGitHub e3e814a09f Merge pull request #5722 from duplicati/feature/log-unobserved-exceptions
Feature/log unobserved exceptions
2024-12-03 09:51:51 +01:00
Carl Johnsen c2e7275e1e Removed unused metadatastorage in the new restore flow 2024-12-03 09:39:46 +01:00
Carl Johnsen 3e7b505ed2 Merge branch 'master' into performance/restoreopt 2024-12-03 09:21:14 +01:00
Carl Johnsen f0c3fddfa2 Found runaway TODO 2024-12-03 09:11:42 +01:00
Carl Johnsen 76240550ed Add preallocation option for restored files and update related documentation 2024-12-03 09:10:36 +01:00
Carl Johnsen 6ba956dfcd Moved all database operations to the LocalRestoreDatabase.
Also changed the old changes, so that the functions related to the legacy restore remains untouched.
2024-12-03 08:35:14 +01:00
Kenneth SkovhedeandGitHub b7ab0b1f7a Merge pull request #5718 from duplicati/feature/better-macos-darkmode-trayicons
Implemented support for dark-mode icons on MacOS
2024-12-03 08:33:42 +01:00
Kenneth SkovhedeandGitHub 3cd87b6a0e Merge pull request #5691 from duplicati/feature/remove-latest-js
Removed the `latest-v2.js` as it is no longer used.
2024-12-03 08:32:32 +01:00
Kenneth SkovhedeandGitHub bbdc389eb7 Merge pull request #5717 from duplicati/feature/remove-debug-log-message
Removed a stray debug log message
2024-12-03 08:31:23 +01:00
Kenneth Skovhede 21ea4fc987 Added command to agent that just registers for remote control 2024-12-03 08:30:47 +01:00
Carl Johnsen 6413014c7d Added internal profiling of VolumeManager alongside proper exception handling. 2024-12-02 20:58:46 +01:00
Carl Johnsen 1e3e67c053 Update the construction of the processes within RestoreHandler 2024-12-02 20:48:20 +01:00
Carl Johnsen 99adcdd17c Added license, docstrings and logging to VolumeManager 2024-12-02 20:41:56 +01:00
Carl Johnsen 7436606455 Cleanup VolumeDownloader 2024-12-02 20:32:38 +01:00
Carl Johnsen d0df0c054e Cleanup VolumeDecryptor 2024-12-02 20:29:40 +01:00
Carl Johnsen 1284adec3b Cleanup VolumeDecompressor 2024-12-02 20:28:45 +01:00
Carl Johnsen 6c66fee921 Cleanup FileProcessor and rework docstrings 2024-12-02 20:27:21 +01:00
Carl Johnsen 9070ea2382 Added docstring and cleaned up FileLister 2024-12-02 20:12:06 +01:00
Carl Johnsen a663c46178 Removed debug depth for channels 2024-12-02 20:07:49 +01:00
Carl Johnsen 46983ee5cd Added proper handling of the internal profiling timers in BlockManagers SleepableDictionary 2024-12-02 19:59:56 +01:00
Carl Johnsen 4ae37292a1 Changed the count dictionaries in BlockManager to be normal dictionaries, as they are faster and the accesses to them are serialized anyways. 2024-12-02 17:56:33 +01:00
Carl Johnsen b44934ac4b Removed database from BlockManagers cache 2024-12-02 17:48:29 +01:00
Carl Johnsen 9e4e1e246b Added docstrings to BlockManager 2024-12-02 15:49:20 +01:00
Carl Johnsen 3d8330bc58 Cleaned up BlockManager 2024-12-02 15:44:01 +01:00
Carl Johnsen e7b2338214 Renamed VolumeCache to VolumeManager for consistency 2024-12-02 15:43:52 +01:00
Carl Johnsen 1bbe26330f Bump CoCoL package version to 1.8.1 2024-12-02 15:18:09 +01:00
Carl Johnsen 7aa19f851e Add configurable volume downloaders for restore process 2024-12-02 15:16:21 +01:00
Carl Johnsen 533088684b Consistent naming of decryptors 2024-12-02 15:12:50 +01:00
Carl Johnsen b6ed72bd6c Reworked the restore CSP network 2024-12-02 15:09:23 +01:00
Carl Johnsen 3156d43adc BlockVolumeReaders are expensive to create - cache them instead. 2024-12-02 10:55:45 +01:00
Carl Johnsen f85ffabe3e Linux SQLite doesn't want values in quotes 2024-12-02 10:45:52 +01:00
Kenneth Skovhede c23dcfab0b Fixed the server log context 2024-11-29 09:02:12 +01:00