Commit Graph
10886 Commits
Author SHA1 Message Date
Carl Johnsen c54056ca96 Await Task.Delay instead of Thread.Sleep 2025-02-07 09:41:26 +01:00
Carl Johnsen 8254a71d78 Unsupported backends now throw a more meaningful error message 2025-02-07 09:40:08 +01:00
Carl Johnsen 7f9d5c8372 Added default values to the descriptions of the options where it isn't printed in the help text. 2025-02-07 09:14:05 +01:00
Carl Johnsen ed7d9e1836 Fixed incorrect options precedence. [src|dst] options override global options 2025-02-07 09:09:16 +01:00
Carl Johnsen d9d427e276 With the new parser, the options are no longer nullable 2025-02-07 09:08:38 +01:00
Carl Johnsen 83ddef691f Added more aliases to some of the options to mimic other commandline tools 2025-02-07 09:07:49 +01:00
Carl Johnsen edb9f53ea8 Added default value to the multitoken options 2025-02-07 09:07:11 +01:00
Carl Johnsen 53a3ca1996 Reordered options alphabetically 2025-02-07 09:06:54 +01:00
Carl Johnsen e1b9d8ec97 Changed argument parsing to use NamingConventionBinder for the optional arguments 2025-02-07 08:51:41 +01:00
Kenneth Skovhede 91d0f08cb2 Added option to propagate releases.
When building a release, it is now possible to also offer that release in "lower" channels, meaning the stable release will show as an update to instances running beta or experimental.
2025-02-06 22:54:30 +01:00
Kenneth Skovhede 3e72768eec Added warning when using the Mega backend 2025-02-06 21:53:51 +01:00
Kenneth Skovhede f7536df9c2 Added explicit access for the LocalSystem user as suggested. 2025-02-06 21:47:28 +01:00
Kenneth Skovhede adbd6b6a7c Added support for fallback when reading zip files with unsupported compression methods 2025-02-06 21:35:49 +01:00
Kenneth Skovhede 536e62275f Changed the logic in recreate to avoid opening the same zip file multiple times. 2025-02-06 21:34:02 +01:00
Kenneth Skovhede a68dba607e Added support for using the current uid/gid instead of using the file uid/gid 2025-02-06 17:21:17 +01:00
Kenneth Skovhede f0f79418d8 Fixed logic so the permissions are always applied, unless the user specifically opts out by placing a file named insecure-permissions.txt in the data folder. 2025-02-06 17:09:18 +01:00
Kenneth Skovhede 1af6e2b1d6 Experiment with CommonProgramData on Windows in favor of users folder. 2025-02-06 16:57:44 +01:00
Kenneth Skovhede ebdfc774c2 Removed static IO_WIN and IO_SYS as cross-platform calls are not possible. 2025-02-06 16:57:12 +01:00
Kenneth Skovhede aab91eb0df Added protection to newly create data folder and databases 2025-02-06 16:56:06 +01:00
Kenneth Skovhede 1690871d10 Implemented fix that pushes updated timestamps to previous version, in the case that no files were changed, and no new backup is recorded in remote storage. 2025-02-06 15:31:20 +01:00
Kenneth Skovhede 74d5b757e8 Added test that replicates issue #4312 2025-02-06 15:30:28 +01:00
Marcelo C. 53650f9ffd Merge branch 'feature/remove-timeout-at-manager-level' into feature/backblaze-429-observance 2025-02-06 11:29:14 -03:00
Marcelo C. 11643c2413 Removing TimeoutObservingStream from backend manager 2025-02-06 11:07:17 -03:00
Kenneth Skovhede bae82feeae Add a check for stale database
This commit adds a check to verify that the remote database is up-to-date before proceeding to repair the remote storage.

Without this check it is possible to start repairs with an old database, and this will cause the remote data to be deleted.

