Commit Graph
423 Commits
Author SHA1 Message Date
kenneth.skovhede@gmail.com e528dc363e Minor spelling corrections
git-svn-id: https://duplicati.googlecode.com/svn/trunk@621 59da171f-624f-0410-aa54-27559c288bec
2010-12-07 21:09:54 +00:00
kenneth.skovhede@gmail.com 201df924ab Fixed some spelling errors and removed some unused strings.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@616 59da171f-624f-0410-aa54-27559c288bec
2010-12-05 13:15:54 +00:00
kenneth.skovhede@gmail.com 2111bbfb01 Update issue #312
Status: Fixed

Hmm.. If I do that, I get an english language page.
I have removed the "lc=DK" from the URL, which seems to be the language indicator.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@612 59da171f-624f-0410-aa54-27559c288bec
2010-12-04 17:23:59 +00:00
kenneth.skovhede@gmail.com 03bbb7a81b Remove the version number update config, as this is now handled with assembly redirects instead
git-svn-id: https://duplicati.googlecode.com/svn/trunk@606 59da171f-624f-0410-aa54-27559c288bec
2010-11-27 11:07:24 +00:00
kenneth.skovhede@gmail.com 3b45352099 Update issue #306
Status: Fixed
I found the error in the USN handling code.
The problem was that the filename was compared case insensitive, when doing USN file listing.
This caused all my tests to pass (as the folders have the correct case).
I managed to type it with the incorrect case in a test setup and found the error.
I will put up a new preview soon with the fix.
I would recommend that you use that version instead and delete the usn-policy setting from the backup.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@605 59da171f-624f-0410-aa54-27559c288bec
2010-11-27 10:50:00 +00:00
kenneth.skovhede@gmail.com 72b80f011a Added the hash algorithm name to the manifest
git-svn-id: https://duplicati.googlecode.com/svn/trunk@604 59da171f-624f-0410-aa54-27559c288bec
2010-11-26 16:53:46 +00:00
kenneth.skovhede@gmail.com 0c69798513 Fixed a copy/paste error for the USN policy
git-svn-id: https://duplicati.googlecode.com/svn/trunk@603 59da171f-624f-0410-aa54-27559c288bec
2010-11-26 16:52:53 +00:00
kenneth.skovhede@gmail.com dab06269c6 Added Matthieu Weber to the acknowledgements
git-svn-id: https://duplicati.googlecode.com/svn/trunk@602 59da171f-624f-0410-aa54-27559c288bec
2010-11-24 19:47:23 +00:00
kenneth.skovhede@gmail.com 6048453a28 Update issue #304
Oops!
Yes, that would explain why it wasn't applied either.
Thanks.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@600 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 19:51:47 +00:00
kenneth.skovhede@gmail.com 86c0d55ed4 Fixed reporting the correct backup type
git-svn-id: https://duplicati.googlecode.com/svn/trunk@599 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 19:44:35 +00:00
kenneth.skovhede@gmail.com f6c05fd590 AFixed a missed rename Core -> Utility
git-svn-id: https://duplicati.googlecode.com/svn/trunk@598 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 18:02:32 +00:00
kenneth.skovhede@gmail.com db9fdaf0fb Fixed a missed rename Core -> Utility
git-svn-id: https://duplicati.googlecode.com/svn/trunk@597 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 18:00:33 +00:00
kenneth.skovhede@gmail.com 1707c718b4 Fixed some translation issues after the Core -> Utility rename
git-svn-id: https://duplicati.googlecode.com/svn/trunk@596 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 17:57:23 +00:00
kenneth.skovhede@gmail.com 9b42de276f Update issue #219
Status: Fixed

Now allows 1% (max 1 hour) slack in the time difference.
Can be disabled with the --disable-time-tolerance flag.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@595 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 17:53:00 +00:00
kenneth.skovhede@gmail.com 93ed07b879 Update issue #304
Status: Fixed
Yes, nicely spotted, thanks for reporting.

It seems that the settings was actually saved and applied,
but just didn't show up, so a re-save would clear it.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@594 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 12:11:21 +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 3b34747b4f Update issue #301
I certainly don't mind fixing minor issues.
Spelling errors have a tendency to make the product look
incomplete, so I appreciate spelling error reports.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@590 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 10:25:39 +00:00
kenneth.skovhede@gmail.com 958f57485d Updated some resx generated files
git-svn-id: https://duplicati.googlecode.com/svn/trunk@589 59da171f-624f-0410-aa54-27559c288bec
2010-11-20 16:36:17 +00:00
kenneth.skovhede@gmail.com 8581a4496b Update issue #247
Status: Fixed

