Commit Graph
680 Commits
Author SHA1 Message Date
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
kenneth.skovhede@gmail.com 8e74a65706 Fixed a problem where the innerException information is lost
git-svn-id: https://duplicati.googlecode.com/svn/trunk@474 59da171f-624f-0410-aa54-27559c288bec
2010-08-15 16:20:47 +00:00
kenneth.skovhede@gmail.com 92829fa393 Fixed issue #242.
Corrected a lot of avalible -> available and recieve -> receive spelling errors.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@462 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:37:15 +00:00
kenneth.skovhede@gmail.com 51552bea24 Fixes for issue #18.
Added snapshot support using either VSS (win xp/vista/7) or LVM (linux).
Using the snapshot feature requires administrative/root privileges, and is toggled by the "snapshot-policy" option (by commandline or in advanced settings).

Also improved the validation of options to not show incorrect warnings.
This fixes issue #233.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@461 59da171f-624f-0410-aa54-27559c288bec
2010-08-12 18:32:15 +00:00
kenneth.skovhede@gmail.com 1153d097fc Fixed various version information
git-svn-id: https://duplicati.googlecode.com/svn/trunk@460 59da171f-624f-0410-aa54-27559c288bec
2010-08-11 07:23:34 +00:00
kenneth.skovhede@gmail.com a40f6acf37 A fairly large refactoring of the code.
This was based on the idea that the interfaces should remain static.
I hope this change is enough to ensure stable interfaces until release 1.2.

Overview of changes:
Moved all interfaces into the same dll.
Encryption and compression is now plugable modules, just as the backends.
Encryption/compression can now register an UI.
Encryption now uses AESCrypt as a default.
GPG does not default to using the --armor option.
Added support for generic modules, but none are written yet.
Added support for plugable settings pages in the "Options" dialog.

Fixed issue #148.
Duplicati now uses AESCrypt as the default encryption format.

Fixed issue #199.
GPG now supports custom commandline options.

Fixed issue #207.
Encryption modules are now plugable.

Fixed issue #118.
S3 credentials are now stored.

Fixed issue #151.
Backends can now register system wide options.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:08:21 +00:00
kenneth.skovhede@gmail.com 70708fc454 Fixed issue #136.
Fixed issue #182.
Fixed an error with the commandline version reported in the forum.
Added improved error output.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@417 59da171f-624f-0410-aa54-27559c288bec
2010-05-24 09:00:03 +00:00
kenneth.skovhede@gmail.com 50f06f0f3a Merge Sandbox Issue #5 into trunk.
Fixed issue #5.
Fixed issue #48.
Fixed issue #58.
Fixed issue #194.
Fixed issue #195.
Fixed issue #201.
Fixed issue #137.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@400 59da171f-624f-0410-aa54-27559c288bec
2010-05-12 08:41:54 +00:00
kenneth.skovhede@gmail.com e9f8ac065f Fixed issue #192.
Fixed an issue with + in filenames.
Added spaces and + to the ExtendedChars of the backend tester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@390 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 20:11:38 +00:00
kenneth.skovhede@gmail.com 21f503318c Added option to compile as x86, to support 64bit debugging, see:
http://www.slickit.ca/2009/06/fixing-visual-studios-edit-and-continue.html

