Commit Graph

507 Commits

Author SHA1 Message Date
Martin
899c7077c2 Handle errors from FindNextFile
(cherry picked from commit e695bf25f9f46063963404cc61e1ab39db7e9af3)
2019-02-02 19:45:35 +01:00
Martin
c35beb1441 Merge branch 'dev' of server.raiber.de:~/urbackup_backend into dev 2018-09-17 21:51:06 +02:00
Martin
33c4be2a4a Improve log message if indexing is interrupted 2018-09-17 21:51:00 +02:00
Martin
ea1dcaa595 Fix volume comparison
(cherry picked from commit ed4a83f2b9eac654086af7d0414af3929cdcdd8e)
2018-09-14 11:04:59 +02:00
Martin
127e2611b5 Use normalizeVolume function to normalize volumes w.r.t. CBT
(cherry picked from commit 94f2814a69d23dea111035791dfc2a484649c056)
2018-09-14 11:04:52 +02:00
Martin Raiber
0263c4137a Fix cbt path collection in registry 2018-08-09 15:57:16 +02:00
Martin Raiber
04cfaa3615 Fix change indicator of open files
(cherry picked from commit c2e88c23bab6b9fd43965df4f5796e8a61fa9699)
2018-08-09 15:00:07 +02:00
Martin
cacd340305 Don't show restore components option if components never have been backed up 2018-07-25 19:19:47 +02:00
Martin Raiber
3deb243aab Cooperate CBT with multiple running clients 2018-07-22 20:50:59 +02:00
Martin Raiber
ceff150d9d Hard exclude "/dev/*" on macos 2018-06-01 12:04:42 +02:00
Martin Raiber
e211bde019 Do not run prefilebackup batch file if it has default contents
(cherry picked from commit 693dfaa9afa90d207ba3ce55e115f3797c949307)
2018-06-01 11:59:26 +02:00
Martin
039dc751db Install CBT on all volumes if no one has been selected for backup (yet) 2018-05-16 17:53:29 +02:00
Martin
b799f94b77 Fix parallel file hashing and parallel file hashing cleanup on client 2018-05-08 15:38:42 +02:00
Martin
ab572342fa Remove deleted directories from directory cache on *nixes when client side hashing is enabled
(cherry picked from commit e5df3c155dd3d65906ccc0e48af85ceca7de2687)
2018-04-07 18:42:15 +02:00
Martin
a3302d9e3d Do not generate client side hashes for small files (<2048 bytes)
(cherry picked from commit 5a1a715df370a45086c33eeca56f52bae596c024)
2018-04-07 18:42:06 +02:00
Martin
1a5c84ac4a Resize to correct size when reading VSS CBT data 2018-02-23 02:00:57 +01:00
Martin
c0d84c0a02 Re-add dattobd excludes 2018-02-20 18:01:03 +01:00
Martin
1102230c30 Merge branch 'dev' of github.com:uroni/urbackup_backend into dev 2018-02-20 18:00:16 +01:00
Martin Raiber
9be471e461
Merge pull request #12 from codeix/bugfix/fileaccess
Bugfix/fileaccess
2018-02-20 17:57:57 +01:00
Martin
716b692d6e Fix memory access bug 2018-02-05 22:00:07 +01:00
Martin
0c76ccaad4 Calculate changed bytes in separate sweep. Make bitmap size difference non-fatal 2017-12-18 18:11:19 +01:00
Martin
b2c261f188 Use proper bitmap size 2017-12-18 17:43:51 +01:00
Martin
fe7fda0677 Reengage cbt driver after error 2017-12-18 16:54:29 +01:00
Martin
b199c30a25 Use Crypto++ to calculate MD5/SHA in release mode 2017-12-17 15:29:08 +01:00
Martin Raiber
546044e545 Handle different sector size for vss volume
(cherry picked from commit 289de762f557d4ab00a05aaece1034fce200b73d)
2017-12-16 15:07:53 +01:00
Martin
74fa097029 Handle different sector sizes when merging and use real physical sector size 2017-12-16 15:07:30 +01:00
Martin
2581ac75ad If snapshot dir is "none" use no snapshot and log no error 2017-12-09 17:27:01 +01:00
Martin
b864185361 Always use simple tokenize function 2017-11-01 14:14:00 +01:00
Martin
efca3cd797 Hint about network share access denied problem 2017-09-18 13:23:24 +02:00
Martin
d8f517dd6e Ignore unexpected error code 2017-09-07 18:29:34 +02:00
Samuel Riolo
a3724483dd
hard excludes
* put additional hard exclude for virtual fs  /run on linux os.
 * remove hard exclude that not exists
