Commit Graph

541 Commits

Author SHA1 Message Date
Martin
aaa814e427 Merge remote-tracking branch 'gh/dev' into dev 2022-01-09 10:37:04 +01:00
Moisie2000
4a370db579 Update macOS exclusions for macOS 12 Monterey 2021-12-25 15:37:37 +00:00
Martin
ceb51dc4e2 Merge remote-tracking branch 'urpc/dev' into dev 2021-12-22 14:03:59 +01:00
Martin
1d9525958e Merge remote-tracking branch 'Moisie2000/reworkOfMacOSExcludes' into dev
# Conflicts:
#	create_osx_installer.sh
#	osx_installer/buildmacOSexclusions
#	urbackupclient/client.cpp
2021-10-23 16:40:21 +02:00
Martin
87dc803189 Fix resume corruption with full sparse file transfer 2021-10-23 16:34:08 +02:00
Moisie2000
4efd0bcbfc Rework macOS file exclusions:
- To account for the lack of a built-in list of exclusions in modern releases of macOS;
- To more comprehensively exclude files which the OS prevents reading of via System Integrity Protection;
- To exclude files which have an extended attribute set to prevent backups;
- Moves the building of the exclusion list from the client installer into the main code (preventing the possibility of an outdated exclusion list on an updated OS);
- Generates log entries showing the matching exclusion term which causes a file to not be backed up;
- Creates a file at /Library/Application Support/UrBackup Client/var/urbackup/macOS_exclusion_overrides.txt to allow for exclusion terms to be overridden.
2021-09-24 16:16:45 +01:00
Martin
86a099a00c Options to pause or not start backup if Windows is unlocked 2021-07-15 17:00:35 +02:00
Martin
a0d778f3f2 Improve showing local backup progress 2021-06-28 23:24:30 +02:00
Martin
bbb9dc66ff Replace std::auto_ptr with std::unique_ptr 2021-06-20 17:56:33 +02:00
Martin Raiber
748abdecaf Fix local backups 2021-06-15 16:49:09 +02:00
Martin Raiber
8df03ccf50 Add client local backup management to server 2021-06-08 19:04:47 +02:00
Martin Raiber
369b8fa58c Fix build 2021-05-18 18:49:39 +02:00
Martin Raiber
4770839a3b Add backup destination settings 2021-05-15 16:08:40 +02:00
Martin Raiber
82fbab47ff Use unique_ptr 2021-05-08 09:21:07 +02:00
Martin Raiber
efdd376607 Add license 2021-05-08 09:20:40 +02:00
Martin Raiber
1e9d4396a9 Fix build 2021-05-08 09:19:37 +02:00
Martin Raiber
3f6e37ad2e Fix chunk hasher 2021-05-08 09:19:07 +02:00
Martin
f23422ac67 Work on local backup 2021-03-31 19:42:58 +02:00
Martin
f6ee8008c6 Merge branch 'dev' of github.com:uroni/urbackup_backend into dev
# Conflicts:
#	create_osx_installer.sh
#	urbackupclient/ClientService.cpp
2021-03-14 17:27:55 +01:00
Mathias Gruber
49830eb512 Thread and I/O priority for MacOS X. 2021-01-22 18:16:27 +01:00
Martin Raiber
ad387460e8 Implement ransomware canary 2021-01-21 01:33:20 +01:00
Mathias Gruber
a58442df61 Review of OSX porting issues
Fixed general compile errors.
Fixed a bug in caused by different stavfs semantics between Linux and BSD. This caused the computing of invalid disk sizes.  The use of 32-bit data-types on BSD were also causing truncation errors for a multiplication.
2020-12-29 17:06:31 +01:00
Martin
3b96d00f7d Fix build issue 2020-10-14 23:31:03 +02:00
Martin
9c088b9d9f Handle unwritten extents in Linux CBT 2020-10-06 18:58:21 +02:00
Martin
b7badcc296 Only use CBT up to valid data length
(cherry picked from commit 0f0896244c)

