Commit Graph

49 Commits

Author SHA1 Message Date
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
44a980af6f Always look at file if basic info was changed 2014-11-17 22:46:55 +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
d1a75e76ff Fixed alternative indexing method for ReFS 2014-11-04 22:49:41 +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
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
efb3ac422e Renaming could change file content without changing modified time as well 2014-06-13 22:15:29 +02:00
Martin
23281cf41c Reduce the number of backupped files 2014-05-26 19:59:54 +02:00
Martin
f4bc5c31a6 Filter useless error messages 2014-05-24 18:44:26 +02:00
Martin
fe9fd15a66 Fixed a few small things 2014-05-17 02:44:49 +02:00
Martin
4452ef061c Less/configurable logging 2014-05-14 19:58:16 +02:00
Martin
d7affb78ec Don't require change journal close for change entry to be written. Increase entry cache time. 2014-05-07 20:18:43 +02:00
Martin
4b90c24516 Renaming could overwrite data as well 2014-05-04 17:52:26 +02:00
Martin
832f7f4f81 Log USN journal data 2014-05-04 15:25:25 +02:00
Martin
99d4adaf01 Better settings exchange 2014-04-15 23:56:47 +02:00
Martin Raiber
ab209d0344 Merge remote-tracking branch 'urserver/next' into next 2014-04-05 14:11:38 +02:00
Martin
8c048c115d Fixed issue with multiple last_backup_time keys 2014-04-04 23:11:52 +02:00
Martin
f954a5a346 Better logging for shadow copying 2014-04-04 22:35:03 +02:00
Martin
81c2cef172 Updated copyright notice 2014-02-22 15:22:42 +01:00
Martin Raiber
bb226a3d19 Corrected statistics 2014-01-26 17:47:58 +01:00
Martin Raiber
10472faf56 Added more change journal indexing logging 2014-01-26 16:22:48 +01:00
Martin
0c045bb8a3 Revert "Fixing SQLite3 deadlock"
This reverts commit 0590071424.

Conflicts:
	urbackupserver/server_hash.cpp
2013-11-16 23:46:04 +01:00
Martin
0590071424 Fixing SQLite3 deadlock 2013-11-16 15:06:08 +01:00
Martin
68583dabbd Disabled change journal debug logging 2013-11-15 20:18:52 +01:00
Martin
dbeb4ac2c8 Try to work around issue where last modified dates of files are not changed, if the file is changed via memory mapping 2013-09-22 21:15:52 +02:00
Martin Raiber
4e271bb53d Freeze list of open files being written to during shadow copying 2013-09-10 20:32:58 +02:00
Martin
25b1edd9b5 Calculate file hashes on Internet client 2013-05-30 22:01:37 +02:00
Martin
5da7778cf2 Correctly index renames 2013-02-24 20:20:37 +01:00
Martin
a143919fcf Reindex Volume if there were a lot of changes on it 2013-01-26 21:11:15 +01:00
Martin Raiber
8253678b81 Better change journal watching 2012-11-10 02:55:33 +01:00
Martin Raiber
0c66933545 Properly watch open files 2012-11-08 01:59:22 +01:00
Martin Raiber
9f6e09a1ae Backup files correctly that have no change in the last modification time 2012-10-04 19:24:09 +02:00
Martin Raiber
28644b3fee Refresh the directory where files are moved out of 2012-05-18 02:51:21 +02:00
Martin Raiber
fe33d9b31d Reorganized directory structure 2012-02-25 02:45:06 +01:00