Commit Graph
1771 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub a046bf60a0 Merge pull request #2500 from vnau/master
Test write permissions on 'FTP Test connection'
2017-05-30 00:56:02 +02:00
Kenneth SkovhedeandGitHub a8fe193f1e Merge pull request #2507 from downpoured/master
Proposed fix, --deleted-files causes Fatal error / System.FormatException
2017-05-30 00:53:18 +02:00
Ben Fisher 76f3769f70 Proposed fix, --deleted-files causes Fatal error / System.FormatException
A simple backup that specifies --deleted-files causes a Fatal error.
Shortened repro steps:
(See Github comment for full repro steps)
>duplicati.commandline.exe backup file://C:\data\local\testchangedfiles\destination "C:\data\local\testchangedfiles\source\\" --encryption-module="none" --no-encryption="true" --dbpath="testchangedfiles.sqlite"  --compression-module="zip" --keep-versions=-1  --no-auto-compact="true"
>del source\file6.txt
>duplicati.commandline.exe backup file://C:\data\local\testchangedfiles\destination "C:\data\local\testchangedfiles\source\\" --changed-files="C:\data\local\testchangedfiles\source\file1.txt;C:\data\local\testchangedfiles\source\file2.txt" --deleted-files="C:\data\local\testchangedfiles\source\file6.txt" --encryption-module="none" --no-encryption="true"  --dbpath="testchangedfiles.sqlite"  --compression-module="zip" --keep-versions=-1  --no-auto-compact="true"

Results in:
Fatal error => Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber
   at System.Number.ParseInt64
   at System.String.System.IConvertible.ToInt64
   at System.Convert.ToInt64
   at System.Data.SQLite.SQLiteStatement.BindParameter
   at System.Data.SQLite.SQLiteStatement.BindParameters
   at System.Data.SQLite.SQLiteCommand.BuildNextCommand
   at System.Data.SQLite.SQLiteCommand.GetStatement
   at System.Data.SQLite.SQLiteDataReader.NextResult
   at System.Data.SQLite.SQLiteDataReader..ctor
   at System.Data.SQLite.SQLiteCommand.ExecuteReader
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery
   at Duplicati.Library.Main.Database.LocalBackupDatabase.AppendFilesFromPreviousSet
   at Duplicati.Library.Main.Database.LocalBackupDatabase.AppendFilesFromPreviousSet
   at Duplicati.Library.Main.Operation.BackupHandler.RunMainOperation
   at Duplicati.Library.Main.Operation.BackupHandler.Run
   at Duplicati.Library.Main.Controller.RunAction[T]
   at Duplicati.Library.Main.Controller.Backup
   at Duplicati.CommandLine.Commands.Backup
   at Duplicati.CommandLine.Program.RunCommandLine
>Exit code: 100