The implementation is a mix of the the three mentioned methods (issue #247).
There is a commandline option called --open-file-policy, which can be set to 
"ignore", "snapshot" or "copy". 

The "ignore" setting does the same as previous version, simply exclude the file from the 
backup set.

If the setting is either "snapshot" or "copy", and the file it locked, it is opened in non-excusive read mode.
Once open, a in-memory signature file is generated. This is compared to the previous signature to detect changes,
just as the normal operation. If the file has not changed, the file is skipped as it would normally be.

If the file has changed and the policy is "snapshot", the file will be processed as normal,
but during the file read, a new signature is generated. This new signature is stored
in the signature archives. When writing the new signature, it is compared to the original signature.
If the file has changed during the backup operation, a warning is written to the output log.

If the policy was set to "copy", the modified file is copied to a temporary location,
while a new signature is generated. If the copy fails due to a file change, the file 
is omitted from the backup set. If the copy succeeds, the file is known to not have changed
during the first access and the copy, which gives some assurance that the file is not
actively being written, at the expense of a copy operation.

The default setting is "snapshot", because this is likely to work in most scenarios,
and potentially produces a broken file rather than guarantee a missing file (by "ignore").

Note that when reading an open file, there is always a chance that the file is being written,
so you may end up with a broken file in the backup. This is also true for the VSS and LVM snapshots,
except for VSS-aware applications.

The "copy" method is meant to minimize this risk, but there is no guarantee that the file is in an
acceptable state, just because it has not been written for any period.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@588 59da171f-624f-0410-aa54-27559c288bec
2010-11-20 13:57:12 +00:00
kenneth.skovhede@gmail.com e0a6a01837 Removed some unused files
git-svn-id: https://duplicati.googlecode.com/svn/trunk@587 59da171f-624f-0410-aa54-27559c288bec
2010-11-18 18:24:52 +00:00
kenneth.skovhede@gmail.com 73e24e99c2 Fixed some localization issues
git-svn-id: https://duplicati.googlecode.com/svn/trunk@586 59da171f-624f-0410-aa54-27559c288bec
2010-11-18 18:24:04 +00:00
kenneth.skovhede@gmail.com 302c363565 Changed SharpRSync to output an .exe file, so it doubles as a windows version of rdiff
git-svn-id: https://duplicati.googlecode.com/svn/trunk@585 59da171f-624f-0410-aa54-27559c288bec
2010-11-17 19:49:36 +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 7b87fd4f22 Update issue #299
Status: Fixed
I have now applied the patch to trunk, thanks :)

git-svn-id: https://duplicati.googlecode.com/svn/trunk@583 59da171f-624f-0410-aa54-27559c288bec
2010-11-09 21:58:41 +00:00
kenneth.skovhede@gmail.com 7cfa63ec6d Update issue #298
Status: Fixed
I have now added a check to ensure that the string is less than 64 characters.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@582 59da171f-624f-0410-aa54-27559c288bec
2010-11-09 21:56:30 +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 8a3e280225 Fixed a restore issue with restoring volumes created prior to the multi-source split.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@577 59da171f-624f-0410-aa54-27559c288bec
2010-11-05 06:48:00 +00:00
kenneth.skovhede@gmail.com 7fcd66e569 Added a count for the number of files opened.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@576 59da171f-624f-0410-aa54-27559c288bec
2010-11-04 21:37:32 +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 d372bd6630 Added a test-program to the snapshot library.
Added the --vss-exclude-writers option.

Update issue #260
Status: Fixed
I have now added a --vss-exclude-writers commandline option.
I had another look at the other supported options, and I consider this the most important.
I made the simplest possible version, so it only supports class guids, not component names
or writer instance ids.

If you need any of the other switches or the component names, please let me know.
I would also be interested in hearing that it actually works (I get no errors, but thats no proof).

You can specify multiple writers with a semicolon: --vss-exclude-writers="{d61d61c8-d73a-4eee-8cdd-f6f9786b7124};{0bada1de-01a9-4625-8278-69e735f39dd2}"
If you need the guids, you can get them with the following command in a command prompt:
vssadmin list writers

git-svn-id: https://duplicati.googlecode.com/svn/trunk@574 59da171f-624f-0410-aa54-27559c288bec
2010-11-02 21:02:58 +00:00
kenneth.skovhede@gmail.com 525d80a594 Made the restore more friendly.
Also fixed a bug where the suggested target path shown in the tree was not used, rather the previous \0 and \1 style was used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@573 59da171f-624f-0410-aa54-27559c288bec
2010-11-02 19:51:22 +00:00
kenneth.skovhede@gmail.com 93ff6a62f8 Update issue #275
Status: Fixed
The logic was attempting to prevent a case where the backup was scheduled to run and "Run backup now" was checked.
In this special case, the "Run backup now" does nothing because the backup will run twice otherwise.
The logic was a bit flawed, so based on some various settings it would detect that it was scheduled to run,
while it was not.

Thanks to your fine description, I was able to reproduce easily and fix it.
With the regards to the other error message, I have reproduced it by doing the following without restarting:
1) create the backup
2) edit the backup
3) delete the backup

I will create a new issue for it, but the bug is deep in the database abstraction layer,
so it is pretty hard to debug.

Update issue #227
Status: Fixed
Now correctly removes the deleted task from the scheduler and updates the display.
I also managed to get a slight speedup on the display update.



