Commit Graph
2357 Commits
Author SHA1 Message Date
kenneth@hexad.dk a93c66555b Added logging and reporting of metadata to UI
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1280 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 20:15:27 +00:00
kenneth@hexad.dk a6e0354059 Found and fixed a verification bug that was disabled due to file size not being propagated
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1278 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 20:13:26 +00:00
kenneth@hexad.dk 203778b911 Added metadata recording, for later use in the new UI.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1274 59da171f-624f-0410-aa54-27559c288bec
2012-05-14 18:48:21 +00:00
kenneth@hexad.dk 90f5a7ae0c Update issue #509
Status: Fixed

The problem is that the the file-based backend returns "Directory not found" when asking for the not-yet-mounted folder.
Duplicati assumed that this error means that the folder will be created later, and thus returned an empty list,
as the folder would be empty when created. This means that the retry logic was not used. 

Backing up to an empty folder will then result in a full backup being made.

But once the files started uploading, the folder is there and the folder is not created, but it is still a full backup.

This commit changes the logic a bit, so the list operation will not return until successful and a missing folder will be created during the list operation.
This ensures that the backup does not start before there has been a successful listing of the folder. If it fails, there is the normal retry delay, which should be enough to ensure that the folder is re-mounted. There may be warnings in the log, that the auto create failed. I have removed the logic that will auto create the folder during upload, as it should no longer be possible to get to the upload stage without verifying that the folder exists.

I have also changed the logic of the --disable-autocreate-folder option, so default value is "false" if it is a backup, and "true" for any other operation, so simply issuing a "list" or "cleanup" will not create folders (it did not do that before either).


git-svn-id: https://duplicati.googlecode.com/svn/trunk@1259 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 19:00:53 +00:00
kenneth@hexad.dk 00b274818f Added list of options in groups to source, but it is not really used yet
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1255 59da171f-624f-0410-aa54-27559c288bec
2012-05-08 18:24:40 +00:00
kenneth@hexad.dk 5880bf9d6c Update issue #559
Status: Fixed

The log file is now closed after each run.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1199 59da171f-624f-0410-aa54-27559c288bec
2012-04-11 19:41:13 +00:00
kenneth@hexad.dk e0868ff9e5 Fixed a problem where a file could be left open if the backup was stopped.
Update issue #296

I found and fixed a situation where a single file could be left open if the backup was stopped/aborted.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1173 59da171f-624f-0410-aa54-27559c288bec
2012-03-20 20:22:43 +00:00
kenneth@hexad.dk fbf88a33ea Fixed a minor reporting problem with the full backup reason
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1169 59da171f-624f-0410-aa54-27559c288bec
2012-03-20 19:44:41 +00:00
kenneth@hexad.dk 82b137f52f Update issue #573
Status: Fixed
I found the problem, it was because Duplicati was trying to read the size of the file AFTER it was moved.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1166 59da171f-624f-0410-aa54-27559c288bec
2012-03-17 21:25:40 +00:00
kenneth@hexad.dk 8bd2d7fb73 Added output message that tells why a backup was full or incremental
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1162 59da171f-624f-0410-aa54-27559c288bec
2012-03-17 20:01:29 +00:00
kenneth@hexad.dk 37ba758cf2 Added output message that tells wh
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1160 59da171f-624f-0410-aa54-27559c288bec
2012-03-17 19:45:09 +00:00
kenneth@hexad.dk 72ff1b1bc3 Added option to log operations and expected backend state for debugging purposes.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1098 59da171f-624f-0410-aa54-27559c288bec
2012-01-15 22:15:22 +00:00
kenneth@hexad.dk 9f4f917a1a Reintegrated 2.0 - trunk is now 2.0
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1076 59da171f-624f-0410-aa54-27559c288bec
2011-12-16 19:40:50 +00:00
kenneth@hexad.dk d776d7d6d5 Update issue #515
Uploading a full backup will always leave files, even if the backup was empty.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1043 59da171f-624f-0410-aa54-27559c288bec
2011-11-29 09:10:54 +00:00
kenneth@hexad.dk 0893d5b56d Microfix, the error message showed the temporary filename, now it shows the remote filename, which is what makes sense to the user
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1018 59da171f-624f-0410-aa54-27559c288bec
2011-11-20 11:28:49 +00:00
kenneth@hexad.dk a571f239fb Fixed some build issues after the merge.
Also fixed the build problems with MonoDevelop (non-signed assemblies)