With this patch, backup completes successfully.
2017-05-28 16:01:18 -07:00
vnau 8f6aacb8c6 AlternativeFTP Backend: Check access permissions (Read/Write/Delete) using test file during connection test.
Issue: #2473
2017-05-24 01:39:30 +07:00
Kenneth Skovhede 156f9c4982 Merge branch 'feature/improve_backup_speed' 2017-05-19 11:13:46 +02:00
Kenneth Skovhede 6cadaad56a Rewrote the query to use CROSS JOIN to force the SQLite query planner to consider the File table first. 2017-05-19 08:07:39 +02:00
Kenneth Skovhede d9014ee09c Changed query as suggested by @sjonez in issue #2442.
This fixes #2442.
2017-05-18 23:40:24 +02:00
Kenneth Skovhede 54f57bf674 Fixed setting the contentlength and checking if it is possible to set the AllowWriteStreamBuffering property.
This fixes #2483
2017-05-18 23:21:48 +02:00
Kenneth Skovhede bf7d36e380 Merge branch 'feature/fix_regex_listing' 2017-05-17 12:57:19 +02:00
Kenneth Skovhede 28ecfc9052 Merge branch 'feature/rework_buffer_avoidance' 2017-05-17 12:57:13 +02:00
Kenneth Skovhede b0be676dc4 Updating MailKit and AlphaVSS 2017-05-17 11:10:00 +02:00
Kenneth Skovhede 046b522a8d Updated NewtonSoft.Json 2017-05-17 11:08:51 +02:00
Kenneth Skovhede fd14c1649b Fixed the query used to search for files.
This fixes #2471
2017-05-17 11:00:43 +02:00
Kenneth Skovhede 5068e51ea7 Fixed the buffer avoidance flag for Delete in AMZCD. 2017-05-17 10:59:47 +02:00
Kenneth Skovhede 55e230ff49 Reworked the way the AllowWriteBuffering flag is set to fix errors caused by ContentLength not being set. 2017-05-17 10:59:07 +02:00
Kenneth Skovhede 015a92343f Avoids inserting delays if the same operation is performed repeatedly on AMZCD.
This should help with #1893
2017-04-21 12:55:29 +02:00
Kenneth Skovhede f9e5eeae0c Experiment to see if out-of-memory issues are solved by disabling the write buffer on HTTP requests.
This should help with #2320 and #2432
2017-04-17 21:47:58 +02:00
Kenneth Skovhede 5b4c7103f2 Added guard to prevent reading the stream further if it was already depleted.
Without this guard, it would be possible to extend the stream during processing and send wrong blocks forward.
This is likely a fix for issue #1400 and #2402
2017-04-11 21:21:02 +02:00
Kenneth Skovhede 1da9842546 Fixed duplicate string in S3 bucket regions 2017-04-09 21:58:37 +02:00
Kenneth Skovhede 3c45acd745 Made the order of picking compositional filter elements more explicit to avoid returning null values unless both filters are null 2017-04-06 12:37:42 +02:00
Kenneth Skovhede fe96e3a021 Rewrote the logic to check the full filter and not just the commandline arguments when guessing which kind of list to return. 2017-04-06 11:54:22 +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 eef7281d10 Added a multi-target message sink helper 2017-04-06 10:09:37 +02:00
Kenneth Skovhede 979ee0c585 Updated list of AWS S3 regions and servers 2017-04-05 22:44:40 +02:00
Kenneth Skovhede c99b23c1d5 Merge branch 'feature/commandline_ui' 2017-04-05 09:29:01 +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 d1746ca38c Added a --full-result commandline option to allow getting full file listings, without verbose output 2017-04-04 23:51:40 +02:00
Kenneth Skovhede 360a90b2ce Updated SharpCompress to a build from master to include the zip64 fixes 2017-04-04 17:11:01 +02:00
Dan Stahr 27c9e15875 Improved database performance and logging
- Don't use Vacuum() just before PurgeLogData (which performs vacuum() already)
 - Removed unncessary poorly performning query (after optimizing it I found out it's unused)
 - Correctly log calls for ExecuteScalarInt64
2017-03-23 15:22:58 +00:00
Kenneth Skovhede 29f67674a5 Comment fix 2017-03-22 23:25:47 +01:00
Albertony 4e1a638fca Fixed issue #2066: The command create-report appends zip even if output-file name already ends with .zip 2017-03-20 13:35:30 +01:00
Kenneth SkovhedeandGitHub e4e1291800 Merge pull request #2385 from koo5/tahoe_lafs_uri_message_fix
tahoe_lafs_uri_message_fix
2017-03-17 11:02:57 +01:00
Kenneth SkovhedeandGitHub a494761e78 Merge pull request #2383 from mnaiman/mail_string
updated description for mail server
2017-03-17 11:01:01 +01:00
koo5 f692b76650 tahoe_lafs_uri_message_fix 2017-03-17 10:55:37 +01:00
Max b820d970ac updated description 2017-03-16 22:57:41 +01:00
Kenneth SkovhedeandGitHub 7ea4a8986b Merge pull request #2377 from albertony/master
Dont create folder in AppData unnecessarily
2017-03-14 22:13:05 +01:00
agrajaghh ac169e2257 fix source string 2017-03-14 19:22:10 +01:00
Albertony e2d7759d94 Dont create folder in AppData unnecessarily 2017-03-14 13:08:49 +01:00
Kenneth SkovhedeandGitHub 663d0c03eb Merge pull request #2370 from albertony/master
Jottacloud backend: Minor adjustment in the verification of file state
2017-03-13 12:04:21 +01:00
Kenneth Skovhede 2ee110abb3 Added fix for faster commandline startup to the other commandline tools 2017-03-13 09:26:22 +01:00
Albertony 28489ce104 Jottacloud backend: Minor adjustment in verification of file state, to be sure we are handling it consistently in all operations. 2017-03-12 22:28:08 +01:00
Kenneth SkovhedeandGitHub 3071ac7c75 Merge pull request #2355 from albertony/jottacloud_backend
Jottacloud backend
2017-03-12 12:55:17 +01:00
Kenneth SkovhedeandGitHub 9d81d3da7e Merge pull request #2367 from Danstahr/master
Fixed an error in renaming absolute Windows paths.
2017-03-12 12:52:54 +01:00
Kenneth Skovhede aecb7a74a2 Added extra support code to the failover zip reader.
This should remove the errors in issue #1877 and #1869.
The real fix for not making the broken archives once the size is over 4GiB is pending an update to SharpCompress.
2017-03-12 12:36:24 +01:00
Kenneth Skovhede 62ea5aaca9 Merge branch 'experiment/add-fail-over-zip-reader' 2017-03-10 23:08:26 +01:00
Dan Stahr af14151d91 Fixed an error in renaming absolute Windows paths.
Previously, the output of the first replace was never used and therefore the absolute Windows paths were not restored
correctly.

The two patterns (i.e. ?: and \\) are disjoint so rewriting the previous result in case a match is found
for the second one is OK.
2017-03-10 22:01:24 +00:00
Kenneth SkovhedeandGitHub f3cabcac2e Merge pull request #2362 from frelis/update-manager-ignore-webroot-folder
Update manager : Ignore webroot Folder
2017-03-10 11:15:52 +01:00
Kenneth SkovhedeandGitHub 524c6820c4 Merge pull request #2366 from greyhoundforty/master
Added IBM Bluemix COS Offering in S3 provider list
2017-03-10 11:15:23 +01:00
Kenneth Skovhede b6f51a5380 Added tested fail-over support for reading broken zip files, which includes warnings in the log if the fail-over is activated. 2017-03-10 11:09:18 +01:00
Albertony f116f20623 Jottacloud backend: Changed to newer REST API - jfs.jottacloud.com instead of www.jottacloud.com, x-jftp-version:2.4 header instead of X-JottaAPIVersion:2.2. Simplified the implementation of uploading, as I found that the method which the official client uses is not the one based on multipart form-data. Fixed deletion, and deleting is now permanent instead of moving to trash. 2017-03-10 01:00:24 +01:00