Commit Graph
116 Commits
Author SHA1 Message Date
kenneth@hexad.dk 3dc3e9d90c Fixed a cross-os linefeed issue
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.2@1267 59da171f-624f-0410-aa54-27559c288bec
2012-05-10 20:33:01 +00:00
kenneth@hexad.dk 1ce5804884 Merged r1248, and r1255:r1259 into 1.3.2 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.2@1261 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 19:21:33 +00:00
kenneth@hexad.dk a5b039e62e Merged r1246 into 1.3.2 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.2@1247 59da171f-624f-0410-aa54-27559c288bec
2012-05-06 19:38:15 +00:00
kenneth@hexad.dk 223b5558fe Merged r1241 into 1.3.2 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.2@1242 59da171f-624f-0410-aa54-27559c288bec
2012-05-05 19:19:16 +00:00
kenneth@hexad.dk c66bf181f6 Merged r1169, r1170, r1171 into 1.3.1 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1172 59da171f-624f-0410-aa54-27559c288bec
2012-03-20 19:51:32 +00:00
kenneth@hexad.dk f6a7a74214 Merged r1159 and 1160 to 1.3.1 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1161 59da171f-624f-0410-aa54-27559c288bec
2012-03-17 19:49:49 +00:00
kenneth@hexad.dk 324f6a85ea Merged r1123 to 1.3.1 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1124 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:49:41 +00:00
kenneth@hexad.dk f0a49bc242 Updated 1.3.1 branch with fixes for Chinese translation, FTP backend and minor adjustments (r1117,r1118,r1119 and r1120)
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1122 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:43:44 +00:00
kenneth@hexad.dk a466ea1ac0 Merged FTP changes r1105 and r1106 to 1.3.1 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/1.3.1@1108 59da171f-624f-0410-aa54-27559c288bec
2012-01-19 19:28:01 +00:00
kenneth@hexad.dk c387c9d9db Fixed some issues with signing that cause problems under MonoDevelop
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1054 59da171f-624f-0410-aa54-27559c288bec
2011-12-06 09:54:38 +00:00
kenneth@hexad.dk 48accd49bc Revert bogus commit r1051
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1053 59da171f-624f-0410-aa54-27559c288bec
2011-12-05 17:17:54 +00:00
kenneth@hexad.dk 3ef5514162 Update issue #504
Status: Fixed

The mkdir command is now executed without a trailing slash.
Since this is too close to the release of 1.3, there is a fallback that will try with a trailing slash as well, to catch the odd case where a SSH server has the opposite problem.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1051 59da171f-624f-0410-aa54-27559c288bec
2011-12-05 17:05:57 +00:00
kenneth.skovhede@gmail.com 95d49bf120 Updated backendtester to also attempt to overwrite uploaded files, as both SkyDrive and GoogleDocs had problems with that.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@943 59da171f-624f-0410-aa54-27559c288bec
2011-10-25 19:01:55 +00:00
kenneth.skovhede@gmail.com 41b1a5ad4a Added a protection against partial downloads
git-svn-id: https://duplicati.googlecode.com/svn/trunk@941 59da171f-624f-0410-aa54-27559c288bec
2011-10-22 14:55:06 +00:00
kenneth.skovhede@gmail.com c138d1668e Added the delete-all-but-n command
git-svn-id: https://duplicati.googlecode.com/svn/trunk@939 59da171f-624f-0410-aa54-27559c288bec
2011-10-19 05:50:10 +00:00
kenneth.skovhede@gmail.com 0b8b0d44ea Update issue #392
Status: Fixed

There is now a more consistent parsing of boolean commandline parameters.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@918 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 05:35:49 +00:00
kenneth.skovhede@gmail.com c85deda4c4 Updated project files to VS2010 instead of the rather outdated VS2008, this should make things easier for new people joining in.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@874 59da171f-624f-0410-aa54-27559c288bec
2011-09-09 17:10:35 +00:00
kenneth.skovhede@gmail.com bdc3ce0dd9 Update issue #376
Status: Fixed

There is now a Google Docs backend.

The API turned out to be broken (or at least hard to use correctly) for uploading files,
so I eventually wrote a custom uploader. The custom uploader can also upload files larger
than 10 MB.

I have tested this with my usual test setup, but let me know if there are any issues with it.
A preview release will be put on the download page asap.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@835 59da171f-624f-0410-aa54-27559c288bec
2011-07-23 15:18:40 +00:00
kenneth.skovhede@gmail.com a2c69ee672 Made some user-experience enhancements for the commandline interface
git-svn-id: https://duplicati.googlecode.com/svn/trunk@833 59da171f-624f-0410-aa54-27559c288bec
2011-07-23 14:57:32 +00:00
kenneth.skovhede@gmail.com 992f696b29 Update issue #119
Status: Fixed

