Commit Graph

171 Commits

Author SHA1 Message Date
Martin
d009838c86 Postpone metadata application of files that are in queue before reordered downloads (because of missing file in previous backup)
(cherry picked from commit dd83a2c9ec57e4492a87172a6c2f6a3c988f7f65)

# Conflicts:
#	urbackupserver/server_hash.h
2019-04-19 12:20:30 +02:00
Martin Raiber
de1ce5ac43 Add file patching log messages
(cherry picked from commit 14255ad495496a74b9410a486790eebc0bf68468)

# Conflicts:
#	urbackupserver/server_hash.h
2018-08-09 14:59:52 +02:00
Martin
e1cebc3341 Print os error message when truncating file fails 2018-05-04 01:30:10 +02:00
Martin
cb7a673984 Improve space accounting if reflinking is replaced by copying 2018-04-18 18:23:05 +02:00
Martin
b2fc9d4ee9 Search for files with old client names 2018-04-08 23:09:33 +02:00
Martin
a6a1b1073d Fix file hash switch issue
(cherry picked from commit 880ae1c397a6387b66c9efef73b7dcdf482cafe0)
2018-01-26 12:47:32 +01:00
Martin Raiber
8b6d98189c File backup with ZFS snapshots 2017-08-22 23:33:51 +02:00
Martin
e05c179426 Truncate file to correct size
(cherry picked from commit 90545af778116e0b5b4745c3cd5e49377fd74c64)
2017-06-06 16:19:45 +02:00
Martin
19093bf63d Parallel metadata application 2017-05-16 22:34:09 +02:00
Martin
f74e67c460 Made deletion from file index more robust 2017-02-21 18:38:23 +01:00
Martin
2372f38143 Fix issue with file patching sparse extent alignment 2017-01-10 20:08:15 +01:00
Martin Raiber
8b67f95936 Fix crash on btrfs 2016-12-30 12:04:38 +01:00
Martin Raiber
87c62dc3c8 Leave file in place and pretend file is linked if file has zero patch 2016-12-29 19:14:42 +01:00
Martin Raiber
9223c89791 Hint about small patches causing file index deletion warnings 2016-12-29 17:29:41 +01:00
Martin
f77d3d5e76 Per backup temporary file folders 2016-12-17 18:40:03 +01:00
Martin
12910efa0d Fix file entry debug info calc 2016-12-08 20:56:39 +01:00
Martin
b8405cbc06 Do not put small files into file entry index 2016-12-08 14:46:40 +01:00
Martin
e388390f10 Log hash during file entry index debugging 2016-12-08 12:30:54 +01:00
Martin
4665005469 Flush file index during deletion and more file index integrity checking 2016-11-29 15:24:25 +01:00
Martin
e361ea8b0e Fixup: Do not delete files in snapshot to later reflink them
(cherry picked from commit 291abbec910521bafcdb223bb07409774d3cebdb)
2016-11-24 01:51:43 +01:00
Martin Raiber
8fdb2f0568 Do not delete files in snapshot to later reflink them
(cherry picked from commit 00c1f15572a536f4f9fb5b17d675da767060fb5c)
2016-11-24 01:45:13 +01:00
Martin
f9f624de46 Fix getting free space with back-slash on Linux 2016-10-24 19:08:43 +02:00
Martin Raiber
f7d45e0075 Improved error logging 2016-09-04 09:52:53 +02:00
Martin
d22c009f3f Don't log into client specific log 2016-07-28 00:53:27 +02:00
Martin
053c02219d Improve error messages 2016-07-07 22:55:51 +02:00
Martin
3a3a6cf601 Disable file entry debugging messages 2016-06-06 19:39:33 +02:00
Martin
d2a4c566d0 Do not treat reparse points on Windows as special files 2016-06-03 17:29:11 +02:00
Martin
cce936ade7 Gracefully handle case where symlinking data directory succeeds and symlinking metadata directory fails 2016-05-31 00:09:21 +02:00
Martin
51c3baf338 Do not log other file path into client log 2016-05-28 21:08:41 +02:00
Martin
ef2936bcc0 Write basic meta-data also if link source cannot be opened or does not exist 2016-05-24 14:01:33 +02:00
Martin
b9f6cb5947 Log existing file info on hash collision/wrong entry with debug log level 2016-05-22 18:46:26 +02:00
Martin Raiber
cf9b8b33f1 Only link files with at least 2K size 2016-05-16 18:47:19 +02:00
Martin
3ed676a906 Fix issues with file entry index 2016-05-11 23:42:19 +02:00
Martin
6cecfdb803 Warning instead of assert if file size is wrong in meta-data 2016-05-05 18:18:25 +02:00
Martin
58f06673f8 Do not retry opening hash file for reading 2016-04-04 00:18:27 +02:00
Martin
2bc02ff93e Log system error code 2016-03-31 16:15:58 +02:00
Martin Raiber
d348e9bda0 Further optimized file backup deletion 2016-02-27 23:41:22 +01:00
Martin
c63370d55f Correctly handle sparse extents in combination with tree hashing 2016-02-25 17:30:49 +01:00
Martin
c26b922139 Fixed zeroing if punching hole fails
(cherry picked from commit f9d65d03176af68dd218d266f3a6994827edbec3)
2016-02-20 19:01:34 +01:00
Martin
c7fa8573ac Work around undefined SQLite behavior 2016-02-20 17:56:10 +01:00
Martin
de4ed43d2e Fixed bugs and improved file index logging 2016-02-20 15:18:15 +01:00
Martin
3156da20af Limit sparse file size to initially transferred file size 2016-02-18 00:37:38 +01:00
Martin
228223f0aa New tree hashing method 2016-02-16 02:17:57 +01:00
Martin
0243600a1d Improved error reporting
(cherry picked from commit a9a2878b1547ec1b410072ddf02bf9c3789a706c)
2016-02-14 23:23:10 +01:00
Martin
d27dd1a4b5 Improved error reporting during patching
(cherry picked from commit 31846ec6c94429c1b8429dffc355ac188cf077c6)
2016-02-13 21:47:47 +01:00
Martin
a2982d6673 Added file entry index debug messages 2016-02-02 14:50:28 +01:00
Martin
0bbcab5a91 Resize file in more code paths if it ends with a sparse extent 2016-01-22 15:54:34 +01:00
Martin
c466cf7e7a Fixed compile 2016-01-21 23:52:32 +01:00
Martin
3e6f21ff02 Fixed miscellaneous bugs 2016-01-21 23:50:14 +01:00
Martin
6dbf937f04 Correctly handle the case where a file cannot be linked and is copied 2016-01-21 16:09:21 +01:00