Commit Graph
14 Commits
Author SHA1 Message Date
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Kenneth Skovhede 0f81b42146 Add support for remote locks
This PR adds support for locking files if the backend supports it.

To activate locking, set the option `--file-lock-duration=30D` and the backup will lock the files.

If the database is rebuilt with the intention of continuing the backups, use the option `--repair-refresh-lock-info` which will update lock information in the database after recreating the database.

The locking works by asking the backend to lock files after a backup has completed.

The implementation keeps track of which files are currently assigned a lock and prevents attempting to delete the files that are currently locked.

Note that the bucket should not have a default lock policy as Duplicati needs to finish the backup before the locking is applied.

In this initial version, Azure Blob Storage, B2, S3 and iDrive are supported with locking.

The CLI is updated to allow setting locks on a specific version. The backend tool is updated to allow setting locks on specific files.
2025-12-14 17:17:48 +01:00
Marcelo C. b0cdfc4db9 I2drive migrated to HttpClient & minor refactoring 2025-05-09 09:22:46 -03:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede 4dfc4f586e Adding e2 url format to description.
This fixes #5755
2024-12-11 08:38:06 +01:00
Suguru Hirahara 630468f785 Replace "property" with "option" 2024-08-06 11:56:17 -04:00
Suguru Hirahara d4057e57c5 Make backend descriptions consistent 2024-08-02 12:05:49 -04:00
Suguru Hirahara 43337dca90 Move strings 'Description' and 'DisplayName' up to the top inside the block 2024-07-29 02:23:07 -04:00
Suguru Hirahara 42a83beeaa Split sentences correctly on Backblaze/Strings.cs, Idrivee2/Strings.cs, and S3/Strings.cs 2024-07-27 07:55:08 -04:00
Suguru Hirahara 37b9d15b29 Remove 'The "' from Idrivee2/Strings.cs 2024-07-27 07:54:56 -04:00
Suguru Hirahara 77817f1300 Capitalize 'Access key secret' and 'Access key ID' 2024-07-27 07:54:43 -04:00
Suguru Hirahara be96e9a669 Change 'Id' to 'ID' 2024-07-27 07:54:26 -04:00
Kenneth Skovhede 40dd3c6816 Updated all license mentions to MIT 2024-02-28 15:45:30 +01:00
Muhammad Abrar f73bc2213c Added support for new backend IDrivee2(https://www.idrivee2.com) 2022-06-13 10:38:42 +05:00