Commit Graph

195 Commits

Author SHA1 Message Date
Martin
b5e5e6ca30 Fix deleting script dir from snapshot
(cherry picked from commit 5be54ab41a20cd7c455a0bd6074e7ce2b4651006)
2016-04-20 13:16:47 +02:00
Martin
8fd68ce723 Delete client list before using it
(cherry picked from commit 02d6869a5797b524745dfbfcde1f3950802e2e2f)
2016-04-19 17:51:37 +02:00
Martin
b20065d2fa Get new session identity after image backup reconnect if needed 2016-04-19 02:42:19 +02:00
Martin
01a99e0efe Handle read errors from file list
(cherry picked from commit ad88e9bca6d3c8bc8062f46a8f17684044e99a14)
2016-04-07 16:18:56 +02:00
Martin
2cd26251cf Fix deletion logic
(cherry picked from commit 02e7d8970e0da6dfe3c825a993ef95fc785094f4)
2016-04-07 12:24:36 +02:00
Martin
3bc5756db3 A file can be a directory in the scripts directory
(cherry picked from commit ca1bdf7730569f3471c4826dc6ec98d9e4752fb5)
2016-04-05 13:16:51 +02:00
Martin
57e1570aac Consistent pre/post backup scripts/hooks 2016-04-01 00:37:24 +02:00
Martin
68062c693d Correctly log full file backup if started by incremental file backup
(cherry picked from commit 650188eb857ed87d531356447d7cb5163b83f78e)
2016-03-02 21:21:05 +01:00
Martin
228223f0aa New tree hashing method 2016-02-16 02:17:57 +01:00
Martin
1fb1cde092 Copy last file entries on resumed file backup via temporary table again 2016-02-11 19:38:22 +01:00
Martin
7b0bc88ec6 Exponential back off if file does not exist with snapshot 2016-02-06 20:17:44 +01:00
Martin
ffc6ebffba In progress: Tar file backup 2016-02-05 21:42:24 +01:00
Martin
62834a6e18 Check for metadata of symlinks or special files if not using snapshots 2016-02-03 23:36:01 +01:00
Martin Raiber
48c5641141 Bugfix: Put symlinked files into client file list on incremental backup 2016-01-31 15:13:12 +01:00
Martin Raiber
f77b6d6571 Do not check client side hash with 1.x clients 2016-01-27 19:21:29 +01:00
Martin
b0c7d1443a Show progress bytes and block restore on command line till it is finished per default 2016-01-24 15:07:06 +01:00
Martin
f8f523df69 Shorter thread names 2016-01-21 02:29:47 +01:00
Martin
6da3e72509 Log how much could be linked via client-side hashes 2016-01-21 01:31:10 +01:00
Martin
108711a57a Show download speed and ETA 2016-01-21 00:45:13 +01:00
Martin
2fadd9d973 Fail backup if file does not exist and there is a snapshot for the file present 2016-01-17 17:28:09 +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
b63c5d6b78 Refresh file backup progress more regularly 2016-01-15 03:31:19 +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
60e77964ad + Linux sparse file support - some bugs 2016-01-11 21:11:14 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin
7a29c2aea7 Clientsubname as parameter when stopping snapshot 2016-01-08 18:16:16 +01:00
Martin
5345149dd9 In the hash snapshot a symlinked directory is represented by a file 2016-01-08 15:04:14 +01:00
Martin
8905f1f972 Show correct process action when resuming file backup 2016-01-03 17:14:13 +01:00
Martin
c00827d8d2 Show backed up volume in progress 2016-01-02 17:42:00 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin Raiber
dc96d1c592 Log which metadata is missing 2015-12-25 10:20:11 +01:00
Martin
bb525b355c Optimized file list a bit 2015-12-22 17:32:17 +01:00
Martin
c3d36bd55c Compatiblity fix 2015-12-21 16:39:45 +01:00
Martin
7c71291555 Fixed incremental script download and new clientlist filename scheme 2015-12-20 20:52:12 +01:00
Martin
9e54628380 Fixed some bugs 2015-12-20 02:19:57 +01:00
Martin
4da3f08927 End-to-end checksumming of script outputs and script error handling improvement 2015-12-19 23:40:41 +01:00
Martin
5fbb571411 REad file hashes from metadata + refactoring 2015-12-19 21:47:58 +01:00
Martin
07e704156d Added checksums to metadata and improved partial metadata handling 2015-12-19 18:01:21 +01:00
Martin
7cb5d0678a Made Linux restore working 2015-12-18 16:58:50 +01:00
Martin
9f16a4c1ac Option to send report only if the failure is not caused by client timeout 2015-12-17 01:39:41 +01:00
Martin
0a27d96463 Do not exponentially backoff if backup fails because of client timeout 2015-12-17 01:28:34 +01:00
Martin
7c76a493b4 Refactored incremental directory creation/metadata logic 2015-12-16 20:10:51 +01:00
Martin
9eff84f105 Fix symlink creation during incremental backups 2015-12-16 19:37:16 +01:00
Martin
dc1b5cd734 Move stop action back to end of queue if it is not at the end already 2015-12-16 15:42:00 +01:00
Martin
f04481f1b5 Lower readd size limit significantly 2015-12-16 00:40:13 +01:00
Martin
2f9adb1bec Fixed readding of file entries 2015-12-16 00:36:31 +01:00
Martin
cefd5c7b59 Bug fixes with regards to streaming and queuing 2015-12-15 12:05:25 +01:00
Martin
87e67672d3 Small cleanup 2015-12-14 01:29:57 +01:00
Martin
f12c0d57f5 Made restore work on Windows 2015-12-13 21:45:59 +01:00
Martin
9bab514e22 Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Martin
9397f8ef03 Removed deleteFilesInSnapshot log message 2015-12-12 19:23:15 +01:00
Martin
7151865663 Handle directory differences with snapshots 2015-12-12 19:21:57 +01:00
Martin
dff15ecbc6 Transfer and use directory change indicator to correctly update directory metadata if it changes 2015-12-12 17:15:51 +01:00
Martin
f771cad0ca Delete folder normally when using snapshotting mode 2015-12-12 14:56:53 +01:00
Martin Raiber
a84334c052 Merge branch 'dev' of 192.168.0.40:/home/git/urbackup_backend into dev
Conflicts:
	urbackupserver/FullFileBackup.cpp
	urbackupserver/ImageBackup.cpp