git-svn-id: https://duplicati.googlecode.com/svn/trunk@572 59da171f-624f-0410-aa54-27559c288bec
2010-11-02 19:31:34 +00:00
kenneth.skovhede@gmail.com 7cddc6ae04 Fixed a bug with restore of multi-source backups, and some opened files that were not closed.
After a fix with source folder filters, the internal file "added_folders.txt"
contains the root folder entry, but not suffixed with a slash/backslash,
which caused an "index of of bounds" error when attempting to restore.

Update issue #295
Status: Fixed
I found 3 situations where an opened file was not closed.
Strange thing is that it should have been that way since the multivolume stuff was introduced.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@569 59da171f-624f-0410-aa54-27559c288bec
2010-10-29 20:54:12 +00:00
kenneth.skovhede@gmail.com 94631df620 Increased the size buffer a bit, because I saw one volume being too large.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@568 59da171f-624f-0410-aa54-27559c288bec
2010-10-29 20:50:37 +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 7e43ff655d Update issue #294
Status: Fixed
It turns out that the "autocheck" feature was also broken because of the sorting.
Now the sorting works for all columns, and the text and autocheck follows the item.
I also added a feature where boolean columns get the value "true" inserted if the checkbox is clicked.
The grid is now sorted by the option name. 

I experimented a little with the sorting, and if the "Enabled" column is sorted, things tend to flip around
when checking/unchecking items, so I discarded that idea, and went with sorted by "Name" only.
If desired, the user can sort by clicking the "Enabled" column.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@566 59da171f-624f-0410-aa54-27559c288bec
2010-10-28 18:51:08 +00:00
kenneth.skovhede@gmail.com 0eedae3760 Fixed an issue where a cleanup would go into an infinite loop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@564 59da171f-624f-0410-aa54-27559c288bec
2010-10-27 21:09:11 +00:00
kenneth.skovhede@gmail.com d130d7cf10 Build support for x64 MSI
The only difference between x64 and x86 is the default install folder.
For some reason the x86 version of the MSI prevents the user from installing to regular "Program Files" on x64 systems.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@563 59da171f-624f-0410-aa54-27559c288bec
2010-10-27 20:11:42 +00:00
kenneth.skovhede@gmail.com c9ee03975d Update issue #285
Status: Fixed

I found out that Mono on windows does not support "mixed-mode" assemblies, which is what the System.Data.SQLite.dll's are:
http://www.mono-project.com/CPlusPlus

On my machine it gives a weird error with "CRT not initialized" if I run Duplicati under Mono.
I have changed the loader to check for Linux AND Mono.
I have also update the build script to include the version of the dll that you found,
it seems that Mono only runs with 32bit on windows, so the dll must also be 32 bit.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@562 59da171f-624f-0410-aa54-27559c288bec
2010-10-27 19:40:29 +00:00
kenneth.skovhede@gmail.com bcd959881f Fixed some build issues w. x86 vs. x64
Update issue #291
Status: Fixed

git-svn-id: https://duplicati.googlecode.com/svn/trunk@561 59da171f-624f-0410-aa54-27559c288bec
2010-10-25 18:57:12 +00:00
kenneth.skovhede@gmail.com b4b3ec526c Added CreateFolder to the list of passphrase-less operations.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@560 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 13:11:31 +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 97318e602a Update issue #163
Status: Fixed
There is now an error message and a helpful rollback message displayed if the database version does not fit.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@557 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 09:09:14 +00:00
kenneth.skovhede@gmail.com 739fa5ad1b Optimized the use of timestamps to prevent file content checking.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@556 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 08:58:24 +00:00
kenneth.skovhede@gmail.com e32e4a6047 Update issue #288
Added the MainForm.fr-FR.resx file to the translation set.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@555 59da171f-624f-0410-aa54-27559c288bec
2010-10-22 17:05:27 +00:00
kenneth.skovhede@gmail.com a9bd053253 Created a french ignore file.
Updated the LocalizationTool.exe to ignore values with "..\Resources\" because they are not translateable. 

git-svn-id: https://duplicati.googlecode.com/svn/trunk@554 59da171f-624f-0410-aa54-27559c288bec
2010-10-21 16:39:17 +00:00
kenneth.skovhede@gmail.com df2a6f5e7a Made "MainForm" localizable, so the menus can be translated as well.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@553 59da171f-624f-0410-aa54-27559c288bec
2010-10-21 16:28:45 +00:00
kenneth.skovhede@gmail.com a6cd60ca9e Updated localization tool to not crash if the VersionAssembly is missing, but just report it.
Updated the build script to pack in th fr-FR and pt-BR translations.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@552 59da171f-624f-0410-aa54-27559c288bec
2010-10-21 16:26:17 +00:00
kenneth.skovhede@gmail.com 6368206d12 Update issue #288
I have now committed the translated fr-FR files, and it looks good :).
I have to update the installer build process to automatically build the translation files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@551 59da171f-624f-0410-aa54-27559c288bec
2010-10-21 16:08:22 +00:00