git-svn-id: https://duplicati.googlecode.com/svn/trunk@387 59da171f-624f-0410-aa54-27559c288bec
2010-03-30 15:09:28 +00:00
kenneth.skovhede@gmail.com d8660416c0 Cleaned up passphrase reading in the commandline version.
Fixed an incorrect specifier for Year in the time parser.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@353 59da171f-624f-0410-aa54-27559c288bec
2010-01-30 20:37:27 +00:00
kenneth.skovhede@gmail.com 1f87e01fc7 Fixed issue #129.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@337 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:21:08 +00:00
kenneth.skovhede@gmail.com 6ab09c193e Fixed a bug with the commandline decrypter.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@321 59da171f-624f-0410-aa54-27559c288bec
2010-01-15 20:27:50 +00:00
kenneth.skovhede@gmail.com 05bfadbc41 Updated License notice to 2010
git-svn-id: https://duplicati.googlecode.com/svn/trunk@311 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:57:13 +00:00
kenneth.skovhede@gmail.com f64e7ad8d7 Build r276
git-svn-id: https://duplicati.googlecode.com/svn/trunk@276 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:23:46 +00:00
kenneth.skovhede@gmail.com 205ccdbbb0 Work on for issue #59, the timeout should now be obeyed correctly.
Slight modification for the printout in the backend tester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@275 59da171f-624f-0410-aa54-27559c288bec
2009-09-14 20:15:04 +00:00
kenneth.skovhede@gmail.com 0b82b67d38 Adjusted install build procedure to work with a clean checkout and a release build.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@272 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 21:18:18 +00:00
kenneth.skovhede@gmail.com 6167b04e75 Removed unused code, thanks to the warnings given by MonoDevelop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@270 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:40:31 +00:00
kenneth.skovhede@gmail.com 18cf1549e6 Fixes for the S3 backend under Linux.
Also cleaned up the backend, and removed the Wrapper which was unused.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@266 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 17:53:19 +00:00
kenneth.skovhede@gmail.com 36ff6e736d Updated license texts and bumped version numbers
git-svn-id: https://duplicati.googlecode.com/svn/trunk@261 59da171f-624f-0410-aa54-27559c288bec
2009-08-20 20:54:43 +00:00
kenneth.skovhede@gmail.com c6fe80a805 Added option to switch temp folder for the backend tester
git-svn-id: https://duplicati.googlecode.com/svn/trunk@256 59da171f-624f-0410-aa54-27559c288bec
2009-08-10 20:54:13 +00:00
kenneth.skovhede@gmail.com 178d567ed8 Issue #43, the CloudFiles backend is now complete and can be used from the CommandLine.
Still needs to create a UI for it before it is avalible in the Wizard.
Added a non-seekable stream class to further improve on the reliability of the backendtester.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@245 59da171f-624f-0410-aa54-27559c288bec
2009-08-01 12:26:28 +00:00
kenneth.skovhede@gmail.com 55ca654e73 Support for compiling under MonoDevelop
git-svn-id: https://duplicati.googlecode.com/svn/trunk@241 59da171f-624f-0410-aa54-27559c288bec
2009-07-25 09:03:37 +00:00
kenneth.skovhede@gmail.com 17306fe5f5 Work on issue #84, WEBDAV errors with Apache.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@235 59da171f-624f-0410-aa54-27559c288bec
2009-07-19 22:09:43 +00:00
kenneth.skovhede@gmail.com bc3be0eecb Fixed issue #80, Add backend tester.
Fixed a timing issue in the SSH backend, which hopefully solves issue #59.
An error message indicating missing executable filenames was switched between linux and windows.
Added a number of app.config files.
Updated version numbers.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@229 59da171f-624f-0410-aa54-27559c288bec
2009-07-19 12:08:59 +00:00
kenneth.skovhede@gmail.com 9b13c60a01 Added a FTP_USERNAME environment variable and corresponding --ftp-username option.
Fixed issue #86.
Fixed issue #87.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@225 59da171f-624f-0410-aa54-27559c288bec
2009-07-16 20:36:49 +00:00
kenneth.skovhede@gmail.com f4fe982aef Fixed issue #81, Unicode support, thanks to Colm.
Fixed a debug commit which made the CommandLine version exit immediately.
Added a safeguard for broken language selections in the database.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@224 59da171f-624f-0410-aa54-27559c288bec
2009-07-16 20:01:46 +00:00
kenneth.skovhede@gmail.com 72c92dd78b Made the LocalizationTool more SDK version independant.
Updated some sub-projects to VS 2008, fixed .Net 3.5 dependencies to 2.0.
Added a language selection option to the settings dialog.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@222 59da171f-624f-0410-aa54-27559c288bec
2009-07-14 22:26:22 +00:00
kenneth.skovhede@gmail.com 17f87d1328 Updated to VS 2009 Express.
Added WixProjBuilder to build the Wix projects without MSBuild support.
Simplified the build/release process.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@215 59da171f-624f-0410-aa54-27559c288bec
2009-07-05 11:41:02 +00:00
kenneth.skovhede@gmail.com d5e2cb65c2 First version of the LocalizationTool, you can now generate resx files for a language.
Added a stub version of the danish translation files, which are not yet translated.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@198 59da171f-624f-0410-aa54-27559c288bec
2009-06-21 20:22:49 +00:00
kenneth.skovhede@gmail.com 79c99336ab A heavy chunk of work on the translation support.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@196 59da171f-624f-0410-aa54-27559c288bec
2009-06-14 21:51:06 +00:00
kenneth.skovhede@gmail.com b2f7ed7132 Updated version numbers for the 1.0 Final release.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@183 59da171f-624f-0410-aa54-27559c288bec
2009-06-08 22:34:26 +00:00
kenneth.skovhede@gmail.com 066b1965e5 Build for version 1.0 RC2
Included How to build release.txt

git-svn-id: https://duplicati.googlecode.com/svn/trunk@176 59da171f-624f-0410-aa54-27559c288bec
2009-05-16 11:11:26 +00:00
kenneth.skovhede@gmail.com aa8fcdb6a0 Fixed issue #59 (SSH backend on Linux)
A full rewrite of the SSH backend, and a simple C# version of expect.
Fixed issues with similar named files on the same backend.
Fixed an issue where files were not deleted.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@172 59da171f-624f-0410-aa54-27559c288bec
2009-05-11 18:56:21 +00:00
kenneth.skovhede@gmail.com 35bf1ecb1d Added some untested code for issue #43, CloudFiles backend support.
Added some comments for issue #%51.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@163 59da171f-624f-0410-aa54-27559c288bec
2009-04-23 19:39:25 +00:00
kenneth.skovhede@gmail.com 9301fc3d54 Re-updated file version numbers for the RC1 release.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@154 59da171f-624f-0410-aa54-27559c288bec
2009-04-18 10:17:46 +00:00
kenneth.skovhede@gmail.com d2aa3725b0 Updated version numbers on assemblies.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@153 59da171f-624f-0410-aa54-27559c288bec
2009-04-18 10:12:55 +00:00