Commit Graph

97 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
9d8a84e66b Merge remote-tracking branch 'origin/2.2.x' into dev
# Conflicts:
#	urbackupserver/www/js/templates.js
2018-06-01 10:58:39 +02:00
Martin
ef4ddfdfa8 Add hint about BASE_DIR_LOST error
(cherry picked from commit a376cadc924bfa3a6e505bf55de847e9192e4056)
(cherry picked from commit 057528376e)
2018-06-01 10:48:28 +02:00
Martin
cb7a673984 Improve space accounting if reflinking is replaced by copying 2018-04-18 18:23:05 +02:00
Martin
057528376e Add hint about BASE_DIR_LOST error
(cherry picked from commit a376cadc924bfa3a6e505bf55de847e9192e4056)
2018-04-07 22:11:21 +02:00
Martin
a3bf56fb83 Properly clean up tar file script fd
(cherry picked from commit f8d9b822d37b1c8ec7f24bedea24f59d3cf27644)
(cherry picked from commit 4e3d0b2a8c6e32b24927944e25b580c68a850c63)
2018-02-17 21:15:16 +01:00
Martin
b864185361 Always use simple tokenize function 2017-11-01 14:14:00 +01:00
Martin Raiber
8b6d98189c File backup with ZFS snapshots 2017-08-22 23:33:51 +02:00
Martin
10338f2e57 Don't set min downloaded if item is moved from chunked to full 2017-07-29 13:36:23 +02:00
Martin
5ff04313d2 Client-side hash is wrong in resume for partial files 2017-07-12 21:23:52 +02:00
Martin
19093bf63d Parallel metadata application 2017-05-16 22:34:09 +02:00
Martin
f77d3d5e76 Per backup temporary file folders 2016-12-17 18:40:03 +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
52b0643fbc Fix sending settings with groups 2016-11-03 23:14:35 +01:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
08a6365b92 Increase to two minute timeout for referencing/removing shadow copy 2016-10-23 22:38:00 +02:00
Martin
03482409cc Fix ending script with queuing 2016-10-03 16:45:18 +02:00
Martin
b1471a0c6d Fail backup if referencing/deleting shadow copy fails 2016-08-08 13:34:27 +02:00
Martin
b47680a901 WIP: Windows component backup 2016-07-27 02:01:08 +02:00
Martin
00938f77f5 Option to ignore read and hash errors 2016-06-10 19:18:58 +02:00
Martin
c2af530034 Save partial file if there was a read error 2016-06-09 23:37:18 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
c70e345d8d Fix: Write symbolic link orig path 2016-06-07 15:26:07 +02:00
Martin
74c2668717 Write symbolic link orig path 2016-06-07 03:04:43 +02:00
Martin
6f960a575a Only warn if file cannot be opened and if backing up without snapshot 2016-05-30 14:49:38 +02:00
Martin
21a51b6d39 Renamed ERR_FILE_DOESNT_EXIST to ERR_CANNOT_OPEN_FILE. Do not stop backup if this error occurs during patch file download 2016-05-28 21:31:42 +02:00
Martin
d478e830ae Reconnect if file request fails and retry 2016-05-13 21:37:37 +02:00
Martin
b9b295b16d Use tar file name instead of last file name in log output 2016-05-13 18:17:42 +02:00
Martin
5d53d20f19 Log file download corruptions 2016-05-13 11:46:25 +02:00
Martin
88ac5d8f81 Use tar file name instead of last file name in log output 2016-05-13 02:51:53 +02:00
Martin
7703db1323 Resize hash output to correct size if it is lower than what was already output 2016-05-12 17:21:53 +02:00
Martin
35e133212e New file backup status "completed with issues" and OS and client version persistence 2016-05-11 14:25:50 +02:00
Martin
8114633778 Do not verify client side hashes on incomplete files 2016-05-09 17:21:10 +02:00
Martin
19d79e8e8f Improved handling of case where snapshot removal is delayed because of still ongoing meta-data transfers 2016-05-08 16:28:38 +02:00
Martin
7af0f50add Write correct orig_path also with patch transfer 2016-05-02 23:22:25 +02:00
Martin
e3135f18df Option to set orig_path for scripts/tar files 2016-05-02 02:52:51 +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
280b099696 Do not consider download as failed if only downloading meta-data fails
(cherry picked from commit b35874e0eb189946d624f0164b683c321004c267)
2016-04-29 16:33:11 +02:00
Martin
a3934e65a1 Use sha512 without sparse for script output hashing for now
(cherry picked from commit 0b2bd1918d8a4f2f2c451e49c34826a5d127bfb6)
2016-04-04 14:30:23 +02:00
Martin
2bc02ff93e Log system error code 2016-03-31 16:15:58 +02:00
Martin
ef687dac8a Use sha512 for script output hashing for now 2016-03-20 14:37:22 +01:00
Martin
650d59e02b Fix issues with tar content backup 2016-03-20 12:31:45 +01:00
Martin Raiber
d348e9bda0 Further optimized file backup deletion 2016-02-27 23:41:22 +01:00
Martin
e711dde485 Do not retry InformMetadataStreamEnd automatically when stopping metdata download thread 2016-02-19 18:38:44 +01:00
Martin
eb920ed913 New tree hashing method 2016-02-17 15:03:28 +01:00
Martin
7b0bc88ec6 Exponential back off if file does not exist with snapshot 2016-02-06 20:17:44 +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 Raiber
f77b6d6571 Do not check client side hash with 1.x clients 2016-01-27 19:21:29 +01:00