Commit Graph

201 Commits

Author SHA1 Message Date
Martin Raiber
b8be348a4b Fix build 2018-06-01 20:01:38 +02:00
Martin Raiber
2ca7b01bbf Improve out of space error handling
(cherry picked from commit 8bc0cb89f730e04fa7eddf9c56be208333150cb9)
2018-06-01 11:50:56 +02:00
Martin Raiber
74e899c617 Improve out of space error handling
(cherry picked from commit be91138dfae259f5a670ba4440647ef0b48580b9)

# Conflicts:
#	urbackupserver/FileBackup.cpp
#	urbackupserver/FileBackup.h
2018-06-01 11:50:34 +02:00
Martin
e75404aa4c Regularity update virtual clients if requested
(cherry picked from commit 9e64ab9f97cd95285fceadeb59ef185fb05d0772)
(cherry picked from commit 11a2f7732b6afffd30f6a7662d062ef8d3fef239)

# Conflicts:
#	urbackupserver/ClientMain.cpp
#	urbackupserver/ClientMain.h
2018-06-01 11:44:00 +02:00
Martin
65e8c0d158 Do not add the same image to different image groups
(cherry picked from commit 1857ab31c10d260690a7d466dc0572684a3e8398)
2018-06-01 11:08:40 +02:00
Martin
bcfad06bb7 Start additional channel threads if one is busy
(cherry picked from commit 7dedc14c19f6b29c840bb0d4be3ba763d906ab38)
(cherry picked from commit dcf70e262bf619777efeb797567e8323f22894ef)
2018-06-01 11:08:13 +02:00
Martin
1231aff8d7 Allow client to restore its own image backups
(cherry picked from commit dba372d02656fd07c76ea0d76f6056dc3e60d846)
(cherry picked from commit f6cb88f24cc2d685654a0ca5a498495c7dd678a2)
2018-06-01 11:06:19 +02:00
Martin
9371913b75 Get and use default settings from client
(cherry picked from commit aafe4fecd6f0af48565a5bf86ed940d43ac503a2)
(cherry picked from commit f0398f08e004ce3861775f1e0d16b36acd1cc29d)
2018-06-01 11:05:05 +02:00
Martin
7eb1314bd4 Handle non-DOS drive letters
(cherry picked from commit 9d3e183255d9d06de074140233cb2724f9185765)
(cherry picked from commit 45ff52a41d4be367e1d885ca482f4f92238c36c4)
2018-06-01 11:03:51 +02:00
Martin
e9944a4b1e Fix settings thread issue
(cherry picked from commit d02647e43d9269260fa5a560f4a9bf3cae7d4847)

# Conflicts:
#	urbackupserver/ClientMain.cpp
(cherry picked from commit 48a502fde8)
2018-06-01 10:49:40 +02:00
Martin
171fa0a549 Fix adding semicolon to when checking if image backups should be run 2018-04-22 18:55:52 +02:00
Martin
08cea66c2a Send client sub name with capa command
(cherry picked from commit fe1496e7a3f34b4dd6dcb7a4be60ea7fb9a9fd43)
(cherry picked from commit ea81067c19f68316c50b884d46d989257d46c8a3)
2018-04-13 18:17:06 +02:00
Martin
fb97b75147 Add rename check 2018-04-13 18:16:55 +02:00
Martin
16bd6ede4e Renaming clients with directory symlinks not supported 2018-04-08 23:19:27 +02:00
Martin
c0caee0454 Fix image rename 2018-04-08 23:15:59 +02:00
Martin
29b0cf7700 Update client uid
(cherry picked from commit e431dc3ab7aabf2fee234b59cbb8e17608fb3c24)

# Conflicts:
#	urbackupserver/ClientMain.cpp
#	urbackupserver/server_cleanup.cpp
2018-04-08 23:10:18 +02:00
Martin
b52bf652c9 Fix build 2018-04-08 23:09:08 +02:00
Martin
d167712a42 Allow client renames
(cherry picked from commit ddb1cef7b8eb99e528b473559dc45b0ba5e37691)

# Conflicts:
#	urbackupserver/ClientMain.cpp
#	urbackupserver/ClientMain.h
#	urbackupserver/dao/ServerCleanupDao.cpp
#	urbackupserver/dao/ServerCleanupDao.h
#	urbackupserver/dllmain.cpp
2018-04-07 18:47:48 +02:00
Martin Raiber
b5c1239a05 Backup using reflinks if they are available 2018-04-01 23:20:36 +02:00
Martin
bed006a17e Improve add identity info message(s)
(cherry picked from commit 62e7090ca8439c0ddbec11b9391d0f00fec7e066)