git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1009 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 23:47:27 +00:00
kenneth.skovhede@gmail.com b108e96e8e Temporary checkin for the 2.0 stuff
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1005 59da171f-624f-0410-aa54-27559c288bec
2011-11-18 18:03:18 +00:00
kenneth@hexad.dk 63580c169b Merged trunk into 2.0 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@1000 59da171f-624f-0410-aa54-27559c288bec
2011-11-17 22:44:36 +00:00
kenneth.skovhede@gmail.com 87ad255acc Update issue #204
Status: Fixed

Duplicati now defaults to not upload a backup if nothing has changed.
This is indicated by a light-green check mark in the status window.
The option --upload-unchanged-backups can be set to revert to the previous way of working.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@958 59da171f-624f-0410-aa54-27559c288bec
2011-10-30 14:31:46 +00:00
kenneth.skovhede@gmail.com e88a619eb3 Update issue #458
Status: Fixed

There is now a delete transaction file being written, which should prevent cases where a large number of orphan files are detected.
If a large number of orphan files are detected, this should now be considered a real error.

I chose not to put in the cleanup button, because it would take too long for me to fit it in there, and I would rather focus on getting 2.0 ready, which will have a new UI anyway.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@957 59da171f-624f-0410-aa54-27559c288bec
2011-10-30 11:56:42 +00:00
kenneth.skovhede@gmail.com e8ec407bd8 Compacted the way retry warnings are reported in the log.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@951 59da171f-624f-0410-aa54-27559c288bec
2011-10-28 05:45:08 +00:00
kenneth.skovhede@gmail.com 003d6362f7 Update issue #482
Status: Fixed

Found and fixed a "slash vs. backslash" problem with files that span multiple volumes.
This will be included in the next preview release.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@950 59da171f-624f-0410-aa54-27559c288bec
2011-10-28 05:43:15 +00:00
kenneth.skovhede@gmail.com 789e5e2ca8 Fixed problems where the number of parsed files are not the same as the ones in the manifest.
Update issue #484
Status: Fixed

