Kenneth Hsu
69005a64f7
Remove unused BackendManager.FlushDbMessages method.
...
The last reference was removed in revision
8abdf87188 .
2020-01-26 10:18:19 -08:00
Kenneth Hsu
e241a17af6
Remove unused BackendManager.CreateFolder method.
...
This was introduced in revision aca4ed95cc
but without any apparent usages.
2020-01-26 10:18:19 -08:00
Kenneth Hsu
7d3d03c06f
Remove unused BackendManager.LastException property.
...
The last reference was removed in revision
8abdf87188 .
2020-01-26 10:18:19 -08:00
Kenneth Hsu
d847b46716
Remove unused BackendManager.HasDied property.
...
The last reference was removed in revision
8abdf87188 .
2020-01-26 10:18:19 -08:00
Kenneth Hsu
d7e3ac9b10
Move CreateFilesetFile method to FilesetVolumeWriter class.
...
This only concerns filesets, so it does not belong in the base class.
2020-01-25 18:53:15 -08:00
Kenneth Hsu
3551238000
Remove redundant calls to String.Format.
2020-01-25 17:07:02 -08:00
Kenneth Hsu
74573bf5ff
Remove unnecessary variable assignment.
2020-01-25 13:51:27 -08:00
Kenneth Skovhede and GitHub
a64671a0c6
Merge pull request #4018 from warwickmm/refactor/fileset_removal
...
Refactor fileset deletion code and add tests
2020-01-23 13:52:43 +01:00
warwickmm and GitHub
e1937f21b8
Merge pull request #4054 from seantempleton/compactblocklist
...
Write blocklists when compacting files
2020-01-22 17:22:55 -08:00
Kenneth Hsu
35ea890f96
Merge remote-tracking branch 'upstream/master' into refactor/fileset_removal
2020-01-21 20:23:49 -08:00
warwickmm and GitHub
837a787cbf
Merge pull request #4047 from warwickmm/bugfix/repair_missing_dindex
...
Fix bug when performing repair with missing dindex files
2020-01-21 19:46:36 -08:00
Sean Templeton
04662bace1
Write blocklists when compacting files
...
The list folder was not being written to dindex files when performing a
compact operation. After the data blocks have been moved to a new volume
and the new volume data is finished being written to the new index file,
read the blocklists from the database and write them to the new index
file.
2020-01-19 21:57:08 -06:00
drwtsn32x
b1a0353792
make tests case insensitive
2020-01-14 03:57:25 -08:00
Kenneth Hsu
d50f86ab7d
Fix issue with repairing missing dindex files.
...
Since we are keeping around a reference to the IndexVolumeWriter and
BlockVolumeWriter instances, we cannot wrap their usages in using
statements.
This fixes issue #4046 .
2020-01-09 19:55:27 -08:00
warwickmm and GitHub
52929e9eb2
Merge pull request #4042 from seantempleton/stopnowexceptions
...
Fix database corruptions that can occur with "stop now".
This was a source of the "Detected non-empty blocksets with no associated blocks!" exception.
2020-01-06 09:57:44 -08:00
warwickmm and GitHub
df2c70e8d2
Merge pull request #4039 from drwtsn32x/filter-cleanup
...
Support additional Recycle Bin paths in default Windows filters
2020-01-06 09:51:18 -08:00
Sean Templeton
3b6306b556
Fix exceptions caused by Stop Now
...
The LocalDatabase class was deleting from the BlocklistHash table based on the volume id of blocks. The deletes for the Blockset and BlocksetEntry tables were using a union query which included the same query the BlocklistHash delete was using. Changed the BlocklistHash delete query to use the union as well to ensure that all three tables would use the same query to delete the necessary rows. This fixes the "Detected non-empty blocksets with no associated blocks!" error.
Moved a write call in the DataBlockProcessor to send a volume for upload after setting blockvolume to null. This prevents a null reference exception because otherwise it would be sent to the SpillCollector and it tries to add a block, but the volume has already been closed.
Added the ? operator to the RegistryUtility class to prevent a null reference exception while debugging. It was annoying catching it in the debugger.
Fixes #4037
2020-01-05 21:43:56 -06:00
drwtsn32x
f4321ea115
fix typo
2020-01-01 16:50:34 -08:00
drwtsn32x
c50d07ec40
fix typo
2020-01-01 16:49:40 -08:00
drwtsn32x
e55d555558
Change case of recycle bins
2020-01-01 16:43:04 -08:00
drwtsn32x
559ab450a4
Improve Windows Temp filter
2020-01-01 16:40:10 -08:00
drwtsn32x
9cabdc51d0
Improve Windows Install filter
2020-01-01 16:25:22 -08:00
drwtsn32x
7e9eb58cdd
remove Temp from SystemFiles
2020-01-01 16:18:42 -08:00
drwtsn32x
e15b3a9278
add slash to 'usrclass'
2020-01-01 16:05:53 -08:00
drwtsn32x
54820bc192
remove duplicate 'ntuser' line
2020-01-01 16:02:57 -08:00
drwtsn32x
9b51773e6f
add recycle bin, change all to be off root of drive
2020-01-01 15:59:43 -08:00
drwtsn32x
dd7cc60e46
move '$Recycle.bin' to SystemFiles filter for consistency
2020-01-01 15:57:14 -08:00
drwtsn32x
a5439fd30f
remove 'Windows' duplicate
2020-01-01 15:54:57 -08:00
Kenneth Hsu
fdcef72a7c
Merge remote-tracking branch 'upstream/master' into refactor/fileset_removal
2020-01-01 13:58:59 -08:00
warwickmm and GitHub
e32d14fa12
Merge pull request #4031 from drwtsn32x/fix-broken-inheritance
...
Fix issue restoring permissions with inheritance breaks.
2020-01-01 11:42:52 -08:00
drwtsn32x
e0c940fb45
variable name change
2019-12-28 20:37:23 -08:00
drwtsn32x
ab23d646b6
remove serializer since we only store single bool
2019-12-26 08:32:31 -08:00
drwtsn32x
ddce687b14
don't read rules unless we are restoring permissions
2019-12-26 08:03:06 -08:00
drwtsn32x
aa7d4150b3
clean up if block
2019-12-26 07:51:30 -08:00
drwtsn32x
9bca37f29f
tweak
2019-12-25 21:17:02 -08:00
drwtsn32x
e76be20e34
back up and restore inheritance breaks
2019-12-25 20:56:28 -08:00
Max
7e2218663e
Add Compat Analyzers
2019-12-25 19:08:52 +01:00
Max
4d62e9584d
Upgrade of AlphaVSS
2019-12-25 18:34:40 +01:00
Max
76b191327f
packages update 2
2019-12-25 18:23:23 +01:00
Max
28793ef204
packages update
2019-12-25 18:21:24 +01:00
Max
41a5591532
upstream
2019-12-25 16:34:56 +01:00
warwickmm and GitHub
578faba5bc
Merge pull request #4030 from drwtsn32x/fix-issue-4028
...
Fix bug in restoring file permissions on Windows.
2019-12-24 18:35:32 -08:00
User
5f06b4ac0c
Add JsonProperty
2019-12-24 07:21:25 -08:00
warwickmm and GitHub
1cc10b1caa
Merge pull request #4020 from verhoek/esthetical_sshv2
...
Esthetical changes to SSH2 backend code.
2019-12-18 19:35:38 -08:00
Hendrik and GitHub
1dc8d7cda6
Merge pull request #4021 from warwickmm/fix_spelling_errors
...
Fix spelling errors in comments
2019-12-18 20:41:41 +01:00
verhoek
f16ba3d49b
Indentation cleanup.
2019-12-18 20:38:21 +01:00
warwickmm and GitHub
f2aa72d6bf
Merge pull request #4027 from drwtsn32x/fix-skip-update-check
...
Fix handling of AUTOUPDATER_Duplicati_SKIP_UPDATE environment variable
2019-12-17 18:41:20 -08:00
User
5c24f9d87f
make it a boolean value check
2019-12-17 06:30:22 -08:00
Kenneth Hsu
a7ab5f6f00
Avoid unnecessary array creation and sorting.
...
This also removes a redundant timestamp conversion, as it already occurs
in the DropFilesetsFromTable method.
2019-12-15 14:06:20 -08:00
Kenneth Hsu
610fa4ffea
Generate backup version numbers manually instead of in query.
...
The ROW_NUMBER window function is not available in SQLite versions prior
to 3.25. In some cases, I think we do fall back to the system SQLite
libraries, and many distributions do not have versions that support the
window functions. To be safe, we will generate the backup versions
manually.
2019-12-15 13:28:44 -08:00