Commit Graph
11181 Commits
Author SHA1 Message Date
marceloduplicatiandGitHub 1ca1ca09a4 Merge pull request #6109 from marceloduplicati/feature/serverutil-machine-readable
Added machine-readable output for serverutil commands
2025-03-31 10:01:40 -03:00
Marcelo C. d15e398e81 Added machine-readable output for serverutil commands
This comes from suggestion on issue https://github.com/duplicati/duplicati/issues/6056

The chosen argument was --json which produces a json that wraps the result with extended properties such as in example:

``
{
  "Timestamp": "2025-03-28T15:47:01.3368160-03:00",
  "UnixTimestamp": 1743187621,
  "Command": "import",
  "Success": true,
  "ExitCode": 0,
  "Messages": [
    "Importing backup configuration from ../2-firstbacku.json",
    "Connecting to http://127.0.0.1:8200/...",
    "No database found in../data/",
    "Imported \"firstbackup (5)\" with ID 8"
  ],
  "Exceptions": [],
  "Imported": {
    "Id": "8",
    "Name": "firstbackup (5)"
  }
}
``

The documentation will reflect all commands and schemas as this makes its way into Canary
2025-03-28 16:08:45 -03:00
Kenneth SkovhedeandGitHub 0be4a77a0c Merge pull request #6098 from duplicati/feature/improve-anti-sleep
Improve Windows anti-sleep
2025-03-28 15:16:38 +01:00
Kenneth SkovhedeandGitHub efa59fb43b Merge pull request #6096 from duplicati/feature/additional-check
Added additional checks
2025-03-28 15:16:19 +01:00
Kenneth Skovhede 1855195d48 Improve Windows anti-sleep
This updates the Windows sleep prevention code to repeatedly reset the sleep timer every 10s if sleep is not allowed.

Previous implementation would only call it once, which is not sufficient to prevent sleep as the timer will eventually run out.
2025-03-28 14:21:23 +01:00
Kenneth Skovhede 0be27f8df4 Added additional checks 2025-03-28 13:41:49 +01:00
Kenneth SkovhedeandGitHub 99e2071095 Merge pull request #6094 from duplicati/release/canary-2.1.0.112
Version bump to v2.1.0.112-2.1.0.112_canary_2025-03-26
2025-03-27 12:20:12 +01:00
Kenneth Skovhede 1c1a70cfe6 Version bump to v2.1.0.112-2.1.0.112_canary_2025-03-26
You can download this build from:

Binaries: https://updates.duplicati.com/canary/?version=2.1.0.112

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.112_canary_2025-03-26.signatures.zip
v2.1.0.112-2.1.0.112_canary_2025-03-26 v2.1.0.112_canary_2025-03-26
2025-03-26 22:04:38 +01:00
marceloduplicatiandGitHub ed0844cb53 Merge pull request #6086 from marceloduplicati/feature/pureftp-issue-detection
Terminal PureFTP RecursionLimit detection and Warnings
2025-03-26 17:22:26 -03:00
Kenneth SkovhedeandGitHub e5637d0faa Merge pull request #6093 from duplicati/feature/cache-image-handles
Cache image handles
2025-03-26 20:21:13 +01:00
Kenneth SkovhedeandGitHub 03f4b899d1 Merge pull request #6092 from duplicati/feature/add-sorting-support
Added simple sorting support to backend
2025-03-26 20:18:54 +01:00
Kenneth Skovhede 522c6d36d5 Fixed a wrong lookup key and added more sorting options 2025-03-26 17:04:28 +01:00
Kenneth Skovhede 695d2512a7 Fixed persisted version to work with ngax 2025-03-26 16:57:51 +01:00
Carl-Johannes JohnsenandGitHub 9dc8c0d6ad Merge pull request #6079 from carljohnsen/bugfix/restore-folder-metadata
Bugfix/restore folder metadata
2025-03-26 16:34:48 +01:00
Kenneth Skovhede 6a7c7ef623 Merge commit '3330ab350de83683c7d2b016659354d1ffea0912' into feature/add-sorting-support 2025-03-26 16:22:54 +01:00
Kenneth Skovhede 82be38cc99 Cache image handles
This attempts to reduce the number of allocated handles by caching the images used in Duplicati, so they cannot occupy more than a single handle each.
2025-03-26 16:17:48 +01:00
marceloduplicatiandGitHub 3330ab350d Merge pull request #6090 from marceloduplicati/feature/orderby-backups
Adding OrderBy support on API + NGAX interface
2025-03-26 12:06:02 -03:00
Kenneth Skovhede 2b06faaf4f Added simple sorting support to backend 2025-03-26 15:58:06 +01:00
Carl Johnsen 79059e288a Added comments about why Archive is excluded for now 2025-03-26 15:51:27 +01:00
Carl Johnsen fc2d55bfc5 The CI still appends Archive - trying to ignore it if it's set. 2025-03-26 15:51:15 +01:00
Marcelo C. 312f4dabf5 Adding OrderBy support on API + NGAX interface
This allows the user to sort the backups by Create Order (ID), Name, LastRun or Destination Type.

The NGClient implementation will be committed on its own repository.

This is a no breaking change, both legacy client on the new api, or new client on legacy API will work.

The order is not persisted across sessions, defaulting to order by Create Order.