# Conflicts:
#	urbackupserver/ClientMain.cpp
2018-02-17 19:34:11 +01:00
Martin
418a98c79e Set client authkey in db trans 2018-01-14 19:38:04 +01:00
Martin
b864185361 Always use simple tokenize function 2017-11-01 14:14:00 +01:00
Martin
062b690a18 Don't start file backups with the same group 2017-09-21 00:33:39 +02:00
Martin Raiber
50c61915f1 Fix capa error return 2017-08-24 22:47:40 +02:00
Martin
c68b1b0127 Show when backups are paused 2017-07-03 14:22:15 +02:00
Martin Raiber
9c6f5af926 Fix client server identity reset handling 2017-05-01 21:15:52 +02:00
Martin
fb7ce0798a Improve alerts 2017-04-14 02:19:35 +02:00
Martin
0e7b0f83ba Lazy user token creation 2017-03-21 00:09:24 +01:00
Martin
2fcb410f9d Resend server identity on before forced re-auth 2017-03-17 02:05:23 +01:00
Martin
85aca2de41 Allow restore via Internet 2017-03-02 00:36:06 +01:00
Martin Raiber
c363939716 Working on parallel file hashing 2017-02-14 17:48:50 +01:00
Martin Raiber
e5085ea3b1 Fix sending of updated client settings 2016-12-29 00:40:19 +01:00
Martin Raiber
da40062dab Do not add NULL pointer throttlers 2016-12-28 23:23:21 +01:00
Martin Raiber
ab17ddb03e Set last image backup after backing up image backup group 2016-12-28 19:01:07 +01:00
Martin
e81b045edc Only start backup if client is online 2016-12-21 21:09:00 +01:00
Martin
eb95953b20 Interpret "-1" as throttling being disabled again, for compatibility reasons 2016-12-19 01:57:26 +01:00
Martin
73168434e9 Cope with identity reset (should not occur)
(cherry picked from commit 1304af6d90dd6f505b42ed89d1c0eb13f11db73d)