2017-09-01 12:54:46 +02:00
Martin
25fcdd3df1 Do not follow symlinks if the symlink target is excluded 2017-07-01 19:37:06 +02:00
Martin Raiber
db6ec3542b Reset curr_files in parallel hashing 2017-06-17 16:17:30 +02:00
Martin Raiber
1d7b324395 Add hint about volume missing
(cherry picked from commit 961230215723e0f40136d688daa3276187788eda)
2017-06-16 12:55:51 +02:00
Martin Raiber
0a05aef3df Merge branch 'dev' of ssh://192.168.0.40:/home/git/urbackup_backend into dev 2017-06-16 12:55:25 +02:00
Martin Raiber
fe33175d75 Remove deleted dirs per group 2017-06-16 12:55:19 +02:00
Martin
a29abf48ed Fix FreeBSD excludes 2017-04-13 02:12:05 +02:00
Martin
0e7b0f83ba Lazy user token creation 2017-03-21 00:09:24 +01:00
Martin
8d71071ea0 Merge remote-tracking branch 'gh/dev' into dev
# Conflicts:
#	urbackupclient/client.cpp
2017-03-03 17:33:47 +01:00
Martin
36652d3e87 Delete file after renaming it to a random file 2017-03-02 00:01:17 +01:00
Martin
319519c24a So not use internal share names 2017-02-28 15:04:49 +01:00
Nick Glencross
48a29f8ddf Fix exlude -> exclude in variable names 2017-02-27 19:06:32 +00:00
Nick Glencross
d618cccc95 Fix include_dirs functionality on Linux & Mac.
include_dirs[i].spec always needs to be set
2017-02-27 19:02:21 +00:00
Martin
df3ea68dde Improve file CBT robustness after disabling CBT 2017-02-26 17:50:58 +01:00
Martin
f88d108436 Fix crash if parallel hashing is not used by server 2017-02-24 15:41:09 +01:00
Martin
85ffd76b73 Working on parallel file hashing 2017-02-16 01:46:51 +01:00
Martin
dec96a7aad Working on parallel file hashing 2017-02-15 19:23:30 +01:00
Martin Raiber
150937e400 Working on parallel file hashing 2017-02-13 23:32:41 +01:00
Martin
bd1104703b More logging on some CBT failures 2017-02-07 13:27:41 +01:00
Martin
de6bcbbdcb Allow deletion of open hdat_file_vol.dat files on Windows 2017-01-29 19:51:59 +01:00
Martin
61bb79961a Continue using CBT data if there is not enough bitmap data
(cherry picked from commit 19b9f1ee1869ff2eef4c18e19bcd402408c9858f)
2017-01-28 18:46:39 +01:00
Martin
8a1507382d Disable cbt after not enough tracking data being present
(cherry picked from commit b70bf81a9668628969c758b36b841db2d397f36c)
2017-01-28 18:46:31 +01:00
Martin
3a64e995f7 Fix gcc warning 2017-01-12 00:58:43 +01:00
Martin
7376d29ff0 Fix async mempipe timeout when there are not backup directories 2017-01-11 12:15:27 +01:00
Martin
264766cd12 Fix Windows component backup 2017-01-10 16:53:13 +01:00
Martin
3361d24c6e Proper Windows component change indicator 2017-01-09 21:21:29 +01:00
Martin
049e39dabf Continue snapshot cleanup after first failure 2017-01-05 14:51:03 +01:00
Martin
8f33b7cc6b Release whole shadow copy group when restarting one shadow copy 2017-01-03 13:39:00 +01:00
Martin
6d8c9f22ae Fix symlinked file to file changes during incremental backups with btrfs 2016-12-10 14:39:54 +01:00
Martin
d70f541522 Merge branch 'image-browse' into dev 2016-12-07 12:38:34 +01:00
Martin
31e9a4fbed Add a few hints if there is an index error because the directory cannot be accessed 2016-12-06 16:01:40 +01:00
Martin
838b18c12a Add a few hints if there is an index error because the directory cannot be accessed 2016-12-06 15:57:38 +01:00
Martin
c133e230d7 Prevent access_keys.properties race condition 2016-11-30 01:24:32 +01:00
Martin
98024aeddb Keep changed directories if a snapshot has active ntfs transactions 2016-11-09 16:10:41 +01:00
Martin
4ce394d714 Do not remove shadow copies for image backup after client restart if there are multiple concurrent jobs
(cherry picked from commit e2338daa71)
2016-10-28 20:56:41 +02:00
Martin
5fb07ce15c Do not finish CBT when debugging 2016-10-27 15:26:45 +02:00
Martin
d5fca77925 Separate CBT finishing of file and image backups with bitmap persistence 2016-10-25 16:30:55 +02:00
Martin
4b287bb9c7 Remove trailing slash from orig_path
(cherry picked from commit 885c7150071eae3d28cf4cd5aa6890db5c930f02)
2016-10-09 20:58:39 +02:00
Martin
88e127febc Parameter to script list if backup is a full backup 2016-10-08 21:33:45 +02:00
Martin
738cc3c7cf Only delete files in group when doing full file backup
(cherry picked from commit b48426665dbc542fc780c1964c770d32510858e9)
2016-10-06 16:13:20 +02:00
Martin
3b3d227a46 Fix CBT and snapshot deletion with image snapshot groups 2016-10-04 22:04:45 +02:00
Martin
b746a1a999 Modified file keeping 2016-10-04 16:27:05 +02:00
Martin
f5cc1073f3 Fix build issue 2016-10-04 14:58:11 +02:00
Martin
a6a5182037 Fix build issue 2016-10-04 14:56:18 +02:00
Martin
9bc196a4c9 Fix keeping files with virtual clients 2016-10-04 14:54:14 +02:00
Martin
2ba3105cc2 Fix sparse file hashing 2016-09-30 14:49:10 +02:00
Martin
170e73e1a0 Use correct path as snapshot origin when removing snapshot 2016-09-30 00:58:57 +02:00
Martin
1ddb7ce08a Exclude datto and overlay files everywhere 2016-09-26 12:06:40 +02:00
Martin
bba5e0f891 Exclude datto and overlay files everywhere 2016-09-26 12:05:58 +02:00
Martin
3bbececefc Fix warning 2016-09-25 14:23:43 +02:00
Martin
5f86c8fdc8 Update snapshot start time when resuming image backup
(cherry picked from commit 52651c0031)

