Martin
671bc030ef
Fix nested transaction starting
2017-01-15 16:41:54 +01:00
Martin
44523df6ee
More efficient saved journal data application using database cursor
...
(cherry picked from commit 02876d3c53b7940ebbf406ac381ebb99fc835dee)
2017-01-13 21:27:11 +01:00
Martin Raiber
92cd3c2032
Explicitely use V0 version of API
2016-12-21 02:43:14 +01:00
Martin
ccde2b3601
Tread old location as deleted when renaming and the parent of the new location cannot be found
2016-09-15 14:11:08 +02:00
Martin
fff99aa475
Log error before assertions
2016-05-28 18:51:59 +02:00
Martin Raiber
054cb789bc
Fix issues discovered by code analysis
2016-05-17 21:08:41 +02:00
Martin
7c201e9636
Handle hard link deletes
2016-04-30 01:56:53 +02:00
Martin
9ee64e650a
Updated copyright
2016-01-02 16:38:00 +01:00
Martin Raiber
f1a371b457
Fixed error with deleted directories
2015-12-27 23:54:16 +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
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
345d182568
License change from GPLv3+ to AGPLv3+
2015-08-01 22:58:40 +02:00
Martin Raiber
50b3348be8
Merge branch 'next' of server.raiber.de:~/urbackup_backend into next
2015-02-22 12:21:31 +01:00
Phil Lucido
0546b60c66
Handle USN records spanning calls to ChangeJournalWatcher::update()
...
Fix leak of files in open_write_files when a reference in one batch of journal records causes a file to be added to open_write_files, but then a write reference followed by a close reference in the next batch needs to remove the file from both local_open_write_files and open_write_files.
2015-02-13 00:38:17 -08:00
Phil Lucido
0966b7dcb5
USN_REASON_RENAME_OLD_NAME acts like a close
2015-02-13 00:37:41 -08:00
plucid
cb704222c1
Wrap update_longliving loops in Begin/EndTransaction
2015-02-13 00:36:45 -08:00
Martin
3e2ff1a2fa
Improved journal watcher
2015-01-24 15:26:54 +01:00
Martin
14e2192b77
Move GAP error info to backup table to clear info
2014-12-15 22:55:32 +01:00
Martin
a6c6220643
Register directory watcher thread as listener
2014-11-26 19:56:09 +01:00
Martin
332147f7c5
Use USN number instead of last modification time as file modification indicators. That way we do not have to save the changed files (only directories), if the last modification time is not updated
2014-11-21 22:37:05 +01:00
Martin
5e95b64e85
Fixed issues with file backup access
2014-11-19 23:42:00 +01:00
Martin
cb228ef0d7
Fixed change journal with refactored database access
2014-11-18 20:19:01 +01:00
Martin
44a980af6f
Always look at file if basic info was changed
2014-11-17 22:46:55 +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
529db44a17
Fixed two potential file change detection issues
2014-11-10 19:23:25 +01:00
Martin
902781740e
Persist open files to disk to load them again on restart
2014-11-07 22:46:03 +01:00
Martin
a14f5e6a97
Enable USN logging via file
2014-11-05 20:45:18 +01:00
Martin
b2ac296ff1
Merge branch 'next' into fileentryindex
...
Conflicts:
urbackupclient/dllmain.cpp
2014-11-05 20:30:41 +01:00
Martin
d1a75e76ff
Fixed alternative indexing method for ReFS
2014-11-04 22:49:41 +01:00
Martin Raiber
9eb1d91fcf
Merge remote-tracking branch 'urpc/next' into fileentryindex
...
Conflicts:
fsimageplugin/cowfile.cpp
urbackupclient/ChangeJournalWatcher.cpp
urbackupclient/ChangeJournalWatcher.h
urbackupclient/dllmain.cpp
urbackupserver/dao/ServerBackupDao.cpp
urbackupserver/dao/ServerBackupDao.h
urbackupserver/server_get.h
urbackupserver/server_image.cpp
urbackupserver/server_writer.cpp
urbackupserver/server_writer.h
2014-11-02 16:19:11 +01:00
Martin Raiber
89da837d7f
Merge remote-tracking branch 'urpc/raw-cow-image' into fileentryindex
...
Conflicts:
.gitignore
Makefile.am_server
urbackupcommon/settingslist.cpp
urbackupserver/www/templates.js
2014-11-02 15:45:26 +01:00
Martin Raiber
32a3d9aa23
More logging for alternative slow indexing method
2014-10-30 15:52:00 +01:00
Martin Raiber
cd20a8733c
Fixed bugs with USN record v3 support
2014-10-30 14:48:06 +01:00
Martin Raiber
2f6d85cb38
Fixed bugs with USN record v3 support
2014-10-30 14:39:54 +01:00
Martin Raiber
e1b2618fb8
Switch to different indexing mode if FSCTL_ENUM_USN_DATA is not supported
2014-10-29 23:44:04 +01:00
Martin Raiber
f1eee391d2
Log the record version
2014-10-29 22:48:49 +01:00
Martin Raiber
19b3f7a8d4
USN record v3 support
2014-10-29 22:41:28 +01:00
Martin
dcc721e5bd
Fixed build error
2014-10-27 21:56:11 +01:00
Martin
36cfb1346d
Fixed error handling in change journal watcher; More debug logging (temporarily)
2014-10-27 21:51:32 +01:00
Martin
d8edcdd525
Properly return error
2014-10-15 22:02:59 +02:00
Martin
06dff08684
More change journal watcher robustifications
2014-10-15 21:59:09 +02:00
Martin
d871bc7b09
Improved the continuous data protection
2014-10-13 21:39:21 +02:00
Martin
5ad6cc2e75
Fixed some merge issues
2014-10-11 20:48:47 +02:00
Martin
deb80364a6
Merge branch 'fileaccess' into fileentryindex
...
Conflicts:
.gitignore
common/miniz.c
urbackupclient/ChangeJournalWatcher.cpp
urbackupclient/ChangeJournalWatcher.h
urbackupserver/dao/ServerBackupDao.cpp
urbackupserver/dao/ServerBackupDao.h
urbackupserver/dllmain.cpp
urbackupserver/server_download.cpp
urbackupserver/server_get.cpp
urbackupserver/server_get.h
urbackupserver/server_hash.cpp
urbackupserver/server_hash.h
urbackupserver/server_settings.h
urbackupserver/serverinterface/create_zip.cpp
urbackupserver/urbackupserver.vcxproj.filters
2014-10-11 14:17:42 +02:00
Martin
f835b3e618
Improved error handling while watching for file changes. In case of errors it falls back to MFT queries and if that fails it marks the volume as failed.
2014-10-09 19:23:45 +02:00
Martin
f15fb4c007
Continous data protection
2014-07-26 16:07:44 +02:00
Martin
5d365c77f9
Removed old directory change watcher
2014-07-26 16:07:43 +02:00
Martin
efb3ac422e
Renaming could change file content without changing modified time as well
2014-06-13 22:15:29 +02:00