This fixes #4579
2025-02-06 13:20:32 +01:00
Kenneth Skovhede abe79b1a15 Added option to disable update check
This fixes #3983
2025-02-06 11:50:38 +01:00
Kenneth SkovhedeandGitHub c6e3c20391 Merge pull request #5940 from duplicati/feature/remove-stale-beta-comment
Removed comment on beta releases
2025-02-04 09:08:16 +01:00
Kenneth Skovhede 0882a89b1d Removed comment on beta releases 2025-02-04 08:33:48 +01:00
marceloduplicatiandGitHub 3a604998e2 Merge pull request #5921 from duplicati/feature/backend-tester-improv
Change timeout configuration for BackendTester
2025-02-03 17:44:17 -03:00
marceloduplicatiandGitHub dc128ff89e Merge pull request #5939 from marceloduplicati/feature/telegram-topic
Added support for Topic ID on Telegram
2025-02-03 17:32:52 -03:00
Kenneth SkovhedeandGitHub 2b03126efe Merge pull request #5936 from duplicati/feature/dont-put-releases-on-master
Fixed not creating releases on master when building from a branch
2025-02-03 21:16:59 +01:00
Carl Johnsen 4943a0de2d Found another suffix > prefix change 2025-02-03 19:40:55 +01:00
Carl Johnsen f38fc6ba18 Extended the general remote synchronization test with more general usage 2025-02-03 19:21:08 +01:00
Carl Johnsen ec4c0f80a4 Renaming should be with prefix, not suffix, as duplicati picks them up otherwise 2025-02-03 19:19:53 +01:00
Marcelo C. a203de90e1 Added support for Topic ID on Telegram
This adds support for TopicID as specified in parameter "send-telegram-topid-id" which allows the messages to be organized in topics on a group.

Finding out your topic ID in a group can be rather tricky the easiest way is to use curl to create it.

```bash
export CHAT_ID="-99999999"
export TOPIC_NAME="Your Topic"
export BOT_TOKEN="7777777777:AAAAAAAAA-4WwwwwwwwwwwwwwwwwwwwwwwQ"

curl -X POST \
    -H "Content-Type: application/json" \
    -d "{\"chat_id\":\"$CHAT_ID\",\"name\":\"$TOPIC_NAME\"}" \
    https://api.telegram.org/bot$BOT_TOKEN/createForumTopic
```
Which will response with a json where message_thread_id is the Topic ID
```bash
{"ok":true,"result":{"message_thread_id":33,"name":.....
```
2025-02-03 11:05:27 -03:00
Carl Johnsen 3b356446df Added more verbose logging 2025-02-03 13:58:30 +01:00
Carl Johnsen b5d53bb741 Found a progress print that wasn't properly guarded by the commandline option 2025-02-03 13:53:06 +01:00
Carl Johnsen 4d007795a8 Added a test for the two verify flags 2025-02-03 13:47:18 +01:00
Carl Johnsen 0e86f44593 Added a test for dry run 2025-02-03 13:41:01 +01:00
Carl Johnsen 2dd3aaffb3 Added a test for the retention option with an empty source directory 2025-02-03 13:21:45 +01:00
Carl Johnsen 55aca59aeb Added a test for whether an empty source deletes destination files. 2025-02-03 13:13:53 +01:00
Carl Johnsen a8edca231b Added a test with everything being empty 2025-02-03 13:12:38 +01:00
Carl Johnsen 217c26c663 Added more tests of the log level enum 2025-02-03 10:32:30 +01:00
Carl Johnsen 1d6774b5d3 Log file was being created incorrectly 2025-02-03 10:32:18 +01:00
Carl Johnsen 3cedaead78 Added additional help text to the multi token arguments 2025-02-03 10:06:02 +01:00
Carl Johnsen 347e299132 Merge branch 'master' into feature/rsync_tool 2025-02-03 09:48:52 +01:00
Carl Johnsen 0856483699 Added an option to only parse the commandline options 2025-02-03 09:11:35 +01:00
Carl Johnsen f88c2971a3 Added a test for parsing all of the commandline options 2025-02-03 09:06:30 +01:00
Carl Johnsen 7c7f58bdaf Added profiling logging 2025-02-03 08:38:37 +01:00
Carl Johnsen 686ab0338b Replaced a \n that should have been a \r 2025-02-03 08:38:18 +01:00
Kenneth Skovhede 23d304c736 Fixed not creating releases on master when building from a branch 2025-02-01 13:59:29 +01:00