Commit Graph

55 Commits

Author SHA1 Message Date
Martin
ba24e2282c Use CBT data during file backups 2016-08-17 21:38:06 +02:00
Martin
00938f77f5 Option to ignore read and hash errors 2016-06-10 19:18:58 +02:00
Martin
321215cc85 App to calculate hash of file 2016-05-31 18:04:17 +02:00
Martin
7bf0f9923a Print client and server hash on error 2016-05-31 02:07:10 +02:00
Martin
bb9bde8a46 Log which hashing function was used
(cherry picked from commit 2a9f64484e5753a116c140099a73128446d4b8c6)
2016-04-20 13:17:05 +02:00
Martin
456b9758b6 Fixed bug where sparse file extents were not skipped with tree-hashing 2016-04-01 23:54:45 +02:00
Martin
c63370d55f Correctly handle sparse extents in combination with tree hashing 2016-02-25 17:30:49 +01:00
Martin
d0092e1309 Fixed hash calculation with tree hash and patches 2016-02-25 14:14:43 +01:00
Martin Raiber
16fc18d887 Fix assertion failure 2016-02-24 02:31:39 +01:00
Martin
eb920ed913 New tree hashing method 2016-02-17 15:03:28 +01:00
Martin
228223f0aa New tree hashing method 2016-02-16 02:17:57 +01:00
Martin
b2495d2580 Show verification progress again 2016-02-01 20:36:52 +01:00
Martin
336bdd94ef Changed corruption warning 2016-01-25 18:04:12 +01:00
Martin
c466cf7e7a Fixed compile 2016-01-21 23:52:32 +01:00
Martin
3e6f21ff02 Fixed miscellaneous bugs 2016-01-21 23:50:14 +01:00
Martin
4ef3d82433 Improved hash error handling 2016-01-18 16:47:57 +01:00
Martin
0c7d434f46 Do not use the sparse hashing for piped transferred files 2016-01-17 17:28:43 +01:00
Martin
209d89579f Fix chunked patching/hashing with sparse extents 2016-01-15 14:47:25 +01:00
Martin
5402c004ed Linux build fixes plus improved error logging 2016-01-14 19:46:43 +01:00
Martin
b63ff45634 Sparse file restore 2016-01-12 00:38:14 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
4da3f08927 End-to-end checksumming of script outputs and script error handling improvement 2015-12-19 23:40:41 +01:00
Martin
5fbb571411 REad file hashes from metadata + refactoring 2015-12-19 21:47:58 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
3fdb4112a3 Make hash compile-time configurable
(cherry picked from commit 0f9cbb1812fa957672fca20240b8b544757cfad8)

Conflicts:
	urbackupclient/ClientServiceCMD.cpp
	urbackupclient/client.cpp
	urbackupclient/client.h
	urbackupserver/server_get.cpp
	urbackupserver/server_get.h
	urbackupserver/server_prepare_hash.cpp
2015-12-11 12:16:48 +01:00
Martin
345d182568 License change from GPLv3+ to AGPLv3+ 2015-08-01 22:58:40 +02:00
Martin
ae35dd48b8 Download common file metadata via metadata pipe 2015-08-01 22:47:32 +02:00
Martin
191335ef8d Restore backups from web interface 2015-01-25 23:17:49 +01:00
Martin
050c88b429 Merge remote-tracking branch 'urpc/next' into fileentryindex
Conflicts:
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ChangeJournalWatcher.h
	urbackupclient/client.cpp
	urbackupclient/urbackupclient.vcxproj.filters
	urbackupcommon/os_functions_win.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/fileclient/FileClientChunked.cpp
	urbackupserver/filedownload.cpp
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
2014-11-12 22:48:09 +01:00
Martin
2a0ea7f617 Fixed big endian issues with file backups 2014-11-08 21:57:55 +01:00
Martin
deb80364a6 Merge branch 'fileaccess' into fileentryindex
Conflicts:
	.gitignore
	common/miniz.c
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ChangeJournalWatcher.h
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/dllmain.cpp
	urbackupserver/server_download.cpp
	urbackupserver/server_get.cpp
	urbackupserver/server_get.h
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
	urbackupserver/server_settings.h
	urbackupserver/serverinterface/create_zip.cpp
	urbackupserver/urbackupserver.vcxproj.filters
2014-10-11 14:17:42 +02:00
Martin
cdcf7dab1a Replacing file entry cache with external file entry index 2014-10-10 18:29:26 +02:00
Martin
541c4af567 Change server permission management to ACL style 2014-09-14 22:29:56 +02:00
Martin
fd4579500d Merge branch 'next' into fileaccess
Conflicts:
	urbackupclient/ClientService.cpp
	urbackupclient/ClientService.h
	urbackupcommon/settingslist.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/doc/admin_guide.tex
	urbackupserver/fileclient/FileClient.cpp
	urbackupserver/fileclient/FileClientChunked.cpp
	urbackupserver/server_download.cpp
	urbackupserver/server_get.cpp
	urbackupserver/server_get.h
	urbackupserver/server_settings.cpp
	urbackupserver/server_settings.h
	urbackupserver/www/templates.js
2014-09-13 20:15:24 +02:00
Martin
65febb7456 Fail backup and log error code if reading old file fails when preparing hashes 2014-08-06 21:52:35 +02:00
Martin
2ac45bd06b Access files directly from "tray icon" without logging in. Works by saving the user access rights for each backup 2014-07-26 16:07:43 +02:00
Martin
50f0ed70be Moved adler32.cpp to proper place 2014-07-21 22:08:18 +02:00
Martin
161f0155cb Fixed bug in adler32 code. This bug caused unnecessary data transfers in the "block differences - hashed" transfer mode. 2014-07-20 20:31:57 +02:00
Martin
5b764dd305 Save correct file size with patches 2014-07-09 20:06:59 +02:00
Martin
cc05a512e1 Add file entries every min_file_incr times for each file.
The client may not be trusted => Setting to force the server to read and calculate the respective file hashes instead of trusting the client
2014-05-14 22:57:59 +02:00
Martin
81c2cef172 Updated copyright notice 2014-02-22 15:22:42 +01:00
Martin
9d6d989fbb Copy file locally if maximum hard link count was reached 2013-11-25 22:01:17 +01:00
Martin
e2f1f46b68 Exit hash thread properly 2013-11-18 19:57:06 +01:00
Martin
31edb50c66 Only start threads when they are needed 2013-11-18 00:29:42 +01:00
Martin Raiber
2084dee75e Correctly fail backups if there are disk problems 2012-11-03 15:32:23 +01:00
Martin Raiber
172d41b255 Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 23:15:51 +01:00
Martin Raiber
039193f791 Fixed btrfs mode 2012-11-01 23:16:46 +01:00
Martin Raiber
cc12a8eb73 Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 22:07:42 +01:00
Martin Raiber
e983bdc31e Use reflink to save only changed file parts on btrfs 2012-11-01 21:44:12 +01:00