Commit Graph

57 Commits

Author SHA1 Message Date
Martin
22582ca200 Make SEEK_HOLE return -1 on FreeBSD for now (performance problems with ZFS) 2017-05-12 15:31:50 +02:00
Martin
de6bcbbdcb Allow deletion of open hdat_file_vol.dat files on Windows 2017-01-29 19:51:59 +01:00
Martin
2aa1b943ae Break from loop if sparse lseek does not move forward
(cherry picked from commit 79d0c1a007166a1d51a48e600070a32cde3f42fa)

# Conflicts:
#	fileservplugin/CClientThread.cpp
2017-01-12 01:04:40 +01:00
Martin
aec28c8436 Fix memory leak during ZIP download 2016-12-06 17:48:47 +01:00
Martin
6f0ca4a51a Only use lseek with SEEK_HOLE on Linux
(cherry picked from commit 50f687944e51b562ca14391c01f44ccf915593ae)
2016-10-19 17:52:30 +02:00
Martin
a1b3d78aea Use O_NOATIME for opening files for backup
(cherry picked from commit 021b2926d3af97bfee4fd4787890cf950b64a441)
2016-10-04 13:37:09 +02:00
Martin
1634bd4966 Fix build issue 2016-09-16 15:17:08 +02:00
Martin Raiber
9085b0758c Add direct rw mode
(cherry picked from commit d4e9b21a93768180355f2158fe81a4e447267d6b)
2016-09-12 14:11:53 +02:00
Martin Raiber
dcba5c7a9a Performance: Use overlapped IO for image backups 2016-08-24 20:25:35 +02:00
Martin
1d5627f9b7 Fix build 2016-08-18 23:49:34 +02:00
Martin
ba24e2282c Use CBT data during file backups 2016-08-17 21:38:06 +02:00
Martin
e6deace398 Preallocate space for full image if possible 2016-08-12 02:14:03 +02:00
Martin
8d90c9301f Config test for fallocate64 2016-07-06 13:30:22 +02:00
Martin
746901a31e Config test for fallocate64 2016-07-06 12:57:42 +02:00
Martin
d162882c81 Fix double free 2016-07-06 02:03:29 +02:00
Martin
473909622c Restore files with backup semantics on Windows 2016-06-05 18:33:36 +02:00
Martin
aeb3a2a252 Debug file closing 2016-04-03 14:33:20 +02:00
Martin
a62be038ec Fixed name clash 2016-02-06 20:59:10 +01:00
Martin
fc7796df4e Fixed build issues 2016-02-06 20:36:57 +01:00
Martin
ef1e768b57 Fixed OS X build 2016-01-25 21:36:28 +01:00
Martin
e39f4dfd21 Thread-safe file reading and writing
(cherry picked from commit 3ebcf7d0bb02c8bd3a42398fe5f4b574dd179fe8)

Conflicts:
	Interface/File.h
	file.h
	file_linux.cpp
	file_win.cpp
	fsimageplugin/CompressedFile.cpp
	fsimageplugin/CompressedFile.h
	fsimageplugin/FileWrapper.cpp
	fsimageplugin/FileWrapper.h
	fsimageplugin/vhdfile.cpp
	fsimageplugin/vhdfile.h
2016-01-25 13:00:22 +01:00
Martin
dff855325e Build Linux client installer 2016-01-20 01:47:08 +01:00
Martin
5d9f9db1d1 Sync db and wal file before locking database 2016-01-18 00:11:30 +01:00
Martin
1ad155fee0 Max OS X client 2016-01-16 18:12:37 +01:00
Martin
d47668fb5f Prevent handle leaks. Get stderr when snapshotting/removing snapshot in backup hook 2016-01-14 20:59:46 +01:00
Martin
60e77964ad + Linux sparse file support - some bugs 2016-01-11 21:11:14 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
1ebc8d2535 Added fsync to file class
(cherry picked from commit 81eaa581a8478ed48da5cc133f13a2ae91166326)

Conflicts:
	file_memory.h
	fsimageplugin/vhdfile.h
2015-12-11 12:56:48 +01:00
Martin
cc632ba55a Own definition of FALLOC_FL_PUNCH_HOLE
(cherry picked from commit d5e2456d9bd084b28688b2c9d4d7cd2a339a5901)
2015-12-11 12:36:48 +01:00
Martin
d74fad2820 Punch-hole functionality for file interface
(cherry picked from commit d708509cb312074619742df23c2c145c0f66ac23)

Conflicts:
	Interface/File.h
	file_memory.cpp
	file_memory.h
	fsimageplugin/CompressedFile.h
	fsimageplugin/vhdfile.cpp
	fsimageplugin/vhdfile.h
2015-12-11 12:35:34 +01:00
Martin Raiber
295a3c5d28 Fixed skiphash copying 2015-12-05 15:54:48 +01:00
Martin Raiber
83603291d0 Correct size of device files 2015-11-22 14:37:51 +01:00
Martin
345d182568 License change from GPLv3+ to AGPLv3+ 2015-08-01 22:58:40 +02:00
Martin Raiber
dd8f0d0240 Build on Mac OS 2015-02-07 23:06:05 +01:00
Martin
1ecf007ec0 Fixed Linux build issues 2014-11-26 20:42:32 +01:00
Martin
57dadb4789 Improved error handling while downloading files and send zero bytes if file size was truncated while sending file 2014-11-25 20:49:48 +01:00
Martin Raiber
9e5aa4ad41 Finished cow image file format 2014-11-09 19:48:57 +01:00
Martin
049c611a95 Better logging if temporary file cannot be deleted, and create temporary directory if it was deleted. 2014-10-16 20:52:18 +02:00
Martin
81c2cef172 Updated copyright notice 2014-02-22 15:22:42 +01:00
Martin
30445b07a9 Build fix for kFreeBSD 2013-12-02 22:20:16 +01:00
Martin
5c9b232241 Refactoring and performance tuning 2013-11-12 20:41:19 +01:00
Martin
20d4781601 Properly free file descriptor, if hash size is zero 2013-11-03 11:33:44 +01:00
Martin
20c763cbb5 Fixed coverity issues 2013-11-02 23:19:48 +01:00
Martin
2628a6a3a6 Fixed coverity issues 2013-11-02 22:59:27 +01:00
Martin
fa4399a049 Use backup semantics to read files for end-to-end checksum verification and client-side checksum calculation 2013-09-21 14:54:53 +02:00
Martin Raiber
6a5c5f3cdc Sequential access mode for files
Signed-off-by: Martin <martin@urbackup.org>
2013-06-02 16:54:36 +02:00
Martin
236fc5e59c Fixed bug where system restore volume was not imaged 2013-03-30 17:21:31 +01:00
Martin Raiber
995158865a Fixed backup mode with no tmp files 2012-11-13 18:50:42 +01:00
Martin Raiber
453ddb0b3a Fixed linux build 2012-11-04 18:00:55 +01:00