Commit Graph

47 Commits

Author SHA1 Message Date
Martin
e6deace398 Preallocate space for full image if possible 2016-08-12 02:14:03 +02:00
Martin
4c8a54b34d Do not switch over to next file if in accumulation state and file size is zero 2016-06-27 00:23:36 +02:00
Martin
8636556999 Log error codes upon receiving them 2016-06-10 15:26:27 +02:00
Martin
60a167aa85 Set error codes correctly when download is queued 2016-06-10 03:12:03 +02:00
Martin
b8a4bafde9 Set error codes correctly when download is queued 2016-06-10 03:11:18 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
b9a14e5e4b Limit number of reconnect tries for chunked transfer to 50 2016-06-08 18:03:03 +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 Raiber
054cb789bc Fix issues discovered by code analysis 2016-05-17 21:08:41 +02:00
Martin Raiber
cea0771256 Update output file size only when writing out patch and not earlier 2016-05-15 21:47:03 +02:00
Martin Raiber
60e0d28f16 Do not reconnect from file queuing because this causes double frees 2016-05-15 20:22:06 +02:00
Martin
d478e830ae Reconnect if file request fails and retry 2016-05-13 21:37:37 +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
489b21fcd1 Set resume flag only if something was already transferred 2016-05-11 19:00:28 +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
92141c5ea8 Log about download with sparse extents 2016-05-05 16:04:26 +02:00
Martin
fa1f3f5715 Load whole block regardless of block hash if reading for hash fails 2016-05-05 00:22:10 +02:00
Martin
c5b1f2f525 Fix bug with zero size file restore 2016-05-02 17:18:46 +02:00
Martin
54a8201938 Fix restore segfault 2016-05-02 15:13:15 +02:00
Martin
b81ecb236a Reset curr_sparse_extent to prevent segfault 2016-05-01 18:19:12 +02:00
Martin
4d9a889b0c Correctly handle zero length chunks again
(cherry picked from commit 55559e8c927a365940574fa2ec1c193fa863d467)
2016-04-29 02:26:55 +02:00
Martin
d715248f55 Correctly handle zero length chunks again
(cherry picked from commit d96ec4e0a8a8529c89f800d19f387bc8103bec70)
2016-04-29 01:47:37 +02:00
Martin
84d48f8fe3 Log OS errors in block differences transfer 2016-04-26 23:47:21 +02:00
Martin
ddb4def151 Do not switch state for zero length chunk
(cherry picked from commit f565154d5691d5422269cc34d0a52a0d2c813068)
2016-04-20 13:16:59 +02:00
Martin
b3c5cfd684 Reset extent iterator 2016-03-30 16:58:54 +02:00
Martin
8fdc6c1603 20 min timeout for out of band block download
(cherry picked from commit e94103506e)
2016-02-09 21:51:24 +01:00
Martin
b4b70734b8 Request block after out of band reconnection
(cherry picked from commit 012a4f8cf2)

Conflicts:
	urbackupcommon/fileclient/FileClientChunked.cpp
