Kenneth Skovhede
97ba7ef9a5
Fixed issue with restoring files to their original location.
...
This fixes #2246
2017-01-14 12:46:59 +01:00
Kenneth Skovhede
9a849a2b58
Improved support for cross-os restores.
...
This fixes #1302
This fixes #1983
2017-01-06 23:01:54 +01:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
742eab0913
Fixed multiple cases where connections and command instances were not disposed.
...
This should fix all cases of "File is locked" on windows.
2016-04-06 20:40:34 +02:00
FootStark
27ce3ef5f3
Respect DryRun option when scanning target blocks
2016-03-12 12:48:41 +01:00
Kenneth Skovhede
59df0bf71b
Merge branch 'ParalellFileScanning' of https://github.com/FootStark/duplicati into FootStark-ParalellFileScanning
...
# Conflicts:
# Duplicati/Library/Main/Operation/RestoreHandler.cs
2016-03-07 00:07:43 +01:00
Kenneth Skovhede
72b32a8fe5
Merge branch 'ImpVolumeDownloadOrder' of https://github.com/FootStark/duplicati into FootStark-ImpVolumeDownloadOrder
2016-03-06 21:17:26 +01:00
FootStark
e22a47ef83
Merge remote-tracking branch 'refs/remotes/duplicati/master' into ParalellFileScanning
2016-03-05 10:08:47 +01:00
FootStark
412d7fe07b
Reorganize ScanForExistingTargetBlocks
...
1. Fixes a bug where duplicati truncates forthwritten files backuped
with a size being a multiple of blocksize on rename.
2. Tries to verify file data on beginning. If successful, marks files to
not be reverified in the end.
3. On overwrite restore, removes readonly attribute from files having to
be modified
4. Little speedup by computing parallel blcok and file Hashes
2016-03-05 02:00:28 +01:00
FootStark
2ff1b85ace
Fix update stats if file without blocks
...
Fixes progress tracker if there are files included in restore without
any blocks (happens on empty files with skip-metadata option)
2016-03-04 19:30:32 +01:00
FootStark
1fcf9919a0
Last Adjustment and a measure
2016-03-03 23:18:47 +01:00
FootStark
ee5d76837f
Volume order by max block index
2016-03-03 20:15:27 +01:00
FootStark
7c1caa6f3d
Added comment
2016-02-28 00:16:00 +01:00
FootStark
36984a322b
Imrpoved Blockmarker and update statistics
...
Updated BlockMarker to alter rows in Blocks table directly
Added Trigger-based update statistics
Prepared for file tracker
2016-02-27 22:04:48 +01:00
FootStark
2595737e58
Speedup restore (Index + SQL Fix)
...
Fix Indexes and SQL's for Commit and Querying Missing Blocks
2016-02-18 19:31:17 +01:00
Kenneth Skovhede
50743b06ed
Implemented indexes as suggested in #1481 and #1391
2015-11-16 12:57:34 +01:00
Kenneth Skovhede
d2f4dac74a
Fixed issues with filtering/selecting files on case-insensitive filesystems.
...
This closes #1461 .
2015-09-15 19:29:58 +02:00
Kenneth Skovhede
e13978d1c0
Improved handling of non-standard blocksize and hashing algorithms
2015-04-08 20:33:30 +02:00
Kenneth Skovhede
3fc151b175
Fixed issue with file length not being set correctly.
...
Fixed issue with metadata not beign applied because file has not yet been created.
This solves #1214 .
This solves #1218 .
2015-03-04 16:50:32 +01:00
Kenneth Skovhede
847c22e388
Fixed a bug that caused metadata to be restored for only every second file
2015-01-25 14:26:54 +01:00
Kenneth Skovhede
4846ffa103
Now using the file modification timestamp and the filesize as indicators that trigger file scanning.
...
This fixes #1099 .
2015-01-24 21:59:53 +01:00
Kenneth Skovhede
299a1e8647
Fixed a case where a missing value caused an error
2014-12-30 17:16:17 +01:00
Kenneth Skovhede
9893e999b0
Added TODO
2014-11-23 22:14:24 +01:00
Kenneth Skovhede
289d8817f0
Added most handling of the restore operation with --skip-metadata=true
2014-11-19 14:15:11 +01:00
Kenneth Skovhede
35bd0849f3
Removed some TODO's
2014-11-06 08:29:29 +01:00
Kenneth Skovhede
1f69459081
Implemented most of the metadata restore handling
2014-11-05 21:43:08 +01:00
Kenneth Skovhede
752b1bc054
Refactored restore iterators to use a much more compact approach.
2014-11-04 15:34:20 +01:00
Kenneth Skovhede
5430f4bfc4
Fixed a problem with long paths
2014-07-18 00:34:34 +02:00
Kenneth Skovhede
416044b71a
Fixed issues with restore and list under windows if sources contains two different drives
2014-03-24 11:49:25 +01:00
Kenneth Skovhede
9cac8edaec
Fixed issue with compact not registering indexblocklinks
2013-08-27 10:23:21 +02:00
Kenneth Skovhede
3387c279e9
Bugfix, read the resultset before accessing the values
2013-08-25 13:16:12 +02:00
Kenneth Skovhede
d708828804
Restore now scans older backups to look for files, if the file(s) searched for are not found in the list
2013-08-24 22:27:30 +02:00
Kenneth Skovhede
9aba8b7588
Changed count discrepancy from exception to warning as the verify will catch any real problems
2013-08-23 23:37:17 +02:00
Kenneth Skovhede
4c217b57d9
Fixed a number of dispose errors that would mask real errors
2013-08-23 23:36:25 +02:00
Kenneth Skovhede
10f1613148
Refined the backup output slightly.
...
Added periodic output to the restore process.
2013-08-23 22:18:13 +02:00
Kenneth Skovhede
a229de8e23
Cleaned up some output with Backup and compacting.
...
Implemented better output for Restore.
Fixed a problem with errors during dispose, and a problem with selecting filesets that do not exist.
Fixed a bug with restore if a file existed with some correct data, a copy would be restored with partial data.
Added check to try to avoid excessive restores of the same files if a file in another version already exists.
2013-08-22 20:56:03 +02:00
Kenneth Skovhede
5c110162ea
Changed the time format of times used programmatically to use EPOCH seconds, as it is faster to parse and more reliable
2013-07-23 21:28:01 +02:00
Kenneth Skovhede
4809897a00
Rewrote date time reading from db to use epoch instead of normal date to avoid string parsing of dates
2013-07-16 14:52:35 +02:00
Kenneth Skovhede
6830eb257d
Cleaned up storage of various timestamps to only use second precision
2013-07-09 13:51:08 +02:00
Kenneth Skovhede
a35710edef
Rewrote some database methods to return enumerables instead of instantiated lists
2013-07-01 12:03:59 +02:00
Kenneth Skovhede
b69cdcb136
Fixed filters to include everything if empty.
...
Will now include by default if there are only exclude filters.
If there are any include filters, the files are excluded by default.
2013-06-30 12:42:13 +02:00
Kenneth Skovhede
2bf912a0af
Rewrote the filter system to distinguish between match and result, which allows filter combinations
2013-06-29 12:16:30 +02:00
Kenneth Skovhede
242a141a44
Bugfix for restore
2013-06-20 09:19:28 +02:00
Kenneth Skovhede
2b01d20ce3
Added profile logging to all commit calls
...
Added extra profiling on backup
2013-06-09 16:30:28 +02:00
Kenneth Skovhede
8b70544df4
Bugfix for the overwrite feature
2013-06-01 14:43:56 +02:00
Kenneth Skovhede
a1eba390e1
Merged check for existing file overwrite with check for existing target blocks, and improved algorithm for generating new names
2013-06-01 14:22:10 +02:00
Kenneth Skovhede
3f4a26c5f5
Style fixes
2013-05-29 22:15:28 +02:00
Kenneth Skovhede
4f3323e3d1
Added a lot of verbose outputs
2013-05-29 22:15:13 +02:00
Kenneth Skovhede
d696670598
Reworked the result reporting to support type safe values
2013-05-25 16:40:15 +02:00
Kenneth Skovhede
0caa03d277
Added path rewrite logic for dealing with Windows drive specifiers
2013-05-21 21:14:13 +02:00