Commit Graph

110 Commits

Author SHA1 Message Date
Martin Raiber
d8814ca3d7 Fix session locking
(cherry picked from commit df52d79b7aae07a54fdfc7add6d9b56accf01cd8)
2018-10-12 14:12:51 +02:00
Martin
878742d27d Improve thread pool
(cherry picked from commit f9126decebea0a439d29a6dd96621c9ca4172cca)

# Conflicts:
#	ThreadPool.cpp
2017-07-08 17:57:30 +02:00
Martin
11237f09eb Larger stack size for file indexing thread 2017-06-07 15:03:48 +02:00
Martin
d8eb959504 Retry creating thread pool thread 2017-05-13 12:43:32 +02:00
Martin
de6bcbbdcb Allow deletion of open hdat_file_vol.dat files on Windows 2017-01-29 19:51:59 +01:00
Martin
0b6daadd7b Return IObject
(cherry picked from commit 66903beb71d7ac8caf424aae61b88bf2f741af83)
2017-01-18 23:53:28 +01:00
Martin
4a7563b135 Hostname database and settings to configure it to not start backups if clients have certain hostnames 2016-12-10 20:57:39 +01:00
Martin
aec28c8436 Fix memory leak during ZIP download 2016-12-06 17:48:47 +01:00
Martin Raiber
bb2dcdbca4 Throtting to percent of max speed determined by regular probing for max speed 2016-11-12 22:23:34 +01:00
Martin Raiber
9085b0758c Add direct rw mode
(cherry picked from commit d4e9b21a93768180355f2158fe81a4e447267d6b)
2016-09-12 14:11:53 +02:00
Martin Raiber
0cf653991d Fixed settings retrieval from client on Windows servers 2016-08-30 22:37:04 +02:00
Martin Raiber
dcba5c7a9a Performance: Use overlapped IO for image backups 2016-08-24 20:25:35 +02:00
Martin
ba24e2282c Use CBT data during file backups 2016-08-17 21:38:06 +02:00
Martin
e6deace398 Preallocate space for full image if possible 2016-08-12 02:14:03 +02:00
Martin
7785142c20 Improved settings performance 2016-08-07 23:01:07 +02:00
Martin
473909622c Restore files with backup semantics on Windows 2016-06-05 18:33:36 +02:00
Martin Raiber
9569266e3c Free object in same thread 2016-05-15 15:57:49 +02:00
Martin
aeb3a2a252 Debug file closing 2016-04-03 14:33:20 +02:00
Martin
ca9ecd708d Show database backup progress 2016-02-21 13:51:25 +01:00
Martin
aa6cce8cd9 Handle database failures during index creation/upgrade 2016-02-09 12:05:07 +01:00
Martin Raiber
cf0c2c6df4 Fix a few query leaks
(cherry picked from commit 91356f346aa049b6a8468d492a4badcfb040bd62)
2016-01-30 20:57:31 +01:00
Martin Raiber
1be300aca5 Give names to more threads 2016-01-28 15:34:06 +01:00
Martin
e39f4dfd21 Thread-safe file reading and writing
(cherry picked from commit 3ebcf7d0bb02c8bd3a42398fe5f4b574dd179fe8)

Conflicts:
	Interface/File.h
	file.h
	file_linux.cpp
	file_win.cpp
	fsimageplugin/CompressedFile.cpp
	fsimageplugin/CompressedFile.h
	fsimageplugin/FileWrapper.cpp
	fsimageplugin/FileWrapper.h
	fsimageplugin/vhdfile.cpp
	fsimageplugin/vhdfile.h
2016-01-25 13:00:22 +01:00
Martin
e9efef9b53 Show command line process bar during restore 2016-01-24 21:09:28 +01:00
Martin
5d9f9db1d1 Sync db and wal file before locking database 2016-01-18 00:11:30 +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
b6521dd091 Improved Database locking and backup 2016-01-14 17:38:42 +01:00
Martin
fdc20d5c48 The database queries need to be freed in the same thread 2016-01-14 00:33:19 +01:00
Martin
1a3bb3865d Separated files, links and link journal into three new database files 2016-01-13 22:22:16 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin Raiber
8cdf91c193 Reader/Writer lock for WAL checkpointing 2015-12-28 10:22:30 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
1ebc8d2535 Added fsync to file class
(cherry picked from commit 81eaa581a8478ed48da5cc133f13a2ae91166326)

Conflicts:
	file_memory.h
	fsimageplugin/vhdfile.h
2015-12-11 12:56:48 +01:00
Martin
d74fad2820 Punch-hole functionality for file interface
(cherry picked from commit d708509cb312074619742df23c2c145c0f66ac23)

Conflicts:
	Interface/File.h
	file_memory.cpp
	file_memory.h
	fsimageplugin/CompressedFile.h
	fsimageplugin/vhdfile.cpp
	fsimageplugin/vhdfile.h
2015-12-11 12:35:34 +01:00
Martin
9fa4426aa7 Prevent access token reuse 2015-12-10 18:45:23 +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
b1031c918c Parameter to bind service to localhost
(cherry picked from commit 05978932bb)
2015-12-05 22:25:35 +01:00
Martin
05978932bb Parameter to bind service to localhost 2015-12-05 22:25:02 +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
bad3936dd5 Fixed bug where attached database became detached 2015-09-12 14:53:07 +02:00
Martin
0a3c93daee Compress transferred data using miniZ now 2015-08-30 21:46:57 +02:00
Martin
a4b0c9b83e New Internet protocol with AES-GCM and ECDH 409k1 key exchange (for PFS) 2015-08-01 17:02:58 +02:00
Martin
e31b0b109e Updated SQLite and some SQLite tuning 2015-01-08 22:31:54 +01:00
Martin Raiber
3821716b20 Update throttle bytes per second every 10 min from settings 2014-12-24 16:33:27 +01:00
Martin
57dadb4789 Improved error handling while downloading files and send zero bytes if file size was truncated while sending file 2014-11-25 20:49:48 +01:00
Martin
a5dab8ce37 Merge remote-tracking branch 'urpc/raw-cow-image' into fileentryindex
Conflicts:
	urbackupserver/server_update_stats.cpp
2014-11-17 22:33:40 +01:00
Martin
050c88b429 Merge remote-tracking branch 'urpc/next' into fileentryindex
Conflicts:
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ChangeJournalWatcher.h
	urbackupclient/client.cpp
	urbackupclient/urbackupclient.vcxproj.filters
	urbackupcommon/os_functions_win.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/fileclient/FileClientChunked.cpp
	urbackupserver/filedownload.cpp
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
2014-11-12 22:48:09 +01:00
Martin
29d9b8d931 Only output warning message if symlinked directory is not found in database 2014-11-11 18:39:07 +01:00
Martin Raiber
9e5aa4ad41 Finished cow image file format 2014-11-09 19:48:57 +01:00