User
8755390dc8
don't store journal data for partial backups
2019-11-20 20:46:27 -08:00
Kenneth Hsu
93bc478d37
Issue warning when backup is cancelled by user.
...
Previously, a yellow warning icon would be displayed but the logs did
not contain any details regarding the cause of the warning.
This concerns issue #3982 .
2019-11-10 11:20:11 -08:00
Kenneth Skovhede and GitHub
99d0cb3c57
Merge pull request #3953 from warwickmm/make_fields_readonly
...
Mark fields that don't need to be reassigned as readonly
2019-10-21 08:36:17 +02:00
Kenneth Hsu
2aa76881a5
Mark fields that don't need to be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
Kenneth Skovhede and GitHub
153a972853
Merge branch 'master' into fix-stop-after-current-file
2019-09-17 10:06:36 +02:00
BlueBlock
f1895acff5
add the fileset file to dlist
...
we also jsut set PartialBackup=false just to be clear and not assume the value
2019-09-10 13:05:45 -04:00
BlueBlock
7f73616614
add purging of deleted remote volumes
2019-09-07 17:16:34 -04:00
BlueBlock
9ae3f88dd5
Merge remote-tracking branch 'upstream/master' into fix-stop-after-current-file
2019-08-16 23:46:55 -04:00
BlueBlock
08e2c18185
add handling of a partial backup
...
- add backup state to DB table 'fileset' (job database upgrade to version 10)
- modify the Restore page dropdown to display if a backup is "partial"
- modify retention logic to remove partial backups only when the next recent full-backup has been removed
2019-08-05 20:14:05 -04:00
BlueBlock
ca736c74de
update the backups stats also when a bcakup is cancelled
...
PostBackupVerification() was being skipped when a bcakup was cancelled. PostBackupVerification() will now be called.
2019-08-02 13:40:57 -04:00
drwtsn32x
cfeabfb2dd
Add auto vacuum interval option
2019-07-29 17:56:43 -07:00
BlueBlock
14e6068a5f
Also stop the file enum process when the user has cancelled
...
The file enumeration process should also stop when the user has cancelled the operation.
2019-07-24 15:58:44 -04:00
BlueBlock
b416c6c78b
fix - do not throw exception in case where user has asked to cancel
2019-07-24 15:02:30 -04:00
BlueBlock
29a1a7c618
fix stop after the current file
...
'stop after upload' is now
stop after the current file' and the operation will cleanly allow the current file to complete.
2019-07-23 10:35:33 -04:00
Kenneth Hsu
f954cf8bea
Remove unused variable.
2019-07-06 12:45:48 -07:00
drwtsn32x
41a639ddc5
Show vacuum in status message
2019-04-18 21:04:31 -07:00
Kenneth Hsu
19981ae59d
Simplify implementation of FlushBackend.
...
If the uploader throws an exception, we should not set the status of the
flush request and let the exception bubble up.
2019-03-31 19:38:42 -07:00
Kenneth Hsu
da4dabe838
Fix typo in async property name.
2019-03-28 20:53:55 -07:00
Sean Templeton
cc3e94fece
Fix code review comments and other minor changes
...
- Rename indexVolume to indexVolumeWriter in DataBlockProcessor to reduce
confusion.
- When flushing the remaining uploads, check the tasks for exceptions in
completion order rather than waiting for them all at once. If there is an
exception all other uploads are cancelled anyway.
- Remove setting the operation progress as Backup_WaitForUpload in the
BackendUploader since the BackupHandler sets it.
- Use an exception filter in BackendUploader.
- Use Options property MaxUploadPrSecond instead of getting the raw value.
2019-03-13 21:51:06 -05:00
Sean Templeton
3de04da39e
Run each upload on a separate thread
...
Added a small Worker class, private to the BackendUploader, to track the
upload tasks and the backend for each task.
2019-03-03 21:43:00 -06:00
Sean Templeton
1029d99e10
Simplify BackendUploader and remove unnecessary code
2019-03-03 21:42:58 -06:00
Sean Templeton
4f4529a88a
Move upload related code from BackendHandler to BackendUploader
...
As the BackendUploader is in charge of uploads the code has been moved
there to centralize the responsibility and prepare for parallel uploads.
2019-03-03 21:35:09 -06:00
Kenneth Hsu
8a31eac5c0
Avoid potential null reference exception.
2019-02-18 12:50:46 -08:00
Kenneth Hsu
b5d9451b33
Remove redundant casts.
2019-01-21 19:30:52 -08:00
Kenneth Skovhede and GitHub
b961fbd744
Merge pull request #3584 from Pectojin/remove_build_lookup_table_method
...
Remove unsed method and call
2019-01-13 10:31:24 +01:00
Hendrik and GitHub
c34c66bd34
Merge pull request #3582 from warwickmm/backup_test_percentage
...
Add option to specify percentage of samples for verification
2019-01-05 18:52:27 +01:00
Rune Henriksen
f696842877
remove unsed method and call
2019-01-05 00:30:43 +01:00
Kenneth Hsu
edfa7096f6
Add option to specify percentage of samples for verification.
...
This addresses issue #3296 .
2019-01-02 15:51:19 -08:00
Kenneth Hsu
a179a535c8
Rename local variables to better indicate that they are unused.
2018-12-31 14:59:47 -08:00
verhoek
ab12be6bbd
Renamed IsClientLinux to IsClientPosix .
2018-11-03 09:26:04 +01:00
verhoek
8bb406cd15
Migrated to use the platform class.
2018-11-02 22:17:16 +01:00
verhoek
b2cc18426c
Renamed Library.IO to Library.Common.IO.
...
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek
1275f14405
Replaced DirectorySeparatorChar.ToString() calls.
2018-11-02 17:45:00 +01:00
verhoek
bc053df294
Moved basic IO helper functions to Library.IO.
2018-10-27 12:17:07 +02:00
Rune Henriksen and GitHub
be7edb580d
Merge pull request #3410 from warwickmm/simplify_enumerating_collections
...
Simplify enumeration of collections
2018-10-07 19:06:28 +02:00
Kenneth Hsu
b824c86c7e
Avoid unnecessary enumeration of collections.
...
This improves performance by using Any() to avoid unnecessary
enumeration of collections.
2018-10-06 16:20:18 -07:00
Kenneth Hsu
d72128ec83
Remove unused method parameters.
2018-10-06 15:09:43 -07:00
Kenneth Skovhede
ca1872ce57
Added an option to disable filelist consistency checks as it was reported to slow backups with a large number of filesets.
...
This addresses #3194
2018-08-14 15:21:54 +02:00
Kenneth Hsu
54c4f9224d
Allow tasks to complete on any thread when context is irrelevant.
...
When the code following the await can be executed on any thread, it's
recommended to use ConfigureAwait(false) to avoid unnecessary context
switching and potential deadlocks.
2018-06-21 19:28:27 -07:00
Kenneth Hsu
f12858e6a5
Mark fields that shouldn't be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Daniel Gehriger
8236cae390
USN change journal based backup now correctly reporting source size
2018-05-02 11:24:24 +02:00
Daniel Gehriger
ad8a3f4d4e
Simplified USN journal interface; corrected folder enumeration broken due to latest merge with master
2018-04-26 23:03:50 +02:00
Daniel Gehriger
7a4467f06c
Using DB to calculate fileset size and number of files
2018-04-25 17:32:50 +02:00
Daniel Gehriger
0b43c467c7
Merge remote-tracking branch 'upstream/master' into feature/usn
2018-04-25 17:19:13 +02:00
Kenneth Skovhede
83950e78c6
Merge branch 'feature/ignore_filenames_option' into feature/exclude_empty_folders
...
# Conflicts:
# Duplicati/Library/Main/Operation/Backup/CountFilesHandler.cs
# Duplicati/Library/Main/Operation/Backup/FileEnumerationProcess.cs
# Duplicati/Library/Main/Operation/BackupHandler.cs
# Duplicati/Library/Main/Operation/TestFilterHandler.cs
# Duplicati/Library/Main/Options.cs
# Duplicati/Library/Main/Strings.cs
2018-04-24 14:46:46 +02:00
Kenneth Skovhede
c6be934747
Implemented empty folder exclusion flag
2018-04-24 13:11:03 +02:00
Kenneth Skovhede
e51e1b9e5a
Implemented option to use exclude filenames to mark folders for exclusion by placing a specially named file inside
2018-04-24 11:25:37 +02:00
Daniel Gehriger
1af7f9e0ca
Merge remote-tracking branch 'upstream/master' into feature/usn
2018-04-23 22:28:27 +02:00
Daniel Gehriger
8ff7681b89
Enabling USN in conjunction with snapshots
2018-04-23 11:45:18 +02:00