Commit Graph

63 Commits

Author SHA1 Message Date
Martin Raiber
75ec39ba4c Properly count the files in the temporary table even from main backup thread 2014-09-21 16:38:39 +02:00
Martin
0b8b02ce23 Copy file if hard linking fails when client side hash is available 2014-09-18 21:27:29 +02:00
Martin
f983b3d524 Increased buffer size in chunk patcher and optimization of chunk patcher for btrfs 2014-09-05 19:24:14 +02:00
Martin
65febb7456 Fail backup and log error code if reading old file fails when preparing hashes 2014-08-06 21:52:35 +02:00
Martin
5b764dd305 Save correct file size with patches 2014-07-09 20:06:59 +02:00
Martin
bf1c44788b Don't log "too many hardlinks" errors as warnings 2014-05-12 22:31:48 +02:00
Martin
b70cc08e48 * Handle changes of the backupfolder correctly
* Lazy load database queries
* Bug fixes for symlink pooling
2014-04-01 20:47:29 +02:00
Martin
a98d7e70fa Revert "Experimental: Hard link files in NTFS transaction"
This reverts commit 8ab03eb941.
2014-03-27 22:06:52 +01:00
Martin
8ab03eb941 Experimental: Hard link files in NTFS transaction 2014-03-26 23:31:52 +01:00
Martin
81c2cef172 Updated copyright notice 2014-02-22 15:22:42 +01:00
Martin
43e771e035 Bug fix for crash with SQLite file cache 2013-12-20 19:08:34 +01:00
Martin
9d6d989fbb Copy file locally if maximum hard link count was reached 2013-11-25 22:01:17 +01:00
Martin
9852fe9536 Destroy database at some threads 2013-11-18 22:19:17 +01:00
Martin
31edb50c66 Only start threads when they are needed 2013-11-18 00:29:42 +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
51efab15ec Free memory and clear Databases 2013-11-16 16:50:39 +01:00
Martin
0590071424 Fixing SQLite3 deadlock 2013-11-16 15:06:08 +01:00
Martin
0694f7c99c Do log hard link errors due to the file system hard link limit as debug log messages
(cherry picked from commit 4e2f0b04a5)

Conflicts:
	urbackupserver/server_get.cpp
	urbackupserver/server_hash.cpp
2013-08-29 22:08:36 +02:00
Martin
45e9cf233d SQLite files cache 2013-06-09 20:06:44 +02:00
Martin
17a0a7a86a Separate Thread for writing file cache entries 2013-06-06 21:20:50 +02:00
Martin
ff8d4c446b Deinitialize database correctly 2013-06-05 23:04:29 +02:00
Martin
f84c767e1c Only save hashes of larger files 2013-06-02 13:53:02 +02:00
Martin
b2709b6f69 Fixed crash bug 2013-06-02 13:32:34 +02:00
Martin
25b1edd9b5 Calculate file hashes on Internet client 2013-05-30 22:01:37 +02:00
Martin
da2e6e00e3 Merge branch 'next' into feature-quota
Conflicts:
	.gitignore
2013-05-22 18:42:48 +02:00
Martin
cf1e44ebf4 Fixed cache misses 2013-05-22 18:42:01 +02:00
Martin
552338c650 Added MDB file cache 2013-05-19 19:46:20 +02:00
Martin
a62790a628 Added MDB file cache 2013-05-16 18:53:37 +02:00
Martin
6d8f20fe82 Increased buffer size for file copies from temporary file 2013-05-01 22:55:24 +02:00
Martin
5fba218ef2 Fixed issues with detached databases 2013-03-19 00:54:47 +01:00
Martin
aa0829cece Free sqlite cache at appropriate places 2013-03-17 14:34:49 +01:00
Martin
009c546aab Fix performance problem when deleting files in database 2013-03-05 09:11:29 +01:00
Martin
e86ae61f81 Implemented advanced settings 2013-03-01 22:22:54 +01:00
Martin
a1250db2cd Properly handle long file names on Windows server 2013-02-24 20:24:22 +01:00
Martin Raiber
2775cedfce Move files via reflinks on btrfs 2013-01-04 20:19:06 +01:00
Martin Raiber
fd9b9cfc06 Correctly truncate empty files in btrfs mode 2013-01-03 22:31:45 +01:00
Martin
20a243ef60 Added warnings about not enough space in backup folder 2012-11-19 15:27:20 +01:00
Martin Raiber
70ee6b8df2 Settings for switching on/off temporary files 2012-11-10 03:18:58 +01:00
Martin Raiber
bf6a7437c2 Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 23:37:46 +01:00
Martin Raiber
5012deafba Added log messages 2012-11-01 23:39:04 +01:00
Martin Raiber
f39edae67c Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 23:30:14 +01:00
Martin Raiber
d439419ad0 Added log messages 2012-11-01 23:24:12 +01:00
Martin Raiber
039193f791 Fixed btrfs mode 2012-11-01 23:16:46 +01:00
Martin Raiber
172d41b255 Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 23:15:51 +01:00
Martin Raiber
184d06b29f Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 23:15:33 +01:00
Martin Raiber
38490778be Better flushing; Reordered file deletion 2012-11-01 22:08:02 +01:00
Martin Raiber
cc12a8eb73 Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-11-01 22:07:42 +01:00
Martin Raiber
e983bdc31e Use reflink to save only changed file parts on btrfs 2012-11-01 21:44:12 +01:00
Martin Raiber
305b2068b9 Backups with btrfs snapshots 2012-11-01 17:48:18 +01:00
Martin
6be0b8163a Fixed memory leaks 2012-08-15 18:02:42 +02:00