Commit Graph

148 Commits

Author SHA1 Message Date
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
Martin
209d89579f Fix chunked patching/hashing with sparse extents 2016-01-15 14:47:25 +01:00
Martin
0cc3aaf863 Bug fixes in sparse file handling 2016-01-14 22:11:57 +01:00
Martin
5402c004ed Linux build fixes plus improved error logging 2016-01-14 19:46:43 +01:00
Martin
1a3bb3865d Separated files, links and link journal into three new database files 2016-01-13 22:22:16 +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
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
db7f492c01 Fixed unicode issue 2015-12-19 22:02:32 +01:00
Martin
5fbb571411 REad file hashes from metadata + refactoring 2015-12-19 21:47:58 +01:00
Martin
8fd942e468 Correctly read hashfilesize 2015-12-17 00:45:07 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
dff15ecbc6 Transfer and use directory change indicator to correctly update directory metadata if it changes 2015-12-12 17:15:51 +01:00
Martin Raiber
a84334c052 Merge branch 'dev' of 192.168.0.40:/home/git/urbackup_backend into dev
Conflicts:
	urbackupserver/FullFileBackup.cpp
	urbackupserver/ImageBackup.cpp
2015-12-11 22:22:15 +01:00
Martin Raiber
fffb7326b8 Transfer image bitmap during image backup 2015-12-11 22:19:46 +01:00
Martin
f1c7eff094 Improved clientctl command line interface and fixed creation, modified and access time backup and display 2015-12-11 20:34:05 +01:00
Martin
3e4dbcc83f Fixed error message with regards to sha size
(cherry picked from commit eda30123c693863a238a38f765d84a8e55cd0874)

Conflicts:
	urbackupserver/server_hash.cpp
2015-12-11 12:25:48 +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
0bf2a6361f Separate functions for read and write transactions 2015-10-26 18:51:30 +01:00
Martin
5fe4723c97 Separate functions for read and write transactions 2015-10-26 18:42:39 +01:00
Martin Raiber
05c5cea029 Linux backup and restore with file meta data 2015-10-11 21:17:53 +02:00
Martin
bad3936dd5 Fixed bug where attached database became detached 2015-09-12 14:53:07 +02:00
Martin
8b6e1a9930 Fixed win32 meta data download and restore 2015-09-06 18:23:19 +02:00
Martin
a6a3b1ba0c Proper symbolic link handling part (2) 2015-08-09 23:27:52 +02:00