Carl Johnsen
043b9230b5
VerifyLocalBlocks opened file in incorrect mode, and the target file may not exist.
2025-02-10 13:44:02 +01:00
Carl Johnsen
82019ea28e
Modified VerifyTargetBlocks to not evict block from cache. It is now handled outside, in case of file name retargeting when overwrite is false.
2025-02-10 13:42:27 +01:00
Carl Johnsen
0b3ff33716
Moved retire on exception to final, so regardless of how the FileProcessor exits, it retires the channels.
2025-02-10 12:38:24 +01:00
Carl Johnsen
3b9fc188e1
Retire block request and response on exception in FileProcessor
2025-02-10 12:34:44 +01:00
Carl Johnsen
259322f0d9
CopyOldTargetBlocksToNewTarget was made async
2025-02-10 12:34:16 +01:00
Carl Johnsen
6e2f8156f8
VerifyLocalBlocks should only perform checks when the target differs from the original.
2025-02-10 12:33:45 +01:00
Carl Johnsen
dbd3520d9c
Formatting
2025-02-10 12:18:16 +01:00
Kenneth Skovhede and GitHub
5645b8ae79
Merge pull request #5945 from duplicati/feature/add-option-to-disable-update-checks
...
Added option to disable update check
2025-02-07 16:16:03 +01:00
Kenneth Skovhede and GitHub
35179d9966
Merge pull request #5946 from duplicati/feature/prevent-dataloss-from-outdated-database
...
Add a check for stale database
2025-02-07 16:15:40 +01:00
Kenneth Skovhede and GitHub
992dd7fa8d
Merge pull request #5952 from duplicati/feature/added-release-propagate-option
...
Added option to propagate releases.
2025-02-07 16:11:24 +01:00
Kenneth Skovhede and GitHub
6cfa246bfc
Merge pull request #5947 from marceloduplicati/feature/remove-timeout-at-manager-level
...
Removing TimeoutObservingStream from backend manager
2025-02-07 13:57:09 +01:00
Carl-Johannes Johnsen and GitHub
7fd42eac41
Merge pull request #5937 from carljohnsen/feature/rsync_tool
...
Feature/Remote synchronization tool
2025-02-07 11:14:36 +01:00
Carl Johnsen
728a75a902
One stopwatch wasn't ensured always stopped in a try block
2025-02-07 10:30:39 +01:00
Carl Johnsen
4144b3a25e
Changed to the log timer instead of stopwatch where applicable
2025-02-07 10:29:33 +01:00
Carl Johnsen
2e134cffeb
Changed to UTC time for timestamps
2025-02-07 09:56:54 +01:00
Carl Johnsen
bb60db47f0
Reformatted long logging lines
2025-02-07 09:55:13 +01:00
Carl Johnsen
4d4b6cf122
Human readable formatting of elapsed milliseconds
2025-02-07 09:51:24 +01:00
Carl Johnsen
2887fa7058
Made logged byte sizes human readable using duplicati utility function
2025-02-07 09:46:22 +01:00
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
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 Skovhede and GitHub
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
marceloduplicati and GitHub
3a604998e2
Merge pull request #5921 from duplicati/feature/backend-tester-improv
...
Change timeout configuration for BackendTester
2025-02-03 17:44:17 -03:00
marceloduplicati and GitHub
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 Skovhede and GitHub
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