There is now a SkyDrive backend.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@820 59da171f-624f-0410-aa54-27559c288bec
2011-06-29 06:30:02 +00:00
kenneth.skovhede@gmail.com db8cdd0dd2 Update issue #160
Status: Fixed

Changed to the AWSSDK library, which fixes a few quirks, but basically seems to be the Affirma version slightly renamed.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@811 59da171f-624f-0410-aa54-27559c288bec
2011-06-23 21:37:14 +00:00
kenneth.skovhede@gmail.com b0a359fd27 Updated license text
git-svn-id: https://duplicati.googlecode.com/svn/trunk@770 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 19:52:28 +00:00
kenneth.skovhede@gmail.com fb62721ea2 Changed the way the commandline usage text is stored, so it is easier to localize
git-svn-id: https://duplicati.googlecode.com/svn/trunk@734 59da171f-624f-0410-aa54-27559c288bec
2011-03-27 15:07:55 +00:00
kenneth.skovhede@gmail.com c753e7c622 Changed the default filesize to be -1 to differentiate files with length = 0 from those with no reported length.
Now also stores the filename+size of signature/content files to ensure that the parsed filenames match the expected ones.
The filesize and filenames are used to verify that the remote file is complete, without downloading it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@716 59da171f-624f-0410-aa54-27559c288bec
2011-03-11 18:42:20 +00:00
kenneth.skovhede@gmail.com 7103be633c Update issue #353
Status: Fixed

The outer-hash fix was done with r711.
In r711 there is also an option to run Duplicati.CommandLine with the "verify" command.
Finally r711 also has an option to create a verification file on the backend,
using the --create-verification-file option.

This commit adds a small python script that can be used to verify the files
on the remote backend without using the backup password.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@712 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 18:48:41 +00:00
kenneth.skovhede@gmail.com b834dab602 This commit upgrades the manifest version number to 3.
This commit includes an option to create an unencrypted verification file.
There is now a check to see if all volumes mentioned in the manifest exists,
before performing backup/restore operations.
This check is also performed on cleanup.
There is now a check that prevents auto-cleanup from removing more than
2 orphan files. 

If a delete-older-than or delete-all-but-n-full is interrupted, the leftover
files will not be auto-deleted but must be deleted with the cleanup command,
which allows the user to see what files are delete.

Update issue #360
Status: Fixed

There is now a complete verification chain, where the manifest hashes are verified backwards.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@711 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 18:26:38 +00:00
kenneth.skovhede@gmail.com 6710acbf2e Fixed a warning in the unittest
git-svn-id: https://duplicati.googlecode.com/svn/trunk@667 59da171f-624f-0410-aa54-27559c288bec
2010-12-30 15:30:15 +00:00
kenneth.skovhede@gmail.com 017d63ba63 Fixed some documentation errors and typos
git-svn-id: https://duplicati.googlecode.com/svn/trunk@661 59da171f-624f-0410-aa54-27559c288bec
2010-12-30 14:47:58 +00:00
kenneth.skovhede@gmail.com 75000e64eb Update issue #321
Status: Fixed

There were some issues with namespaces and signing of the files,
which caused the translations to not load.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@649 59da171f-624f-0410-aa54-27559c288bec
2010-12-28 14:27:34 +00:00
kenneth.skovhede@gmail.com 66bd9acfc8 Added support for custom version numbers, so 1.99.0.605 can be displayed as "1.2 beta 1"
git-svn-id: https://duplicati.googlecode.com/svn/trunk@647 59da171f-624f-0410-aa54-27559c288bec
2010-12-28 12:55:03 +00:00
kenneth.skovhede@gmail.com 1d1dac4411 Added an option to create folders with the backendtester
git-svn-id: https://duplicati.googlecode.com/svn/trunk@624 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:28:05 +00:00
kenneth.skovhede@gmail.com 581a9d0664 Update issue #206
Status: Fixed
There is now a Tahoe-LAFS backend option.
It is quite new, so obviously it is fairly untested in real life.
It passes all unittests, and is largely based on the WEBDAV backend which as seen some action.
I will put up a preview build with Tahoe-LAFS support soon.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@623 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:23:54 +00:00
kenneth.skovhede@gmail.com e7dc268fad Renamed the Duplicati.Library.Core dll to Duplicati.Library.Utility as the "Core" name was misleading.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@591 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 11:08:15 +00:00
kenneth.skovhede@gmail.com dd44e684d1 Update issue #32
Status: Fixed