# Conflicts:
#	urbackupserver/dllmain.cpp
2020-10-06 18:30:00 +02:00
Martin
746058f203 Make amount of download, hash, image compress and client parallel hash threads configurable 2020-09-29 17:01:38 +02:00
Martin
225ef5e0bf Add local/passive connection encryption/compression 2020-08-11 00:11:18 +02:00
Martin
78d274f762 For compatibility reasons add a setting for Internet port again and keep non-default setting on upgrade 2020-07-14 12:24:58 +02:00
Martin
41e5c28030 Skip interfaces where address is not set 2020-07-13 19:15:54 +02:00
Martin
beb081cd5a Add missing include 2020-07-06 17:44:14 +02:00
Martin
e68cc09b90 Add missing include 2020-07-06 17:40:34 +02:00
Martin
d9bdad3326 Implement connection establishment via web sockets 2020-07-05 23:53:06 +02:00
Martin
b903f584e0 Handle issue where directory doesn't get iterated forward because of error 2020-07-05 21:19:13 +02:00
Martin
4fb806e7b0 Implement connection establishment via web sockets 2020-07-05 21:18:34 +02:00
Martin
e641ea58c5 Fix build 2020-02-11 16:53:08 +01:00
Martin
84138c3225 Fix destructor call 2020-02-11 15:07:47 +01:00
Martin
2d9fcb0022 Setting to only allow access to settings after the user enters a text 2020-01-19 22:56:09 +01:00
Martin
637aa98002 More explicit setting configuration 2019-10-31 12:05:27 +01:00
Martin
e306f93a4a Handle EINVAL error return of BTRFS_IOC_SYNC
(cherry picked from commit dced36d9aa)
2019-10-24 21:42:05 +02:00
Martin
539e51a85d More explicit settings configuration
(cherry picked from commit 8a2ee6cd3ddbf5d739fbfaf33ecb367930206471)

# Conflicts:
#	urbackupcommon/settingslist.cpp
#	urbackupserver/dllmain.cpp
#	urbackupserver/server_settings.cpp
#	urbackupserver/server_settings.h
#	urbackupserver/serverinterface/settings.cpp
2019-10-20 03:20:25 +02:00
Martin
4304e77c0a Fall back to sync() if syncfs returns EINVAL 2019-10-16 12:52:30 +02:00
Martin
6a152a2843 More explicit settings configuration
(cherry picked from commit 8a2ee6cd3ddbf5d739fbfaf33ecb367930206471)

# Conflicts:
#	urbackupcommon/settingslist.cpp
#	urbackupserver/dllmain.cpp
#	urbackupserver/server_settings.cpp
#	urbackupserver/server_settings.h
#	urbackupserver/serverinterface/settings.cpp
2019-10-15 20:23:18 +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
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
22c4b3e287 Make list of servers forwarding endpoint information configurable
(cherry picked from commit a3ac7c26fdebdadae8065577d0167fec351ac286)

# Conflicts:
#	urbackupcommon/settingslist.cpp
#	urbackupserver/serverinterface/settings.cpp
#	urbackupserver/www/js/urbackup.js
#	urbackupserver/www/templates/settings_inv_row.htm
2019-08-04 19:46:18 +02:00
Martin Raiber
8d707ce52b Fix recursive directory deletion on Linux/FreeBSD 2019-08-04 14:53:13 +02:00
Martin
f4bc325cfc Fix file download queuing error handling 2019-07-30 17:44:33 +02:00
Martin
0e6cbaafc2 Log about unknown packet id 2019-07-30 17:19:48 +02:00
Martin
a884d65e9f Add scope to file client addr hints 2019-07-17 21:15:32 +02:00
Martin
1ffefce796 Use more recent android sdk version to get posix_spawn support 2019-07-11 22:59:01 +02:00