Commit Graph

144 Commits

Author SHA1 Message Date
Martin Raiber
d59e9f10eb Only trim cowfile ranges which contain data 2016-01-28 18:43:18 +01:00
Martin Raiber
c5db97564a Derive IReadOnlyBitmap from IObject 2016-01-28 15:20: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
6cc881d677 Get file size before hashing and only read file till that size 2016-01-20 23:07:05 +01:00
Martin
a15331dea5 Background (io-) priority implementation for Linux 2016-01-18 15:43:57 +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
b9ed974904 Enabled assertions in release build 2016-01-13 17:31:37 +01:00
Martin
928a588481 Fixed NTFS file exclusion code 2016-01-04 23:20:01 +01:00
Martin
2d53a7d141 Disable all excluding 2016-01-04 21:25:51 +01:00
Martin
0a25361d2a Retry user lookup without hostname if it fails with hostname 2016-01-04 20:17:54 +01:00
Martin
091e31ec5f Disable shadow copy excluding 2016-01-04 19:25:10 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
536846d710 Experimental: Exclude shadow copy files. Lets see if Windows can handle this 2016-01-02 16:28:14 +01:00
Martin
12e76379eb Put image backups into subvolumes/folders 2016-01-02 16:27:49 +01:00
Martin
831dbbe15e Fixed synthetic full backup 2016-01-02 14:08:26 +01:00
Martin
a0f7909f61 Use client bitmap 2016-01-02 01:31:44 +01:00
Martin Raiber
d511420405 Build with Visual Studio 2015 2015-12-26 15:43:35 +01:00
Martin Raiber
f4455ec1ab Properly delete buffer 2015-12-23 18:45:32 +01:00
Martin Raiber
c7ea511e63 Switched to Visual Studio 2015; Removed boost dependency on Windows 2015-12-23 18:41:50 +01:00
Martin
bce3ac45b8 Resize with zeros 2015-12-22 21:51:45 +01:00
Martin
cc625e4e75 Resize bitmap if it is too small and use a different file for the bitmap from client 2015-12-22 21:36:05 +01:00
Martin
dbd3890342 Exclude pagefile and hiberfile from image backup 2015-12-14 17:44:48 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
ffa445fdf4 Do not log info about static plugin loading 2015-12-12 15:38:08 +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
7b176e8708 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:52 +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
89b70b57a0 Improved error message when assembling image
(cherry picked from commit 5175896538fcea621939b2edd53adb0f34ea02c8)
2015-12-11 11:54:56 +01:00
Martin
5051e184c1 Properly reorder setting directory modified time; "one_filesystem" flag for directories and fixes 2015-12-10 18:19:10 +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
b7a164f4a8 Store file permissions with variable length encoding 2015-12-05 19:30:02 +01:00
Martin
75604d0d61 Linux build system overhaul 2015-12-05 18:10:17 +01:00
Martin
f70b353180 Bug fixing with the new encryption 2015-08-23 01:12:13 +02:00
Martin
3262aebade Fixed image assembling if image file is not NTFS 2015-08-20 23:25:03 +02:00
Martin
ecea174272 Fixed missing licensing headers 2015-08-08 22:53:24 +02:00
Martin
23e7ffdaac Return correct size in file wrapper 2015-08-05 20:30:49 +02:00
Martin
60abeae8f0 Properly stop read ahead thread 2015-08-02 21:28:12 +02:00
Martin
d77e001fb2 Don't use pagefile exclusion code 2015-08-02 20:48:58 +02:00
Martin
345d182568 License change from GPLv3+ to AGPLv3+ 2015-08-01 22:58:40 +02:00
Martin
dbe43ba1ce Also exclude pagefile.sys 2015-07-29 23:33:00 +02:00
Martin
ff233bb6f1 Log windows error code if opening dir fails 2015-07-29 23:01:27 +02:00
Martin
7a8ce281fa Do not try to read ahead beyond last block 2015-07-29 22:57:41 +02:00
Martin
9f51fd2318 Exclude shadow storage from image backup 2015-07-29 21:17:10 +02:00
Martin
9f02fe3279 Start disk image assembling via command line 2015-07-28 20:26:44 +02:00
Martin Raiber
e13f370b7a Fixed assembling of VHD file 2015-07-25 22:02:34 +02:00
Martin Raiber
6d3d464f46 Close files before decompressing them 2015-07-25 16:56:48 +02:00
Martin
69abea12eb Assemble bootable VHD file from multiple VHD(Z) files 2015-07-24 22:56:56 +02:00
Martin
3af99a756c Return zero if nothing can be read
(cherry picked from commit 377b347bf0)
2015-07-19 18:09:38 +02:00
Martin
bb60ad8001 Do not read compressed file beyond file size
(cherry picked from commit ccc3c35e53)
2015-07-19 18:09:31 +02:00
Martin
377b347bf0 Return zero if nothing can be read 2015-07-19 14:16:21 +02:00