USN is now activated by default on windows, but requires Administrative privileges.
If it fails to activate, it is silently ignored, and normal filesystem enumeration is used.
Set --usn-policy to:
"on" to get a warning if it fails,
"required" to abort the backup if it fails
"off" to disable USN
"auto" to silently ignore a fail


git-svn-id: https://duplicati.googlecode.com/svn/trunk@584 59da171f-624f-0410-aa54-27559c288bec
2010-11-17 19:45:25 +00:00
kenneth.skovhede@gmail.com 91a14b451d Added a DEBUG text to all dialogs and the commandline version number
git-svn-id: https://duplicati.googlecode.com/svn/trunk@578 59da171f-624f-0410-aa54-27559c288bec
2010-11-05 06:56:07 +00:00
kenneth.skovhede@gmail.com 38b1fa2ac4 Update issue #187
I have updated the app.config file to include the useLegacyV2RuntimeActivationPolicy="true" attribute, and I can open and run it directly from VS2010 (after upgrade wizard),
and it seems to retain the attribute, and not cause trouble for 2.0.

If someone wants to produce a installer from a VS2010 build, beware that the build script uses a custom app.config file which will overwrite this one.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@575 59da171f-624f-0410-aa54-27559c288bec
2010-11-02 21:13:46 +00:00
kenneth.skovhede@gmail.com e99c894b40 Fixed a problem with the unittest that occured after the friendly foldername restore.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@567 59da171f-624f-0410-aa54-27559c288bec
2010-10-29 20:49:17 +00:00
kenneth.skovhede@gmail.com b69935e0cc Update issue #264
Status: Fixed
Added a find-last-version command to the commandline version,
it takes the same input as a restore operation, so
use --file-to-restore to supply a list of files to search for.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@559 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 13:10:54 +00:00
kenneth.skovhede@gmail.com 6cbe503d28 The logic for missing folders on the backends have changed.
Previously some backends autocreated a missing folder, and some threw an exception.

The new standard is that all backends throw the FolderMissingException on all access (except delete).
This means that the Test() and List() methods are now the same for all stock backends.
Third-party applications that use the backends should implement custom logic to auto-create the folders,
when the FolderMissingException is encountered.

Duplicati auto-creates missing folders, but this can be toggled through the new flag --disable-autocreate-folders.
In case the auto-create fails to detect a missing folder, there is now a "create-folder" action in the commandline version.

Update issue #102
Status: Fixed
The IBackend_v2 interface has the CreateFolder and Test methods.
The CreateFolder is exposed to the commandline interface with the action create-folder.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@558 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 11:40:43 +00:00
kenneth.skovhede@gmail.com 8f41ee39a2 Update issue #283
I have now fixed the issue, and tested it on the file provided.
It seems to compress better now, although the file contains sporadic changes,
even if only a single line was added. The restore also works as expected,
and the update works on my unittest.

Could you please try the updated version and see if it works as expected for you as well?

With regards to the "no else statement" (comment 7), I think that you discovered another
bug, which I have also fixed. The else statement is there to ensure that the buffer is completely filled,
so long chains of unmatched data gets written with as few commands as possible. So, on the first entry,
the copy command is flushed and the force_buffer_refill is set, causing the buffer to refill.
The bug was that IF the buffer was already full, the stream would read 0 bytes, and return a count of 0.
This was then interpreted as if the stream was empty (it returns zero when empty). I have now fixed that
with a check for this special case.

I have also included an update to the ChecksumFileReader that splits the previous m_weakTable into two
separate arrays, as that gives a faster lookup, than using a custom comparer. I also added support for
very large files (files larger than blocksize * int.MaxValue, appx. 4TB).