2015-12-11 22:22:15 +01:00
Martin Raiber
fffb7326b8 Transfer image bitmap during image backup 2015-12-11 22:19:46 +01:00
Martin
f1c7eff094 Improved clientctl command line interface and fixed creation, modified and access time backup and display 2015-12-11 20:34:05 +01:00
Martin
3fdb4112a3 Make hash compile-time configurable
(cherry picked from commit 0f9cbb1812fa957672fca20240b8b544757cfad8)

Conflicts:
	urbackupclient/ClientServiceCMD.cpp
	urbackupclient/client.cpp
	urbackupclient/client.h
	urbackupserver/server_get.cpp
	urbackupserver/server_get.h
	urbackupserver/server_prepare_hash.cpp
2015-12-11 12:16:48 +01:00
Martin
b24b7b7266 Save file path correction for later metadata application 2015-12-11 11:50:52 +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
e90cb501ae Multiple virtual clients per real client 2015-12-09 22:53:57 +01:00
Martin
27686b08d6 Linux file backups with snapshots and symbolic links 2015-12-07 01:06:32 +01:00
Martin
5f4b13c987 Flush file index before setting file backup to done 2015-12-05 18:43:14 +01:00
Martin
0bf2a6361f Separate functions for read and write transactions 2015-10-26 18:51:30 +01:00
Martin
896c43ae68 Fixed directory symbolic link meta data handling 2015-10-21 20:27:12 +02:00
Martin
6e75264f5c Handle special files on server side 2015-10-18 19:17:43 +02:00
Martin
410b9b4559 Handle empty orig_path 2015-10-18 19:09:29 +02:00
Martin Raiber
05c5cea029 Linux backup and restore with file meta data 2015-10-11 21:17:53 +02:00
Martin Raiber
0c66b42f0f Improved Linux file meta data download 2015-09-27 20:58:21 +02:00
Martin
8b6e1a9930 Fixed win32 meta data download and restore 2015-09-06 18:23:19 +02:00
Martin
14eb7bfd29 Optimized and fixed bugs in transfer compression 2015-09-01 00:21:29 +02:00
Martin
0a3c93daee Compress transferred data using miniZ now 2015-08-30 21:46:57 +02:00
Martin
347c2565c9 Fail backup if connecting fails 2015-08-26 08:26:03 +02:00
Martin
a6a3b1ba0c Proper symbolic link handling part (2) 2015-08-09 23:27:52 +02:00
Martin
17d758bf8b Proper symbolic link handling part (1) 2015-08-08 22:40:19 +02:00
Martin
345d182568 License change from GPLv3+ to AGPLv3+ 2015-08-01 22:58:40 +02:00
Martin
ae35dd48b8 Download common file metadata via metadata pipe 2015-08-01 22:47:32 +02:00
Martin Raiber
1f5c0674c2 Do not download directory metadata if client does not support it 2015-04-04 21:41:56 +02:00
Martin
834c4a5550 Stop active thread of incr backup 2015-03-25 21:21:15 +01:00
Martin
31fa4f6896 Stop incr backup process when switching over to full backup 2015-03-25 21:16:04 +01:00
Martin
716ebe7f56 Fixed various issues 2015-03-25 20:48:53 +01:00
Martin
478b0a5c81 Do not create empty filesystem when switching over to full file backup 2015-03-25 20:43:28 +01:00
Martin Raiber
c7fd0f1db1 Optimized partial incremental backups 2015-01-31 16:13:30 +01:00
Martin
8e8c1aa7e9 Allow multiple concurrent processes to be reported via web interface 2015-01-26 22:41:04 +01:00
Martin
191335ef8d Restore backups from web interface 2015-01-25 23:17:49 +01:00
Martin
3255e806e8 Transfer Windows file metadata 2015-01-17 20:17:34 +01:00
Martin
a5440b8435 Check for stopped backup more regularly 2015-01-09 22:18:54 +01:00
Martin
1c3a327bdb Delete folder such that full backup succeedes if incremental backup fails, because there is no previous backup 2014-12-30 20:53:15 +01:00
Martin Raiber
f1cf5f95cf Allow script output filename different from script name 2014-12-29 22:28:39 +01:00
Martin Raiber
0372fc28ab Script output download on Windows 2014-12-28 18:32:07 +01:00
Martin
68052cb22d Login via LDAP/AD 2014-12-06 20:39:55 +01:00
Martin
66fa1d12da Create user view directories after file backup 2014-12-02 23:54:42 +01:00
Martin
a928e9d086 Fixed a few issues in refactoring 2014-11-30 22:33:29 +01:00
Martin
07f31ad57d Simultaneous file and image backups and heavy refactoring 2014-11-30 19:34:02 +01:00