2016-02-09 21:51:13 +01:00
Martin
0ee155f575 Fixed wrong progress logging 2016-02-03 23:35:21 +01:00
Martin
108711a57a Show download speed and ETA 2016-01-21 00:45:13 +01:00
Martin
b63c5d6b78 Refresh file backup progress more regularly 2016-01-15 03:31:19 +01:00
Martin
83c86c0fb1 Free file before stopping shadow copy 2016-01-15 00:37:39 +01:00
Martin
940d058c85 Free file before stopping shadow copy 2016-01-15 00:23:39 +01:00
Martin
60e77964ad + Linux sparse file support - some bugs 2016-01-11 21:11:14 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin
24f128cc25 Correctly shut down chunked script output transfers 2016-01-06 17:19:40 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
2fc2aef0b6 Repaired chunked file transfer queuing 2015-12-23 02:50:56 +01:00
Martin
7c71291555 Fixed incremental script download and new clientlist filename scheme 2015-12-20 20:52:12 +01:00
Martin
07e704156d Added checksums to metadata and improved partial metadata handling 2015-12-19 18:01:21 +01:00
Martin
7cb5d0678a Made Linux restore working 2015-12-18 16:58:50 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
6447563c2e Merge remote-tracking branch 'urpc/next' into dev
Conflicts:
	.gitignore
	Interface/Database.h
	configure.ac_client
	configure.ac_server
	fileservplugin/CClientThread.cpp
	fileservplugin/CClientThread.h
	fileservplugin/FileServFactory.cpp
	fileservplugin/FileServFactory.h
	fileservplugin/IFileServFactory.h
	fsimageplugin/FSImageFactory.cpp
	fsimageplugin/FSImageFactory.h
	fsimageplugin/FileWrapper.cpp
	fsimageplugin/FileWrapper.h
	fsimageplugin/IFSImageFactory.h
	fsimageplugin/Makefile.am_client
	fsimageplugin/Makefile.am_server
	fsimageplugin/dllmain.cpp
	fsimageplugin/filesystem.cpp
	fsimageplugin/filesystem.h
	fsimageplugin/fs/ntfs.cpp
	fsimageplugin/fs/ntfs.h
	fsimageplugin/fs/ntfs_win.cpp
	fsimageplugin/fs/ntfs_win.h
	fsimageplugin/fs/unknown.cpp
	fsimageplugin/fs/unknown.h
	fsimageplugin/fsimageplugin.vcxproj.filters
	start_urbackup_client
	start_urbackup_server
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ClientService.cpp
	urbackupclient/ClientServiceCMD.cpp
	urbackupclient/ImageThread.cpp
	urbackupclient/client.cpp
	urbackupclient/client.h
	urbackupclient/client_restore.cpp
	urbackupclient/clientdao.cpp
	urbackupclient/dllmain.cpp
	urbackupclient/win_sysvol.cpp
	urbackupclient/win_sysvol.h
	urbackupcommon/fileclient/FileClient.cpp
	urbackupcommon/fileclient/FileClientChunked.cpp
	urbackupcommon/os_functions.h
	urbackupcommon/os_functions_lin.cpp
	urbackupcommon/os_functions_win.cpp
	urbackupcommon/settingslist.cpp
	urbackupserver/ImageBackup.cpp
	urbackupserver/SQLiteFileCache.cpp
	urbackupserver/ServerDownloadThread.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/dllmain.cpp
	urbackupserver/doc/admin_guide.tex
	urbackupserver/server_channel.cpp
	urbackupserver/server_channel.h
	urbackupserver/server_cleanup.cpp
	urbackupserver/server_dir_links.cpp
	urbackupserver/server_get.cpp
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
	urbackupserver/server_settings.cpp
	urbackupserver/server_settings.h
	urbackupserver/server_update_stats.cpp
	urbackupserver/server_writer.cpp
	urbackupserver/serverinterface/backups.cpp
	urbackupserver/serverinterface/settings.cpp
	urbackupserver/serverinterface/usage.cpp
	urbackupserver/www/js/urbackup.js
	urbackupserver/www/templates.js
	urbackupserver/www/templates/settings_inv_row.htm
	urbackupserver/www/translations/urbackup.webinterface/ar_SA.po
2015-12-09 14:49:13 +01:00
Martin
0a3c93daee Compress transferred data using miniZ now 2015-08-30 21:46:57 +02:00
Martin
bb57b17b4f Properly ignore data in buf when reconnecting 2015-08-26 20:53:19 +02:00
Martin
ecea174272 Fixed missing licensing headers 2015-08-08 22:53:24 +02:00
Martin Raiber
ef8329ee10 Fixed metadata restore on Windows 2015-02-01 00:04:06 +01:00
Martin
191335ef8d Restore backups from web interface 2015-01-25 23:17:49 +01:00