Commit Graph

350 Commits

Author SHA1 Message Date
Martin
85ffd76b73 Working on parallel file hashing 2017-02-16 01:46:51 +01:00
Martin
dec96a7aad Working on parallel file hashing 2017-02-15 19:23:30 +01:00
Martin Raiber
150937e400 Working on parallel file hashing 2017-02-13 23:32:41 +01:00
Martin
dad94834f1 Improve restore meta data error logging 2017-01-22 20:51:30 +01:00
Martin
0bfe60c019 Use static_cast for downcast 2017-01-18 23:53:04 +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
26456f0cec Fix build 2016-12-31 18:18:06 +01:00
Martin
ea566c95a1 Fix build 2016-12-31 18:10:10 +01:00
Martin
de70095a48 Merge branch 'dev' of server.raiber.de:~/urbackup_backend into dev 2016-12-31 17:58:57 +01:00
Martin
0cf004fea8 Fix Linux client extended attribute handling 2016-12-31 17:57:33 +01:00
Martin Raiber
4e899d9e8a Fix sparse file resume 2016-12-29 23:29:37 +01:00
Martin
27bcd5d74f Reset thread priority to default 2016-12-22 14:25:48 +01:00
Martin
065c35b3b6 Assert that thread priorities are reset correctly 2016-12-12 22:49:55 +01:00
Martin
77a230cefe Use newer platform tool set on Windows 2016-12-12 01:06:25 +01:00
Martin
cab42dedcb Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:49:47 +01:00
Martin
a5fcebe5dc Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:29:16 +01:00
Martin
ef3c791315 Set CLOEXEC when accepting sockets 2016-12-07 23:30:38 +01:00
Martin
61f05582b2 Image backup mounting on Windows 2016-12-05 22:34:19 +01:00
Martin Raiber
45530200d2 Return empty xattr list if xattrs are not supported
(cherry picked from commit d2fa08c0df8bda3ba6b3ed5e6f6e20e4e63b616a)
2016-11-24 01:44:41 +01:00
Martin
c2e91edffe Fixed coverity issues 2016-10-24 03:01:08 +02:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
5312969aea Wait for process to finish 2016-10-10 15:37:27 +02:00
Martin
dfbf79285a Avoid seeking forwards in pipe file 2016-10-10 12:28:32 +02:00
Martin
2c882f7fa8 Avoid seeking forwards in pipe file 2016-10-09 22:09:40 +02:00
Martin
0cfe8955c3 Insert directory into tar stream if it does not exist yet 2016-10-09 20:57:04 +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 Raiber
9df0adc17b Fix build 2016-09-02 18:55:35 +02:00
Martin Raiber
0ee28dc910 Use VirtualAlloc to allocate buffers for file reading 2016-09-02 18:40:20 +02:00
Martin Raiber
7573a01c5c Fix: Use cache for user account tokens 2016-08-31 22:00:58 +02:00
Martin Raiber
8526e1799d Fixed full sparse file transfer with non-sparse extents longer than 4GB 2016-08-30 22:36:31 +02:00
Martin Raiber
8cdf7804f1 Fixed full sparse file transfer resume with Windows client 2016-08-30 22:35:20 +02:00
Martin
e818c38318 Save extent offset with extent hashes and make sure it matches when using hash 2016-08-21 12:35:13 +02:00
Martin
ea36d3da66 Fix build 2016-08-18 23:53:21 +02:00
Martin
2716426e0d Use existing hash data during restore on server 2016-08-18 23:28:42 +02:00
Martin
ba24e2282c Use CBT data during file backups 2016-08-17 21:38:06 +02:00
Martin
06b381581d Do not try to open files if metadata is sent via callback 2016-08-16 01:24:11 +02:00
Martin
2041fefa9d Free token callback in same thread 2016-07-29 01:51:05 +02:00
Martin
af72be5ffc Fixed memory leaks 2016-07-28 16:52:59 +02:00
Martin
d162882c81 Fix double free 2016-07-06 02:03:29 +02:00
Martin
44f9ae62df Fix some typos and spellings 2016-06-13 16:19:05 +02:00
Martin
013bd6c0b9 Check for syncfs and posix_spawn 2016-06-11 15:23:59 +02:00
Martin
b09805d501 Fix read error handling when transferring whole block 2016-06-10 19:17:48 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
d3a61825ac Fix build issue 2016-06-09 22:21:12 +02:00
Martin
22b6766da9 Further improve read error handling
(cherry picked from commit 18945955a5a14ac763d71bbafef42b8fbcae56c5)
2016-06-09 22:17:30 +02:00
Martin
03bd06dada Return true to not close the connection on read error
(cherry picked from commit 9868d113a9f83e9353b902c4414ee93548fff357)
2016-06-09 22:17:25 +02:00
Martin
d35d04e146 Set tar file correctly when resuming 2016-06-09 18:24:52 +02:00
Martin
f357d87884 Fix memory leak 2016-06-09 02:38:15 +02:00
Martin
d6e610c15a Collect file read errors and log them before the next file backup 2016-06-08 21:42:21 +02:00
Martin
db0642e582 Do not leak metadata fds during restore 2016-06-05 15:56:31 +02:00