Commit Graph

151 Commits

Author SHA1 Message Date
Martin
d984928b47 Do not use O_NOATIME/FILE_FLAG_BACKUP_SEMANTICS on server 2018-11-07 15:29:54 +01:00
Martin
94846cf55a Disable sparse file support on macOS
(cherry picked from commit 74130f5cd880068e6d84bd86096594cc6892a8a7)
2018-02-17 21:14:53 +01:00
Martin
ec7516d04d Proper hash send error failure handling
(cherry picked from commit 9424989a6a657b1330f356488558638a8c3db57b)
2017-07-12 21:29:50 +02:00
Martin
22582ca200 Make SEEK_HOLE return -1 on FreeBSD for now (performance problems with ZFS) 2017-05-12 15:31:50 +02: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 Raiber
4e899d9e8a Fix sparse file resume 2016-12-29 23:29:37 +01:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +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
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
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
d162882c81 Fix double free 2016-07-06 02:03:29 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
22b6766da9 Further improve read error handling
(cherry picked from commit 18945955a5a14ac763d71bbafef42b8fbcae56c5)
2016-06-09 22:17:30 +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
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
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
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
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
6cb839a130 Fix Mac compile error 2016-05-03 18:51:34 +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
5d01e3cd47 Small file optimization for tar file backup 2016-05-01 15:08:52 +02:00
Martin
9dcc5cebaa Added system error code 2016-04-10 16:51:16 +02:00
Martin
aeb3a2a252 Debug file closing 2016-04-03 14:33:20 +02:00
Martin Raiber
99a535bfb3 Flush more often in piped transfer
(cherry picked from commit cee0b7e0ebb95e7e8b3dfe14b62f3661fd5470c3)
2016-03-25 23:25:48 +01:00
Martin
439cb522dd Keep track of shares in use and delay snapshot removal 2016-03-20 18:08:16 +01:00
Martin
650d59e02b Fix issues with tar content backup 2016-03-20 12:31:45 +01:00
Martin
eaab7a7944 Fixed Linux build 2016-02-08 16:46:38 +01:00
Martin
1f8c581254 Only allow scripts in script dir 2016-02-08 16:41:37 +01:00
Martin
e3c903c25e Fixed FreeBSD build issues 2016-02-06 21:48:30 +01:00
Martin
64586ced08 Tar file backup 2016-02-06 20:10:59 +01:00
Martin
ffc6ebffba In progress: Tar file backup 2016-02-05 21:42:24 +01:00
Martin
b418331abf In progress: Tar file backup 2016-02-05 01:32:02 +01:00
Martin
acd4a31cf7 Improved thread-safety of piped file transfer 2016-01-25 13:06:08 +01:00
Martin
ddee95e4e0 Flush piped file if there was a read timeout 2016-01-20 23:53:20 +01:00
Martin
6cc881d677 Get file size before hashing and only read file till that size 2016-01-20 23:07:05 +01:00
Martin
a15331dea5 Background (io-) priority implementation for Linux 2016-01-18 15:43:57 +01:00
Martin
b3903cc1c4 Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +01:00
Martin
46938b1cb0 Free chunked transferred files 2016-01-14 23:32:11 +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
3af3520d96 Multiple processes in client interface 2016-01-12 19:36:32 +01:00