Kenneth Skovhede
20e2dcafb3
Moved the process control stuff into another class, so it can be disposed easily and contain its own state
2018-03-16 10:33:26 +01:00
Kenneth Skovhede
3ec6b88ac8
Added a repeating log-scope that writes out a message, if no activity produced a log message for 10 seconds
2018-03-15 23:30:24 +01:00
Kenneth Skovhede
842fd96543
Implemented a new logging system that is more transparent and allows a more granular way of picking log messages.
...
Added ID's to each log message and each exception to allow later introduction of a Knowledgebase service that explains each error in more detail.
2018-03-15 09:12:34 +01:00
Kenneth Skovhede and GitHub
9ea9176ce0
Merge pull request #3059 from TekkiWuff/feature/retention-policy-unlimited-option
...
Easier syntax for unlimited timeframes and intervals
2018-02-26 09:32:30 +01:00
Kenneth Skovhede
fe7f9cf67a
Added warnings to discourage people from using 7z in the current state
2018-02-22 17:11:07 +01:00
Daniel Radünz
6da001cbe9
Easier syntax for unlimited timeframes and intervals
...
Also refactored retention policy option to use a list of custom objects instead of a dictionary to reduce confusion when working with the values of the retention policy
2018-02-21 21:30:17 +01:00
Daniel Radünz
f8cbc91152
Disallow using multiple rentention options (keep-time, keep-versions, rentention-policy)
2018-02-11 17:18:30 +01:00
Brian Lakstins
ba8dddc7fe
Move RunScript module to be configured first so that any configuration changes can be used by other modules
2018-01-12 09:43:07 -05:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Kenneth Skovhede
efc06b7210
Refactored the source path expansion/filtering into its own method.
...
Changed the check for subfolders to only work if the shortest path is a folder itself.
Changed the backup and test-filters method to use the same expansion logic so the filter test is more reliable.
This fixes #2778
2017-10-30 15:30:43 +01:00
Kenneth Skovhede
f03965eb65
Fixed compile error after refactor
2017-10-11 08:58:58 +02:00
Kenneth Skovhede
451c71ccb1
Changed remote-file delete logic to only delete files that look like Duplicati files and have the correct prefix.
...
This fixes #2678
2017-10-10 16:44:06 +02:00
Kenneth Skovhede and GitHub
38a8d11266
Merge pull request #2781 from TekkiWuff/retention-policy
...
Retention Policy
2017-10-04 15:12:19 +02:00
Daniel Radünz
0a4a6edca1
Renamed all occurrences of "staggered version" to "retention policy"
2017-09-30 22:05:30 +02:00
Daniel Radünz
7b176e4dc2
Check validity of keep-staggered-versions option value
2017-09-30 22:05:30 +02:00
Kenneth Hsu
146f4aaa5b
Use helper method to get unique items and duplicates.
2017-09-28 21:48:38 -07:00
Tyler Gill
83a1dcfb64
Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
...
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.
For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Tyler Gill
f9618b9587
Add support for specifying backup paths by volume guid.
...
These volume guids can be found via the 'mountvol' command, and are reported by the built in help.
This also includes some updates to the documentation and logging when using wildcard drives in source paths.
2017-09-14 23:16:07 -07:00
Tyler Gill
4bfaac4ec4
Normalize whitespace
2017-09-13 23:23:15 -07:00
Tyler Gill
768cd93923
Normalize some whitespace
2017-09-13 22:30:12 -07:00
Tyler Gill
5c7500973e
Add support for wildcards in source paths on Windows.
...
This causes backup to run for the given path on all drives, and can be useful in the case where removable drives may change letters randomly.
2017-09-10 13:18:49 -07:00
Dan Stahr
8c2280c86c
Issue #2578 : Removed all direct calls to VACUUM and added a command to run VACUUM manually
2017-08-04 11:24:18 +01:00
Kenneth Skovhede
da0de9983b
Implemented the live throttle control.
...
This fixes #1730
This fixes #1261
2017-06-20 13:00:52 +02:00
jondoe
a643ed230a
Updated fix for #2440 based on review feedback.
2017-06-14 20:38:09 +02:00
jondoe
4371bf18c1
Fix for "Include/Exclude filters not available to run-script" #2440 . Passing the "filter" option to the Configure method so that the before-script can alter its value. Removing "filter" option afterwards because it is not a support command line option, merely a placeholder for the before-script to modify the filters.
2017-06-07 21:56:01 +02:00
Kenneth Skovhede
62dc8e2178
Updated the UI commandline interface to work correctly with the status bar
2017-04-06 10:10:22 +02:00
Kenneth Skovhede
5bbb484cd3
Rewrote ListAffected and ListChanges to support a callback, such that the entire lists are not required to be materialized
2017-04-04 23:53:36 +02:00
Kenneth Skovhede
b362614bf5
Updated the verification to use deep verification to test archive readability when the verify is invoked directly.
...
When invoking the verification after the backup, the deep verification is off by default.
2017-03-03 20:52:04 +01:00
Kenneth Skovhede
f41c29f27a
Fixed some doc strings, and made the informational message UserInformationException
2017-02-27 09:09:52 +01:00
Kenneth Skovhede
8c8a0907c0
Added checks to ensure that hyphens are not used in --prefix as that would make it possible to craft prefixes that confuse the filename parser, e.g. --prefix=duplicati-b1234.zip
...
This fixes #2295
2017-02-27 09:09:02 +01:00
Kenneth Skovhede
551e11303c
Fixed the duplicated log entries in the log file.
...
This fixes #2254
2017-01-19 13:12:17 +01:00
Kenneth Skovhede
e79cfa4d6f
Merge branch 'feature/fix_send_mail'
2017-01-12 09:28:12 +01:00
Kenneth Skovhede
d62d483202
One more rework for the log output, to allow some messages to enter the log file but not the console
2017-01-11 23:35:42 +01:00
Kenneth Skovhede
030a504183
Reworked the way the controller uses logging scopes to selectively send messages to file logs, but not normal operation listener
2017-01-11 22:44:42 +01:00
Kenneth Skovhede
e692be5c92
Reworked the way log messages are handled, to include call-context setup.
...
This enables modules to report messages to the message-sink, and thus to the commandline through the normal interface.
This simplifies handling multiple logging systems, and supports reporting logging from multiple concurrent controller instances.
This fixes #2225
This fixes #1575
2017-01-09 23:27:56 +01:00
Kenneth Skovhede
6bb1579aa9
Updated MailKit, fixed a bug with DnsLite, added backward compatible tls support from MailKit.
...
This fixes #1540 .
This fixes #1948 .
This fixes #2060
This fixes #2225
2017-01-09 23:21:00 +01:00
Kenneth Skovhede
a029890409
Implemented better default error messsages
2017-01-09 11:35:38 +01:00
Kenneth Skovhede
1108d51d7f
Implemented a new new list-broken-files and purge-broken-files command for the commandline to assist with handling remote file loss.
2017-01-05 16:46:01 +01:00
Kenneth Skovhede
4bf4871427
Added commandline operation to purge select files from filesets.
...
This fixes #1009 .
This paves the way for #1337 .
2016-12-29 22:41:13 +01:00
Kenneth Skovhede
32423d78b5
Added EndTime value in a few places.
...
This fixes #2127
2016-12-02 00:08:09 +01:00
Max
29f9694cf2
fix for 2077
2016-11-02 00:17:49 +01:00
Max
5c7dfcada7
Refactor of hyper-v backup
2016-10-22 23:08:27 +02:00
Max
c56c8d0667
additional verification of hyper-v
...
ability to show paths in GUI
2016-10-22 16:17:58 +02:00
Max
06cccea7a7
moved hyper-v code to hyper-v classes
2016-10-16 01:40:12 +02:00
Max
17178b56d9
Added ability to have hidden command options to prevent UnsupportedOptionWarning log
2016-10-16 00:43:31 +02:00
Max
8c72cefd5b
changes in hyper-v backed
2016-10-15 23:55:50 +02:00
Max
c09e69765e
Merge branch 'master'
2016-10-15 16:18:38 +02:00
Max
f68695ca41
Added ability to backup hyperv using webgui
2016-10-15 16:18:26 +02:00
Kenneth Skovhede and GitHub
17e2a3dab4
Feature/add delete dialog ( #2008 )
...
Added a delete page with options to delete the local database, as well as the remote files.
Added a captcha to protect against automated attacks that would attempt to delete the remote files.
This fixes #1201
2016-10-13 21:45:31 +02:00
Max
7a94d2a3a3
fixed checks for duplicate and inclusions
2016-10-09 11:47:36 +02:00