Commit Graph

123 Commits

Author SHA1 Message Date
Martin Raiber
3ac09ab7a1 Read chunk info from btrfs 2021-05-26 17:05:43 +02:00
Martin
8a54996f02 Fix build
(cherry picked from commit db05eabf25c0fc0a20dd9604ea87ad4c3135d820)

# Conflicts:
#	file_linux.cpp
2021-05-18 16:29:26 +02:00
Martin Raiber
e64da3fd8b Improve memory file 2021-05-08 09:15:29 +02:00
Martin Raiber
b3b11e8c89 Fix a few btrfs wrapper issues 2021-05-08 09:13:51 +02:00
Martin
9c088b9d9f Handle unwritten extents in Linux CBT 2020-10-06 18:58:21 +02:00
Martin
b7badcc296 Only use CBT up to valid data length
(cherry picked from commit 0f0896244c)

# Conflicts:
#	urbackupserver/dllmain.cpp
2020-10-06 18:30:00 +02:00
Martin
746058f203 Make amount of download, hash, image compress and client parallel hash threads configurable 2020-09-29 17:01:38 +02:00
Martin
d9bdad3326 Implement connection establishment via web sockets 2020-07-05 23:53:06 +02:00
Martin
4fb806e7b0 Implement connection establishment via web sockets 2020-07-05 21:18:34 +02:00
Martin
487a48f69a Use .recover instead of .dump during db repair 2019-10-05 16:13:57 +02:00
Martin
f3db7fdcc0 Reset database cursor upon re-use
(cherry picked from commit ca5af2d8907c6415c13ea710e76192b75909c7f1)
2019-09-16 18:34:39 +02:00
Martin
b684cb485d Set socket window size to 3MiB send buffer and 128KiB recv buffer for client on Windows 2019-04-19 17:08:35 +02:00
Martin
c63aafeb9a Ability to connect via http connect proxy to internet server 2019-03-18 15:53:30 +01:00
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