There is now a detection for situations where a manifest is missed, but signature/content files are uploaded.
This should fix all errors with a message like "N volumes found but the manifest indicates X" where N-X <= 2.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@942 59da171f-624f-0410-aa54-27559c288bec
2011-10-22 14:59:47 +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 652e02d64e Fixed a bug with create-folders that was introduced with r913 (issue #251)
git-svn-id: https://duplicati.googlecode.com/svn/trunk@940 59da171f-624f-0410-aa54-27559c288bec
2011-10-22 14:53:41 +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 b94350243c Microfix: Failures in upload/download/delete now show the filename
git-svn-id: https://duplicati.googlecode.com/svn/trunk@932 59da171f-624f-0410-aa54-27559c288bec
2011-10-12 09:05:52 +00:00
kenneth.skovhede@gmail.com 46c02bc634 Micro-fix: Added Duplicati version info to log data
git-svn-id: https://duplicati.googlecode.com/svn/trunk@931 59da171f-624f-0410-aa54-27559c288bec
2011-10-12 09:04:07 +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 7ef7a98918 Update issue #251
Status: Fixed

The backend connections are now re-used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@913 59da171f-624f-0410-aa54-27559c288bec
2011-09-24 11:39:50 +00:00
kenneth.skovhede@gmail.com 091994c0cb Merged trunk changes into 2.0 branch
git-svn-id: https://duplicati.googlecode.com/svn/branches/v2.0@906 59da171f-624f-0410-aa54-27559c288bec
2011-09-23 06:24:58 +00:00
kenneth.skovhede@gmail.com 98d15230de Update issue #254
Status: Fixed

Async upload is now set to on by default 

git-svn-id: https://duplicati.googlecode.com/svn/trunk@905 59da171f-624f-0410-aa54-27559c288bec
2011-09-21 20:26:16 +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 af681f57f0 Fixed a timeout issue with S3
git-svn-id: https://duplicati.googlecode.com/svn/trunk@846 59da171f-624f-0410-aa54-27559c288bec
2011-07-30 09:36:44 +00:00
kenneth.skovhede@gmail.com a5fac822cc Added a --full-if-more-than-n-incrementals option
git-svn-id: https://duplicati.googlecode.com/svn/trunk@845 59da171f-624f-0410-aa54-27559c288bec
2011-07-27 07:10:53 +00:00
kenneth.skovhede@gmail.com 65c169b248 Fixed a bug with fake urls that are invalid (eg. spaces in hostname).
git-svn-id: https://duplicati.googlecode.com/svn/trunk@822 59da171f-624f-0410-aa54-27559c288bec
2011-06-30 07:26:07 +00:00
kenneth.skovhede@gmail.com c518a3dd59 Fixed a reverse setting of the flag --list-verify-uploads
git-svn-id: https://duplicati.googlecode.com/svn/trunk@815 59da171f-624f-0410-aa54-27559c288bec
2011-06-26 10:22:03 +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 8600cd48a4 Update issue #352
Status: Fixed

Thanks to Livio, this is now fixed and can be toggled with the --allow-sleep command.
It will be included in the next preview release.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@807 59da171f-624f-0410-aa54-27559c288bec
2011-06-17 13:31:28 +00:00
kenneth.skovhede@gmail.com a401357291 Update issue #419
The code should now "gracefully" handle missing timestamps.
For files with no modification time, they are assigned 1. jan. 1970 00:00:00 (EPOCH).
This has the drawback that files are read fully because we cannot rely on the modification timestamp, so it may be a bit slower.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@802 59da171f-624f-0410-aa54-27559c288bec
2011-06-16 16:18:05 +00:00
kenneth.skovhede@gmail.com 388df24580 Set USN to be off by default, due to issue #422 and issue #417
git-svn-id: https://duplicati.googlecode.com/svn/trunk@791 59da171f-624f-0410-aa54-27559c288bec
2011-06-12 09:04:21 +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
hugh@hugheaves.com bc00bf1fbe Backed out changes accidentally commited to trunk
git-svn-id: https://duplicati.googlecode.com/svn/trunk@759 59da171f-624f-0410-aa54-27559c288bec
2011-04-27 20:42:14 +00:00
hugh@hugheaves.com 2f8f0be0f1 git-svn-id: https://duplicati.googlecode.com/svn/trunk@758 59da171f-624f-0410-aa54-27559c288bec 2011-04-27 20:24:44 +00:00
kenneth.skovhede@gmail.com bbeea63ab4 Fixed a typo
git-svn-id: https://duplicati.googlecode.com/svn/trunk@753 59da171f-624f-0410-aa54-27559c288bec
2011-04-12 15:50:16 +00:00
kenneth.skovhede@gmail.com 4d4084ddb9 Update issue #399
Status: Fixed

The folder list is now case-insensitive on Windows,
so the problem no longer arises.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@750 59da171f-624f-0410-aa54-27559c288bec
2011-04-10 15:01:17 +00:00
kenneth.skovhede@gmail.com 2310fb3eef Fixed a bug in the verification file generation.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@732 59da171f-624f-0410-aa54-27559c288bec
2011-03-26 10:48:17 +00:00
kenneth.skovhede@gmail.com 170bb51d52 Added suggestive messages to manifest errors, issue #384
git-svn-id: https://duplicati.googlecode.com/svn/trunk@730 59da171f-624f-0410-aa54-27559c288bec
2011-03-16 20:11:20 +00:00
kenneth.skovhede@gmail.com 32ae43e14a Fixed some consistency to change how List() is invoked which ensures that it is properly retried.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@729 59da171f-624f-0410-aa54-27559c288bec
2011-03-16 18:21:50 +00:00
kenneth.skovhede@gmail.com f6e081b8a4 Changed wrong error message, related to issue #384
git-svn-id: https://duplicati.googlecode.com/svn/trunk@728 59da171f-624f-0410-aa54-27559c288bec
2011-03-16 18:20:33 +00:00