# Conflicts:
#	urbackupserver/ClientMain.cpp
2016-12-14 12:55:19 +01:00
Martin
c0e4169f01 Apply dataplan limit if client says connection is metered 2016-12-12 00:59:12 +01:00
Martin
4a7563b135 Hostname database and settings to configure it to not start backups if clients have certain hostnames 2016-12-10 20:57:39 +01:00
Martin
44047219df Compatibility with previous versions: Fix symlinked file to file changes during incremental backups with btrfs 2016-12-10 18:52:49 +01:00
Martin
0b2522cea2 Update client access key if not present 2016-11-30 09:24:39 +01:00
Martin Raiber
bb2dcdbca4 Throtting to percent of max speed determined by regular probing for max speed 2016-11-12 22:23:34 +01:00
Martin
1ebd2d9673 Fix sending settings with groups 2016-11-03 23:57:20 +01:00
Martin
52b0643fbc Fix sending settings with groups 2016-11-03 23:14:35 +01:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
08a6365b92 Increase to two minute timeout for referencing/removing shadow copy 2016-10-23 22:38:00 +02:00
Martin
c4ace4ac4f Consistent backup volume normalization 2016-10-22 22:36:42 +02:00
Martin
3c9813f78b Associate virtual clients with channels 2016-10-10 17:36:44 +02:00
Martin
0d4e899704 Fix race condition in image snapshot group backup 2016-10-01 16:17:44 +02:00
Martin
5c8934f3b0 Put files into backup folders after backup storage synchronization and recover from missing sync files by deleting the backups on startup 2016-10-01 13:39:07 +02:00
Martin
4312df4fe2 Image backups with zfs snapshots 2016-09-27 19:21:56 +02:00
Martin
9fac211a27 Image backups with zfs snapshots 2016-09-27 16:42:22 +02:00
Martin
e9deebab36 Log about backup being scheduled/manually started 2016-09-26 18:36:10 +02:00
Martin
8940191824 Normalize letter for comparing 2016-09-26 18:23:18 +02:00
Martin
e17a47b98b Start scheduled backups only if in backup window 2016-09-24 15:17:10 +02:00
Martin Raiber
1e6e957787 Delete temporary file before using it (to be safe from reuse)
(cherry picked from commit 4960e036072070bf9659b309ae52f6eb34a09ea0)
2016-09-12 14:11:13 +02:00
Martin Raiber
48ff994d26 Reconnect for file indexing (async index) 2016-09-08 22:53:49 +02:00
Martin Raiber
1277df2ea9 Security fix: Send server public key to new clients 2016-09-02 18:40:20 +02:00
Martin Raiber
0cf653991d Fixed settings retrieval from client on Windows servers 2016-08-30 22:37:04 +02:00
Martin
963b378d11 Synchonize backup start time in image snapshot group 2016-08-21 22:30:22 +02:00
Martin
fc139454e2 Image and file backup snapshot groups 2016-08-21 21:22:54 +02:00
Martin
b1471a0c6d Fail backup if referencing/deleting shadow copy fails 2016-08-08 13:34:27 +02:00
Martin
dfa9b307ac Support restore methods of Windows component restore 2016-08-04 01:19:17 +02:00
Martin
2c87c90f8b Update lastseen in database every 5min 2016-07-23 15:50:30 +02:00
Martin
e5a6f2cf8c Live storage migration 2016-07-20 21:20:30 +02:00
Martin
e1f9332e8d Changed default reporting from address 2016-07-19 21:11:29 +02:00
Martin
9ce78e2836 Update capabilities after image backup failure 2016-06-29 13:33:43 +02:00
Martin
200f39116d Transfer block if block has bitmap changes 2016-06-25 15:23:27 +02:00
Martin
06f6bf7b19 Handle address changes during re-authentication and initial authentication 2016-06-15 18:32:42 +02:00
Martin
44f9ae62df Fix some typos and spellings 2016-06-13 16:19:05 +02:00
Martin
b2f247a4d0 Add assertion to running backup accounting 2016-05-30 13:43:46 +02:00
Martin
958bc7f2fd More consistent backup running accounting 2016-05-30 13:41:33 +02:00
Martin
c39cd54605 Allow different versions for the different OS clients 2016-05-29 22:36:23 +02:00
Martin
718605f67d Reset channel if session identity changes 2016-05-28 22:21:41 +02:00
Martin
21a51b6d39 Renamed ERR_FILE_DOESNT_EXIST to ERR_CANNOT_OPEN_FILE. Do not stop backup if this error occurs during patch file download 2016-05-28 21:31:42 +02:00
Martin
83ea45aa9d Prevent race condition to cause more than max simultaneous backups 2016-05-28 19:41:16 +02:00
Martin
3e8dc40e56 Fix bug where scheduled backup was run instead of manually started one
(cherry picked from commit de93e01d354c44d3bb3aa98ec8fbe685782b68fe)
2016-05-23 02:56:01 +02:00
Martin Raiber
e9a2e8ceae Run incremental image backup if full image backup is disabled 2016-05-18 09:36:28 +02:00
Martin Raiber
0890fb93d4 Force re-authentication on address change 2016-05-14 23:22:27 +02:00
Martin
35e133212e New file backup status "completed with issues" and OS and client version persistence 2016-05-11 14:25:50 +02:00
Martin
17d89ea42b Restore all files when restore is done via client regardless of user access tokens 2016-05-07 02:41:45 +02:00
Martin
bc12c32c94 Re-authenticate after client update 2016-05-06 19:59:06 +02:00
Martin
00246d6603 Do not delete excluded/not included files/directories when restoring 2016-05-06 16:59:39 +02:00
Martin
e17263a971 Reset exponential backoff also if backup failed with e.g. timeout 2016-05-04 13:31:43 +02:00
Martin
1fbfbf93c6 Use getTimeMS instead of getTimeSeconds
(cherry picked from commit 6bde4592e588a8f336d5500d6cef46b103c9ed71)
2016-04-28 14:23:27 +02:00
Martin
b20065d2fa Get new session identity after image backup reconnect if needed 2016-04-19 02:42:19 +02:00
Martin
548d1b700b Fine tune capa update time to 6min 2016-04-17 02:33:12 +02:00
Martin
5697ad4a59 Pause retrying backup for 5min after backup fails without exponential backoff
(cherry picked from commit 574718dc21a1c5fe47aaf9c402a3c03eea2dab20)
2016-04-07 16:18:43 +02:00
Martin
57e1570aac Consistent pre/post backup scripts/hooks 2016-04-01 00:37:24 +02:00
Martin
2bc02ff93e Log system error code 2016-03-31 16:15:58 +02:00
Martin
f682ba047c Refactor and fix client update 2016-02-13 13:59:08 +01:00
Martin
c538d94931 Use old signature to update 1.4.x clients 2016-02-01 12:59:19 +01:00
Martin Raiber
142d755a4a Wakeup client main after backup 2016-01-31 17:03:09 +01:00
Martin Raiber
78430ebb4e Look for finished backups before checking if new ones are necessary 2016-01-29 23:41:49 +01:00
Martin Raiber
36b3c770f7 Improved logging 2016-01-28 00:20:25 +01:00
Martin Raiber
c2cd20f424 Reuse connection for ping running messages 2016-01-27 16:01:01 +01:00
Martin
42df10bfa3 Do not cross filesystem boundary on restore per default and option to not delete any files during restore 2016-01-23 22:03:37 +01:00
Martin
82d17e73d2 Show log button on activities screen 2016-01-23 16:05:44 +01:00
Martin
f8f523df69 Shorter thread names 2016-01-21 02:29:47 +01:00
Martin
dff855325e Build Linux client installer 2016-01-20 01:47:08 +01:00