Commit Graph

49 Commits

Author SHA1 Message Date
Martin
bbb9dc66ff Replace std::auto_ptr with std::unique_ptr 2021-06-20 17:56:33 +02:00
Martin Raiber
e64da3fd8b Improve memory file 2021-05-08 09:15:29 +02:00
Martin
0049dc53a3 Don't release volume handle prematurely
(cherry picked from commit fe263cf665)
2020-10-14 23:17:39 +02:00
Martin
1887e766a9 Support getting NTFS valid data length from non-resident attribute list
(cherry picked from commit d698909fda)
2020-10-14 23:17:28 +02:00
Martin
420cf324fe Support getting NTFS valid data length from attribute list
(cherry picked from commit a4d6125a77)

# Conflicts:
#	urbackupserver/dllmain.cpp
2020-10-06 18:30:16 +02:00
Martin
b7badcc296 Only use CBT up to valid data length
(cherry picked from commit 0f0896244c)

# Conflicts:
#	urbackupserver/dllmain.cpp
2020-10-06 18:30:00 +02:00
Martin
de6bcbbdcb Allow deletion of open hdat_file_vol.dat files on Windows 2017-01-29 19:51:59 +01:00
Martin
aec28c8436 Fix memory leak during ZIP download 2016-12-06 17:48:47 +01: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
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
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
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
5d9f9db1d1 Sync db and wal file before locking database 2016-01-18 00:11:30 +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
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
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
345d182568 License change from GPLv3+ to AGPLv3+ 2015-08-01 22:58:40 +02: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
a5dab8ce37 Merge remote-tracking branch 'urpc/raw-cow-image' into fileentryindex
Conflicts:
	urbackupserver/server_update_stats.cpp
2014-11-17 22:33:40 +01:00
Martin Raiber
9e5aa4ad41 Finished cow image file format 2014-11-09 19:48:57 +01:00
Martin
902781740e Persist open files to disk to load them again on restart 2014-11-07 22:46:03 +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
5ba86c4556 Proper initialization of temporary file prefix on Windows 2014-06-25 21:33:37 +02:00
Martin
380715f8e1 Fixed release build 2014-05-01 23:50:38 +02:00
Martin
e94dfd8a47 Use own functionality to create random file names on Windows 2014-05-01 23:43:29 +02:00
Martin
81c2cef172 Updated copyright notice 2014-02-22 15:22:42 +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
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
92239ece99 Optimized hash calculation 2013-06-02 16:58:30 +02:00
Martin
552338c650 Added MDB file cache 2013-05-19 19:46:20 +02:00
Martin Raiber
82dbb0b839 Initial SQLGen 2013-05-05 23:23:10 +02:00
Martin
236fc5e59c Fixed bug where system restore volume was not imaged 2013-03-30 17:21:31 +01:00
Martin
3ae40f82f4 Don't allow other applications to open files in Windows 2012-12-08 20:50:14 +01:00
Martin Raiber
995158865a Fixed backup mode with no tmp files 2012-11-13 18:50:42 +01:00
Martin
6be0b8163a Fixed memory leaks 2012-08-15 18:02:42 +02:00
Martin Raiber
0299edd5ec Fixed bug in chunked transfer mode 2012-07-02 17:03:56 +02:00
Martin Raiber
039e0d0ed0 Optional checksumming of blocks during image backups 2012-06-02 21:14:47 +02:00
Martin Raiber
3b910471f4 Stop backups during image reconnect 2012-05-03 23:14:15 +02:00
Martin Raiber
295d5c0676 New bandwidth saving file difference download method 2012-04-05 00:55:20 +02:00
Martin Raiber
7033ed83a2 Create and restore the 'System Reserved' partition (Win7 + Server 2008) as well 2011-08-13 16:24:48 +02:00
Martin Raiber
defd65dc30 Allow changing of temporary directory in Windows 2011-07-05 18:21:08 +02:00
uroni
89e10b3f04 Initial commit. 2011-01-06 17:43:38 +01:00