Commit Graph
3969 Commits
Author SHA1 Message Date
Kenneth Skovhede a5df2001ec Attempting to fix a build error on Travis 2017-08-04 14:12:18 +02:00
Kenneth Skovhede b4f9d8223e Updated SharpCompress to the latest version 2017-08-04 14:03:37 +02:00
Dan Stahr 7c9b2fcd83 Fixed missed vacuum reference. 2017-08-04 12:26:15 +01:00
Dan Stahr 58a95e03e6 Autovacuum option added 2017-08-04 12:09:01 +01: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 b9dfc4de16 Merge branch 'master' into concurrent_processing 2017-08-02 09:34:34 +02:00
Kenneth Skovhede 1b3ede8921 Fixed not reading a custom http message 2017-08-01 11:48:38 +02:00
Michael PapinandGitHub 8f2c7e532c Selectel Cloud Storage added
https://selectel.com/services/cloud/storage/
2017-07-21 14:19:54 +03:00
Kenneth Skovhede 392d833b90 Fixed wrong option name for zip-compression-zip64. 2017-07-05 10:20:22 +02:00
Kenneth Skovhede d09868e993 Added zip64 support to the ZipCompressionModule 2017-06-29 14:50:48 +02:00
MaxandGitHub b620f5b708 Merge pull request #30 from duplicati/master
upstream
2017-06-28 23:52:23 +02:00
Kenneth Skovhede c4992a6001 Merge branch 'feature/update_aws_libs' 2017-06-28 10:56:15 +02:00
Kenneth Skovhede 1cc5b633ed Merge branch 'master' into concurrent_processing 2017-06-28 09:50:00 +02:00
Kenneth Skovhede 9e69ba2002 Updated S3 libraries 2017-06-28 09:48:58 +02:00
Kenneth Skovhede 6c5dee6079 Added comments 2017-06-27 22:00:44 +02:00
Kenneth Skovhede 9433c34e5e Also use %LOCALAPPDATA% for storing the database and config for the commandline on Windows.
This fixes #2348
This adresses parts of #2222
2017-06-27 21:45:04 +02:00
Max ca84a9462b added console support on windows 2017-06-22 15:10:31 +02:00
Kenneth Skovhede 66cf98a8b3 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
2017-06-20 15:17:02 +02:00
Kenneth Skovhede 591742d271 Merge branch 'feature/add_throttle_ui'
# Conflicts:
#	Duplicati/Server/webroot/ngax/styles/style.css
2017-06-20 14:53:13 +02:00
Kenneth Skovhede 2f11bcd294 Merge branch 'feature/update_ui_texts' 2017-06-20 13:58:10 +02:00
Kenneth Skovhede a2b5b01048 Fixed a case where aborting the thread does not trigger an exception, and thus keeps running 2017-06-20 13:04:37 +02:00
Kenneth Skovhede da0de9983b Implemented the live throttle control.
This fixes #1730
This fixes #1261
2017-06-20 13:00:52 +02:00
Kenneth Skovhede a0d9ad5d4e Changed --backup-prefix hint texts to --prefix.
This fixes #2548
2017-06-19 22:06:35 +02:00
Kenneth Skovhede a1314d7f0b Merge branch 'feature/duplicate_blocklisthashupdate' 2017-06-15 10:40:04 +02:00
Kenneth Skovhede 315b913626 Merge branch 'feature/envvar_fs_casesensitive' 2017-06-15 10:08:37 +02:00
Kenneth Skovhede c5de213635 Added the unique constraint.
This fixes #2302
This fixes #2537
2017-06-15 10:07:58 +02:00
Kenneth Skovhede f1793b82dd Merge branch 'master' of https://github.com/zed9h/duplicati into zed9h-master 2017-06-15 09:54:28 +02:00
agrajaghh 4b45cbdcaa fix typo 2017-06-14 23:30:21 +02:00
Kenneth SkovhedeandGitHub e88afa4361 Merge pull request #2528 from IGTHORN/master
Bug fix for "Include/Exclude filters not available to run-script" #2440
2017-06-14 23:09:57 +02:00
Kenneth Skovhede f6adccddb0 Added environment variable to allow setting the filesystem case sensitivity 2017-06-14 22:50:15 +02:00
jondoe a643ed230a Updated fix for #2440 based on review feedback. 2017-06-14 20:38:09 +02:00
Dan Stahr 3ef13d2c57 Fixed a condition in ListChangesHandler.
The compare command was failing with ArgumentNullException.
2017-06-10 09:34:45 +01:00
Kenneth Skovhede 5f0ade5b0c Merge branch 'master' into concurrent_processing 2017-06-09 13:14:48 +02:00
Dan Stahr 377aef5fe1 Corrected path to the new files. 2017-06-08 23:21:25 +01:00
Dan Stahr 8c3d83f9af ...and add the files to the project as well 2017-06-08 16:24:06 +01:00
Dan Stahr d0f8fffc25 Added support for executing non-SQL code when performing a database update.
Some of the database migrations I'm planning to perform are very slow if using SQL only
or entirely impossible using the standard SQLite toolchain. I added a simple interface
with "before SQL" and "after SQL" hooks so that a database upgrade can perform custom
code operations as well.
2017-06-08 15:50:03 +01:00
jondoe 8be7b1370e Merge branch 'master' of https://github.com/IGTHORN/duplicati 2017-06-07 22:00:46 +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
Oliver Kötter 49b43a00d0 Stop iterating though the path if remaining path is \\
Fixes crash when restoring files backuped from unc paths 

Fixes #2469
2017-06-07 08:24:09 +02:00
Kenneth Skovhede 104a6614bf Attempt to update the Azure backend 2017-06-02 14:41:17 +02:00
Kenneth Skovhede 2b2e495e15 Added the <Prefer32Bit>False</Prefer32Bit> option to all executables.
This fixes #2519
2017-06-02 09:42:29 +02:00
Kenneth Skovhede ced3caa219 Changed back to SharpCompress as it is now updated with support for zip64 2017-06-01 10:49:34 +02:00
Kenneth Skovhede 76139f207e Merge branch 'master' into concurrent_processing 2017-05-30 14:00:24 +02:00
Kenneth Skovhede 4d77fd7ebc Flipped the check for existing metadata 2017-05-30 10:29:18 +02:00
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
Kenneth Skovhede d18431b385 Merge branch 'master' into concurrent_processing
# Conflicts:
#	Duplicati/Library/Main/Controller.cs
#	Duplicati/Library/Main/Database/ExtensionMethods.cs
#	Duplicati/Library/Main/Database/LocalBackupDatabase.cs
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Main/Operation/BackupHandler.cs
#	Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
#	Duplicati/Library/Main/ResultClasses.cs

First attempt at merging all changes from 2016-10-08 to now :/
2017-05-30 00:35:31 +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