Commit Graph

319 Commits

Author SHA1 Message Date
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
Martin
34b8c8c65f Option to not follow symlinks during restore 2016-06-04 18:10:21 +02:00
Martin
7da4c6025a Improve read error handling in chunked sending 2016-05-31 16:53:07 +02:00
Martin
fff99aa475 Log error before assertions 2016-05-28 18:51:59 +02:00
Martin
128b605d76 Fix file server thread getting stuck after read error on Windows
(cherry picked from commit 96d54d53846d6e463bea4eaf04bb87cbaf14889f)
2016-05-20 22:39:20 +02:00
Martin Raiber
18061f4526 Halved pipe file read timeout 2016-05-17 21:25:44 +02:00
Martin Raiber
054cb789bc Fix issues discovered by code analysis 2016-05-17 21:08:41 +02:00
Martin
1b22b375fe Lowered idle timeout from 60h to 1h 2016-05-11 20:16:33 +02:00
Martin
107131f3e5 Free file after 1 min instead of 1 hour if idle
(cherry picked from commit ed9a74830919cfb89ed13143a8a53da0f272ad27)
2016-05-11 19:52:42 +02:00
Martin
703a3f7b06 Fix: Correctly cleanup file meta-data stream if interrupted and not reconnected 2016-05-10 23:40:02 +02:00
Martin
1952a1262f Fix: Correctly cleanup file meta-data stream if interrupted and not reconnected 2016-05-10 23:34:04 +02:00
Martin
5c34dff1e6 Correctly cleanup file meta-data stream if interrupted and not reconnected 2016-05-10 23:33:05 +02:00
Martin
40d970214b Do not re-created script and meta-data transfers when client is restarted and server reconnects 2016-05-10 19:03:35 +02:00
Martin
826e592a8d Fix share referencing error after timeout 2016-05-10 14:19:40 +02:00
Martin
9a578e7b34 Revert "Fix share referencing error after reconnection"
This reverts commit f8cefef8f8.
2016-05-10 10:49:52 +02:00
Martin
f8cefef8f8 Fix share referencing error after reconnection 2016-05-09 18:08:21 +02:00
Martin
eb88a9eb11 Improved logging when stopping meta-data transfer 2016-05-08 20:41:34 +02:00
Martin
6cb839a130 Fix Mac compile error 2016-05-03 18:51:34 +02:00
Martin
60cd5e4795 Set stat mode correctly 2016-05-03 00:07:09 +02:00
Martin
5b977f4f22 Set stat mode correctly 2016-05-03 00:04:07 +02:00
Martin
b035494d79 Fix orig path in restore meta-data in tar backup directories 2016-05-02 19:26:03 +02:00
Martin
54820c18a1 Add basic meta-data for script output 2016-05-02 01:17:07 +02:00
Martin
ef5e5ac445 Add basic meta-data for script output 2016-05-01 23:42:37 +02:00
Martin
8aa3240bb2 Removed header dependency 2016-05-01 20:33:11 +02:00
Martin
f537a62ced Set urbackup_backup_scripts permissions to allow all 2016-05-01 20:30:19 +02:00
Martin
a6f792b049 Verify number of files loaded via meta-data 2016-05-01 17:17:30 +02:00
Martin
5d01e3cd47 Small file optimization for tar file backup 2016-05-01 15:08:52 +02:00
Martin
d715248f55 Correctly handle zero length chunks again
(cherry picked from commit d96ec4e0a8a8529c89f800d19f387bc8103bec70)
2016-04-29 01:47:37 +02:00
Martin
9dcc5cebaa Added system error code 2016-04-10 16:51:16 +02:00
Martin
0a069896d6 Fixed Mac build 2016-04-05 23:55:16 +02:00
Martin Raiber
631074f121 Fixed build issue 2016-04-04 00:37:58 +02:00
Martin
bdbab0eb03 Use posix_spawn instead of fork 2016-04-04 00:12:58 +02:00