Commit Graph

5152 Commits

Author SHA1 Message Date
Martin
efeb30bf52 Run check on non-Windows 2019-09-19 20:59:05 +02:00
Martin
491b0cf993 Fixup old file path on Windows 2019-09-19 20:58:52 +02:00
Martin
b74c9c7f93 Don't try to connect via http proxy if not compiled with SSL 2019-09-19 20:58:33 +02:00
Martin
2467f9131d Fix compilation with older glibc 2019-09-19 20:58:03 +02:00
Martin
99bff33cbc Add tar file hashing debug logging 2019-09-18 23:17:59 +02:00
Martin
4fb649c4de Add tar file hashing debug logging + fix issue 2019-09-18 19:12:11 +02:00
Martin
ef8acaabd0 Fix piped tar file hash issue after resume 2019-09-18 18:00:19 +02:00
Martin
58dadfa56f Use different shell path for Android build (uses /system/bin/sh per default) 2019-09-18 17:53:21 +02:00
Martin
34bb35d5e4 Improve install info about using android build 2019-09-18 17:52:16 +02:00
Martin
2d9c04ab00 Add check for case sensitivity and special Windows file names 2019-09-17 18:14:37 +02:00
Martin
c7c80cc563 Fix build 2019-09-16 19:02:00 +02:00
Martin
1d0726f043 Fix build 2019-09-16 18:53:31 +02:00
Martin
b5626da6f0 Fix build 2019-09-16 18:44:36 +02:00
Martin
f5852133bb Update templates 2019-09-16 18:36:39 +02:00
Martin
91ca8ac2e2 Use "rm -f" instead of plain "rm" to fix asking on e.g. CentOS
(cherry picked from commit 80710652df6216605e6806d8b3d03c929109cb45)

# Conflicts:
#	urbackupserver/www/templates/client_added.htm
2019-09-16 18:36:05 +02:00
Martin
39df93fd38 Create/use separate hash class for adding metadata files
(cherry picked from commit f206cd05535fa943b3dd0c8c9c3bfb36dace4aac)
2019-09-16 18:35:14 +02:00
Martin
f3db7fdcc0 Reset database cursor upon re-use
(cherry picked from commit ca5af2d8907c6415c13ea710e76192b75909c7f1)
2019-09-16 18:34:39 +02:00
Martin
c985060379 Change include order 2019-09-12 15:16:03 +02:00
Martin
e22f405494 Add missing include 2019-09-12 13:17:46 +02:00
Martin
9979795b5c Add missing function 2019-09-12 13:16:43 +02:00
Martin
4e5f02f967 Add alerts global state
(cherry picked from commit 78292fba7e427b5a60c8f9b7fad59413f598789f)

# Conflicts:
#	urbackupserver/Alerts.cpp
#	urbackupserver/dllmain.cpp
2019-09-12 13:15:16 +02:00
Martin
679c70f6df Fix missing client name in alert
(cherry picked from commit 659b13b310a79e73393a7441de3d73840a050cdc)
2019-09-12 13:11:57 +02:00
Martin
d0056ab08c Add group name and id to alert and report scripts as parameters
(cherry picked from commit 72681d810e2eeab2e699e73e0df9b9816fddecc9)

# Conflicts:
#	urbackupserver/LogReport.cpp
2019-09-12 13:10:37 +02:00
Martin
2db3c4340e Incremented versions 2019-09-12 12:59:49 +02:00
Martin
acc22e696e Updated translation 2019-09-12 12:58:41 +02:00
Martin
dc6226e73c Send backup failed notification to client
(cherry picked from commit bfbc79b1ad3ad0c20bfacda920c5e3fed49f1607)
2019-09-12 12:50:23 +02:00
Martin
1065127659 Discover internet clients faster
(cherry picked from commit 47d39890f629967580dde7f3d22cb6ef8255f7f6)

# Conflicts:
#	urbackupserver/server.cpp
#	urbackupserver/server.h
2019-09-12 12:50:05 +02:00
Martin
d8440ce545 Start backup immediately if client requests it
(cherry picked from commit f6579df46f18d7447cb31066ba2d1ac2adf117d3)
2019-09-12 12:48:56 +02:00
Martin Raiber
9673ae21e0 Set db to zero on failure + close
(cherry picked from commit 5a0772c7b02e54d7f12d9626b923542500b05712)
2019-09-12 00:08:20 +02:00
root
b7a8a97e5e Compile lua
(cherry picked from commit 93b6de2b992ba7e4a22427061a85dc14c7a727b7)
2019-09-12 00:07:49 +02:00
Martin Raiber
abb06970be Fix alert nagging
(cherry picked from commit 9e556178641eb7e65cbef28283ed0647f7a05780)
2019-09-12 00:07:40 +02:00
Martin Raiber
8be16bc8b8 Cleanup old client access tokens
(cherry picked from commit fd6d80bc44ffb90f58b02d04324954f32ae5a383)

# Conflicts:
#	urbackupserver/server_cleanup.cpp
2019-09-12 00:07:09 +02:00
Martin Raiber
ba8c1508c8 Always add root token to db
(cherry picked from commit 7e700c450208f5d04d6da6c2e6eaccf98ff72a40)
2019-09-12 00:06:38 +02:00
Martin
5b318825fa Wait for parallel hash thread to finish before deleting it 2019-08-24 15:37:55 +02:00
Martin
b28283225d Add warning message about missing OpenSSL support 2019-08-23 21:01:05 +02:00
Martin
c330f76f52 Check OpenSSL version by checking if function is present 2019-08-23 20:55:33 +02:00
Martin
76b57e5269 Add output during Crypt++ AlignedAllocate check 2019-08-23 20:54:42 +02:00
Martin
c06adc47cc Fix gcc build issue 2019-08-23 20:25:16 +02:00
Martin
dd52e80c31 Fix gcc build issue 2019-08-23 20:20:12 +02:00
Martin
04a00d7adb Always use __alignof__ on gcc 2019-08-23 20:10:17 +02:00
Martin
119140af95 Fix sparse file patch loading if sparse file ends with a sparse extent at a multiple of 512KB and loading the data is faster than sending hash data
(cherry picked from commit d675d2f42d370bf39d1771b7cef606dd7d97a718)
2019-08-23 19:32:37 +02:00
Martin
a01427d6f8 Suspend exclude patterns which would completely remove a selected backup path 2019-08-23 17:36:08 +02:00
Martin
b5991da817 Get backup failed notification from server 2019-08-23 15:55:19 +02:00
Martin
5d53e29ece Allow client to start backup, then exit after it completed successfully/timeout 2019-08-23 15:54:59 +02:00
Martin
66510dc4a0 Re-read blocks with errors with smaller readahead buffer size to narrow down the error location more during scrub 2019-08-22 13:19:00 +02:00
Martin
2b73a1beaa Increment version 2019-08-22 02:02:32 +02:00
Martin
462efa18ec Log restore errors to server 2019-08-15 21:41:49 +02:00
Martin
c1f5e2d556 Correctly initialize socket 2019-08-15 21:41:09 +02:00
Martin
d2a68d5e03 Handle lsb-base package not being present 2019-08-15 21:07:54 +02:00
Martin
9f864b3b98 Improve error handling if e.g. bind() call fails 2019-08-15 20:26:15 +02:00