Note: Less CSS re-compiled.
2025-03-26 11:25:31 -03:00
Carl Johnsen 4ae9f16476 Sanity testing by omitting the Archive attribute during testing. 2025-03-26 15:05:21 +01:00
Carl-Johannes JohnsenandGitHub ddbf0eac56 Merge pull request #6089 from carljohnsen/bugfix/CI-UTC-and-local-windows-error
DateTime can sometimes be a local kind, which doesn't match with Time…
2025-03-26 14:31:11 +01:00
Carl Johnsen abdffed7d9 Trying to mitigate attributes set on the original files before performing the backup, which it seems like the CI is doing. 2025-03-26 14:21:40 +01:00
Carl Johnsen dd888c2761 Pushed incorrect fix 2025-03-26 13:49:05 +01:00
Carl Johnsen 3e38139953 DateTime can sometimes be a local kind, which doesn't match with TimeSpan.Zero, which is in UTC, and DateTimeOffset requires that they match. 2025-03-26 13:45:50 +01:00
Carl Johnsen a4cf24e854 Merge branch 'master' into bugfix/restore-folder-metadata 2025-03-26 12:07:27 +01:00
Kenneth SkovhedeandGitHub acfe6fdb04 Merge pull request #6088 from duplicati/feature/add-crash-log-api
Added crash log API
2025-03-26 10:14:49 +01:00
Kenneth SkovhedeandGitHub a07d7c7450 Merge pull request #6087 from duplicati/feature/use-zip64-for-bugreport
Added zip64 support for bug report
2025-03-26 10:14:17 +01:00
Carl Johnsen 049f330412 The 'everyone' user is not available on all versions of Windows 2025-03-26 09:20:29 +01:00
Carl Johnsen ec35d58f3b Added additional information to the asserts for debugging.
The asserts related to the OS specific folder and file are the same, because their line number reflects where they failed.
2025-03-26 06:20:45 +01:00
Carl Johnsen 5961ff6894 Changed to consistently use the same variables for comparison 2025-03-26 06:17:51 +01:00
Carl Johnsen b60ee3bc42 Missed some file and folder attributes during comparisons 2025-03-26 04:10:31 +01:00
Kenneth Skovhede 5302d0a6b4 Added crash log API 2025-03-25 21:50:06 +01:00
Carl Johnsen f447aed1e8 Fixed the Windows test for folder/files attributes/permissions unit test 2025-03-25 18:16:32 +01:00
Kenneth Skovhede 2d0f7af7c0 Added zip64 support for bug report 2025-03-25 17:16:25 +01:00
Kenneth SkovhedeandGitHub 4f81771681 Merge pull request #6085 from duplicati/feature/report-current-update-channel-in-reports
Added metadata to reports to report current update channel
2025-03-25 16:36:50 +01:00
Marcelo C. 252f25c66e PureFTP RecursionLimit detection and Warnings
This addresses the issue described on
https://github.com/duplicati/duplicati/issues/6005

If a PureFTP server is detected, a warning is issued when executing server file listing.

The parameter`ignore-pureftpd-limit-issue` allows the warning to be suppressed.

In the event of an effective truncation, it will throw an exception and that cannot be suppressed as incomplete listing can lead to misleading backup/restore operations.
2025-03-25 12:09:11 -03:00
Kenneth SkovhedeandGitHub be75443505 Merge pull request #6084 from duplicati/feature/allow-trayicon-disconnected
Allow trayicon disconnected
2025-03-25 15:59:29 +01:00
Kenneth Skovhede 580947a0cc Fixed compile issue for tests 2025-03-25 14:20:26 +01:00
Kenneth SkovhedeandGitHub 91ba27040b Merge pull request #6063 from duplicati/feature/guard-against-missing-files
Guard against fileset errors
2025-03-25 14:19:01 +01:00
Kenneth Skovhede 54d6492e90 Added timings to deleted files 2025-03-25 14:17:26 +01:00
Kenneth Skovhede c57401934d Merge commit '99ad60571ec7ad3b6e613ff7cf7f9829310f9a8e' into feature/allow-trayicon-disconnected 2025-03-25 14:02:27 +01:00
Kenneth SkovhedeandGitHub 99ad60571e Merge pull request #6083 from duplicati/feature/handle-backspace-for-password-input
Handle backspace for passphrase input
2025-03-25 12:36:23 +01:00
Kenneth SkovhedeandGitHub 5eb1f9edd3 Merge pull request #6077 from duplicati/feature/fix-decoding-windows-paths
Fixed URL parser not treating `file://C:\path` the same as `C:\Path`.
2025-03-25 12:35:56 +01:00
Kenneth Skovhede b754caccc3 Added metadata to reports to report current update channel 2025-03-25 12:34:54 +01:00
Kenneth Skovhede 08cb034acf Added custom version of the validation to support not failing validation prior to running the repair that fixes the error. 2025-03-25 11:56:52 +01:00
Kenneth SkovhedeandGitHub 85f5ddde1d Merge branch 'master' into feature/guard-against-missing-files 2025-03-25 11:39:13 +01:00
Kenneth SkovhedeandGitHub 7a7d92bbd2 Merge pull request #6081 from duplicati/feature/support-large-form-body-reports
Added support for large http reports
2025-03-25 11:38:07 +01:00
Kenneth SkovhedeandGitHub 147ee7e384 Merge pull request #6080 from duplicati/feature/fix-time-parser
Fixed validator warning on negative timespans
2025-03-25 11:37:53 +01:00