git-svn-id: https://duplicati.googlecode.com/svn/trunk@548 59da171f-624f-0410-aa54-27559c288bec
2010-10-18 20:48:59 +00:00
kenneth.skovhede@gmail.com d0f6c3bdec Update the usage to include the collection-status command
git-svn-id: https://duplicati.googlecode.com/svn/trunk@545 59da171f-624f-0410-aa54-27559c288bec
2010-10-15 16:10:43 +00:00
kenneth.skovhede@gmail.com 7dc0d3cee7 Fixed some issues with passwordless operations.
Update issue #235
I have now added a simple version of the collection-status command,
which shows Type, Time, Volume count and Size for each backup set,
with the incrementals listed under the full's they belong to.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@540 59da171f-624f-0410-aa54-27559c288bec
2010-10-09 16:46:52 +00:00
kenneth.skovhede@gmail.com b81d63ea73 Fixed a bug with async uploads that caused some files to no be uploaded.
Fixed a protential race condition with warning messages and file counts (cosmetic only) when using async transfers.
Spelling correction, Seperator -> Separator.
Changed so a restore operation can also supply advanced options.
Changed the format of timestamps in filenames to follow the Duplicity convention, which removes the need for --time-separator and --use-short-filenames.
Moved the URL utility into Core, to avoid compilation errors with Monodevelop.
Reorganized the runner to better support the LiveControls on all operations rather than only for backup/restore.

Update issue #210
Status: Fixed
I have now changed the time format to follow the Duplicity naming convention.
This means that all filenames are now generated with the time set as "yyyyMMddTHHmmssZ".
This format is more portable across all platforms, and easily sortable/readable.
The drawback is that the Z indicates UTC time, so if one looks at the filenames, 
the times are not local. The motivation for this is to avoid trouble
with daylight savings time offsets.

There is full backwards compatibility as long as backups have not used more than
one character for --time-separator (only possible via commandline).
This new format means that the options --time-separator and --use-short-filenames
are now deprecated and removed from the user interface. It is possible to
access them from the advanced options page, along with the --use-old-filenames option.

If anyone needs these options for some reason, let me know, otherwise they will be removed
in a later version.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@523 59da171f-624f-0410-aa54-27559c288bec
2010-09-25 12:02:14 +00:00
kenneth.skovhede@gmail.com df085e4271 Update issue #221
Status: Fixed
Added the first generic module, a password request module.
The motivation for this is to allow the creation of custom passphrase modules.
A simple model would be to add a GUI input dialog. 
A more sophisticated version may read a passphrase to an encrypted file which contains the real passphrase or similar.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@519 59da171f-624f-0410-aa54-27559c288bec
2010-09-17 16:20:16 +00:00
kenneth.skovhede@gmail.com 08a58bfdbb Update issue #262
Status: Fixed

It turns out that the fix to enable filters disabled the --file-to-restore option.
I have fixed that and also updated the restore output to correctly reflect what has happened during the restore.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@505 59da171f-624f-0410-aa54-27559c288bec
2010-09-11 11:12:46 +00:00
kenneth.skovhede@gmail.com 5bc2dc3d35 Fix for building with MonoDevelop (and VS < 2008).
git-svn-id: https://duplicati.googlecode.com/svn/trunk@503 59da171f-624f-0410-aa54-27559c288bec
2010-09-09 17:18:33 +00:00
kenneth.skovhede@gmail.com a2c6b7c0a5 Added a license tab to the options dialog to ensure compliance with thirdparty licenses.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@496 59da171f-624f-0410-aa54-27559c288bec
2010-09-07 16:53:33 +00:00
kenneth.skovhede@gmail.com 88ca81777d Fixed a problem with filters and the CommandLine version, see issue #258.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@494 59da171f-624f-0410-aa54-27559c288bec
2010-09-04 12:24:46 +00:00
kenneth.skovhede@gmail.com 4aca3e0aee Update issue #47
Status: Fixed
I have now added a 32bit version of gpg.exe and pscp.exe to the
package. On startup, the subfolder "win-tools" is appended to the
PATH environment variable, making them available from within Duplicati,
but preferring any system path items.

This only happens on windows. 
I assume any decent Linux distro has scp, expect and gpg.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@491 59da171f-624f-0410-aa54-27559c288bec
2010-09-01 21:06:33 +00:00
kenneth.skovhede@gmail.com ebe68c9c70 Fixes issue #110.
Also fixed a bug with the "allow-full-removal" option.

Update issue 110
I have now added a limit to the number of generated volumes, and as described, it is 2 by default.
I have also added support for setting a custom folder where the volumes are placed in. They are placed in the temp folder by default.

I re-read the comments on this issue, and I can see that I misread the statements from Baris.Eris.
This limit does not prevent any volumes from being uploaded (you can use the --totalsize option for that),
it just pauses the volume generation when there are already two or more volumes waiting to be uploaded.
As soon as a volume is uploaded, the program continues. The purpose of this is not to limit the data being
uploaded, but rather to prevent spamming the disk with hundreds of volumes.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@476 59da171f-624f-0410-aa54-27559c288bec
2010-08-17 16:09:36 +00:00