# Conflicts:
#	urbackupclient/ImageThread.cpp
2016-09-23 19:52:16 +02:00
Martin
0a9a51197a Log if snapshot cannot be opened
(cherry picked from commit 2674620ae5)
2016-09-23 19:50:40 +02:00
Martin
6fd3421f31 Do not finish CBT if it is not available 2016-09-20 23:44:59 +02:00
Martin
7011c462d6 Correctly exclude symlinks 2016-09-16 14:28:40 +02:00
Martin
16cf0009bb Fix Linux build 2016-09-15 01:20:52 +02:00
Martin
36cbf29060 Read computer name from default setting as fallback 2016-09-14 20:23:34 +02:00
Martin Raiber
48ff994d26 Reconnect for file indexing (async index) 2016-09-08 22:53:49 +02:00
Martin Raiber
deb9877c90 Only set backup succeeded of explicitly selected components 2016-09-07 21:41:31 +02:00
Martin Raiber
ecb99f0a15 Perform post-processing of all snapshotted volumes 2016-08-26 01:22:22 +02:00
Martin Raiber
260030d0a0 Fix CBT zeroing issue 2016-08-24 13:55:17 +02:00
Martin Raiber
0fd9431bb9 Fix CBT zeroing issue 2016-08-22 22:08:48 +02:00
Martin
17035941ab Fix Linux build 2016-08-21 23:08:15 +02:00
Martin
9fbf9df659 Fix Linux build 2016-08-21 23:02:59 +02:00
Martin
3f462b8477 Revert "Fix page file exclusion"
This reverts commit 62b2b8fb4e.
2016-08-21 22:39:14 +02:00
Martin
fc139454e2 Image and file backup snapshot groups 2016-08-21 21:22:54 +02:00
Martin
e818c38318 Save extent offset with extent hashes and make sure it matches when using hash 2016-08-21 12:35:13 +02:00
Martin
62b2b8fb4e Fix page file exclusion 2016-08-20 18:45:53 +02:00
Martin
2716426e0d Use existing hash data during restore on server 2016-08-18 23:28:42 +02:00
Martin
e0bea49421 Use CBT data during file restore 2016-08-18 01:30:39 +02:00
Martin
ba24e2282c Use CBT data during file backups 2016-08-17 21:38:06 +02:00