UrBackup - Client/Server Open Source Network Backup for Windows, MacOS and Linux
Go to file
Martin Raiber 097dd28373 Prevent cleanup from deleting incremental image chains that cause number of incremental images to fall below min_incr_image
(cherry picked from commit 4e82dbc8cb7bf5a5633cac7fea83fe90a625a548)

# Conflicts:
#	urbackupserver/server_cleanup.cpp
#	urbackupserver/server_cleanup.h
2018-09-14 20:18:44 +02:00
blockalign Add license header 2018-06-07 16:46:12 +02:00
build Python readall -> read 2017-02-10 10:31:34 +01:00
clientctl Disable assertions in Windows release builds 2018-02-27 21:49:17 +01:00
cmdclient Disable assertions in Windows release builds 2018-02-27 21:49:17 +01:00
common Scipted alert system 2017-04-10 17:53:28 +02:00
cryptoplugin Fix Crypto++ 6.0 byte issue 2018-09-09 20:23:24 +02:00
docs
fileservplugin Retry llistxattr with a multiple of the required memory if it fails 2018-07-09 22:24:09 +02:00
fsimageplugin Functionality to log file changes in incremental image backups 2018-07-09 22:23:44 +02:00
fuseplugin Resize VHD/cow-raw file when opened with parent file 2017-02-03 16:41:31 +01:00
httpserver Disable assertions in Windows release builds 2018-02-27 21:49:17 +01:00
Interface Improve thread pool 2017-07-08 17:57:30 +02:00
libfastcgi
linux_snapshot Fix common snapshot script 2018-02-20 19:13:18 +01:00
luaplugin Add Pulseway alert script 2018-05-14 22:29:47 +02:00
m4 Switched to zlib (from miniz) 2016-02-22 18:59:46 +01:00
mount_helper Mount LVM partitions 2018-06-01 11:35:08 +02:00
osx_installer Do not start client after installation on Mac OS X 2016-02-14 14:52:08 +01:00
piped_process Disable assertions in Windows release builds 2018-02-27 21:49:17 +01:00
restore_cd Only ask for keyboard layout 2017-03-06 01:42:17 +01:00
snapshot_helper Mount LVM partitions 2018-06-01 11:35:08 +02:00
SQLGen Disable assertions in Windows release builds 2018-02-27 21:49:17 +01:00
sqlite Update SQLite 2017-06-20 22:15:15 +02:00
tclap
urbackup Add provider 2017-07-01 20:34:41 +02:00
urbackupclient Fix volume comparison 2018-09-14 11:04:59 +02:00
urbackupcommon Backup and restore VeraCrypt boot loader 2018-09-13 19:29:31 +02:00
urbackupserver Prevent cleanup from deleting incremental image chains that cause number of incremental images to fall below min_incr_image 2018-09-14 20:18:44 +02:00
urbackupserver_installer_win Install luaplugin.dll with NSI installer 2018-01-11 19:06:53 +01:00
urlplugin Only use CURLOPT_EXPECT_100_TIMEOUT_MS if curl version is high enough 2018-07-22 20:51:23 +02:00
utf8
win_service Improve Windows service shutdown 2016-05-24 22:22:25 +02:00
.gitignore Add blockalign tool 2018-06-07 16:45:00 +02:00
.travis.yml Use ccache in travis build 2016-11-28 02:13:38 +01:00
AcceptThread.cpp Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:49:47 +01:00
AcceptThread.h
AUTHORS
build_client_backend.bat Remove X64 config 2016-08-04 22:50:30 +02:00
build_client_release.bat Build with signing 2016-04-26 19:38:03 +02:00
build_client.bat Build with Visual Studio 2015 2015-12-26 17:56:08 +01:00
build_client.sh Set execute flag to build_client.sh script 2017-02-27 19:37:51 +00:00
build_server_debian.sh Use new debian control file with libguestfs-tools dependency 2016-12-09 13:17:48 +01:00
build_server.bat Remove X64 config 2016-08-04 22:50:30 +02:00
build_server.sh Updated crypto++ version 2016-10-24 17:49:12 +02:00
ChangeLog
checkout_client.bat
client_version.h Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Client.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Client.h
CompiledServer.vcxproj Disable assertions in Windows release builds 2018-02-27 21:49:17 +01:00
CompiledServer.vcxproj.filters Switched to Visual Studio 2015; Removed boost dependency on Windows 2015-12-23 18:41:50 +01:00
Condition_lin.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Condition_lin.h
Condition_std.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Condition_std.h Switched to Visual Studio 2015; Removed boost dependency on Windows 2015-12-23 18:41:50 +01:00
configure.ac_client Enable assertions switch during configure 2018-06-01 10:48:16 +02:00
configure.ac_server Increment version 2018-06-07 17:27:19 +02:00
COPYING
create_linux_installer.sh Run installer script by calling sh 2017-12-15 21:24:18 +01:00
create_osx_installer.sh Use embedded crypto++ in macOS client 2017-02-19 16:43:17 +01:00
Database.cpp Return error if ending sql transaction fails 2018-02-17 19:33:08 +01:00
Database.h Set synchronous setting of attached database 2017-05-15 17:54:19 +02:00
DatabaseCursor.cpp Fix dead lock 2017-01-12 01:04:09 +01:00
DatabaseCursor.h Fix build 2016-02-17 16:14:24 +01:00
DBSettingsReader.cpp Fixed compile issue 2016-08-12 14:17:49 +02:00
DBSettingsReader.h Fixed compile issue 2016-08-12 14:17:49 +02:00
defaults_client Allow internal log rotation on Linux 2016-01-21 16:58:17 +01:00
defaults_server New user configuration parameter 2016-12-29 17:03:53 +01:00
defaults.h
download_cryptopp.sh Overwrite when unzipping cryptopp 2017-03-04 01:08:14 +01:00
file_common.cpp Updated copyright 2016-01-02 16:38:00 +01:00
file_fstream.cpp Restore files with backup semantics on Windows 2016-06-05 18:33:36 +02:00
file_linux.cpp Make SEEK_HOLE return -1 on FreeBSD for now (performance problems with ZFS) 2017-05-12 15:31:50 +02:00
file_memory.cpp Updated copyright 2016-01-02 16:38:00 +01:00
file_memory.h Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
file_win.cpp Allow deletion of open hdat_file_vol.dat files on Windows 2017-01-29 19:51:59 +01:00
file.h Fix memory leak during ZIP download 2016-12-06 17:48:47 +01:00
FileSettingsReader.cpp Remove trailing CR from settings values 2017-02-16 20:07:40 +01:00
FileSettingsReader.h Revert "Return zero if settings file cannot be opened" 2016-11-30 01:50:34 +01:00
gpl_header
Helper_win32.h
init.d_client Renamed /etc/default/urbackupclientbackend to /etc/default/urbackupclient 2016-01-20 18:47:39 +01:00
init.d_client_rh Always exclude /proc, /dev and /sys on Linux 2016-01-20 20:23:29 +01:00
init.d_server Fix server binary location 2016-12-15 02:33:50 +01:00
INSTALL
install_client_linux.sh Ability to exclude mount points from snapshot script 2018-01-11 19:08:56 +01:00
libs.h
LoadbalancerClient.cpp Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:49:47 +01:00
LoadbalancerClient.h
logrotate_urbackupsrv Fix log rotation 2016-06-12 20:38:38 +02:00
LookupService.cpp Hostname database and settings to configure it to not start backups if clients have certain hostnames 2016-12-10 20:57:39 +01:00
LookupService.h Hostname database and settings to configure it to not start backups if clients have certain hostnames 2016-12-10 20:57:39 +01:00
main.cpp Fix error message if user does not exist during startup 2018-06-01 10:49:12 +02:00
maintest.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Makefile.am_client Fix build 2018-06-01 10:51:49 +02:00
Makefile.am_server Add pulseway lua file to make dist 2018-05-18 22:11:49 +02:00
md5.cpp Fix issue 2017-12-17 15:59:25 +01:00
md5.h Fix build 2017-12-17 15:37:47 +01:00
MemoryPipe.cpp Updated copyright 2016-01-02 16:38:00 +01:00
MemoryPipe.h
MemorySettingsReader.cpp Updated copyright 2016-01-02 16:38:00 +01:00
MemorySettingsReader.h Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
mt19937ar.cpp Made Linux restore working 2015-12-18 16:58:50 +01:00
mt19937ar.h Made Linux restore working 2015-12-18 16:58:50 +01:00
Mutex_lin.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Mutex_lin.h
Mutex_std.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Mutex_std.h Switched to Visual Studio 2015; Removed boost dependency on Windows 2015-12-23 18:41:50 +01:00
NEWS
OutputStream.cpp Updated copyright 2016-01-02 16:38:00 +01:00
OutputStream.h
pdb_dirs_client.txt
pdb_dirs_server.txt
PipeThrottler.cpp Fix throttling 2016-12-02 13:54:39 +01:00
PipeThrottler.h Throtting to percent of max speed determined by regular probing for max speed 2016-11-12 22:23:34 +01:00
Query.cpp Correctly reset interrupted cursors 2017-10-18 23:09:48 +02:00
Query.h Fix dead lock 2017-01-12 01:04:09 +01:00
rc.d_freebsd_server Create rc.d_freebsd_server 2017-04-11 12:01:36 +03:00
README
readme.md Fix build instructions 2016-11-28 16:29:04 +01:00
SelectThread.cpp Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +01:00
SelectThread.h
server-license.txt Added speed sparklines 2016-02-02 02:35:11 +01:00
Server.cpp Fix build 2017-12-17 15:49:34 +01:00
Server.h Improve thread pool 2017-07-08 17:57:30 +02:00
ServerLinux.cpp
ServerWin32.cpp Log dll load errors with error level 2018-02-28 15:26:00 +01:00
ServiceAcceptor.cpp Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:49:47 +01:00
ServiceAcceptor.h
ServiceWorker.cpp Refactoring 2016-01-26 23:55:13 +01:00
ServiceWorker.h Show command line process bar during restore 2016-01-24 21:09:28 +01:00
SessionMgr.cpp Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +01:00
SessionMgr.h Fixed wchar_t usage 2015-12-22 13:27:12 +01:00
SettingsReader.cpp Updated copyright 2016-01-02 16:38:00 +01:00
SettingsReader.h Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
SharedMutex_lin.cpp Add additional shared mutex assertion before write lock 2017-01-12 01:12:14 +01:00
SharedMutex_lin.h Assertions for shared mutex recursive read locks 2017-01-12 01:04:01 +01:00
SharedMutex_std.cpp Add additional shared mutex assertion before write lock 2017-01-12 01:12:14 +01:00
SharedMutex_std.h Assertions for shared mutex recursive read locks 2017-01-12 01:04:01 +01:00
socket_header.h Check for accept4 and use fallback if not present 2017-03-03 17:30:58 +01:00
SolutionDependencies.props
SolutionDependencies.props.default
SQLiteFactory.cpp Updated copyright 2016-01-02 16:38:00 +01:00
SQLiteFactory.h
StaticPluginRegistration.cpp
StaticPluginRegistration.h
StreamPipe.cpp Do not add NULL pointer throttlers 2016-12-28 23:23:21 +01:00
StreamPipe.h
stringtools.cpp Prevent XSS with action parameter 2017-11-29 15:37:00 +01:00
stringtools.h Prevent XSS with action parameter 2017-11-29 15:37:00 +01:00
switch_build_mac.sh
switch_build.sh
Table.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Table.h Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
Template.cpp Updated copyright 2016-01-02 16:38:00 +01:00
Template.h Removed UTF16 string (std::wstring) in most places. UTF8 everywhere! 2015-12-13 16:17:36 +01:00
ThreadPool.cpp Allow multiple simultaneous waiters for thread pool thread 2018-06-01 11:35:21 +02:00
ThreadPool.h Allow multiple simultaneous waiters for thread pool thread 2018-06-01 11:35:21 +02:00
types.h
uninstall_urbackupclient Remove init script links on uninstall 2017-02-16 23:09:55 +01:00
update_deps.bat Build with Visual Studio 2015 2015-12-26 18:02:23 +01:00
update_restore.sh Overwrite when unzipping cryptopp 2017-03-04 01:08:14 +01:00
urbackup-server-firewalld.xml
urbackup-server.service Removed systemd task limit 2016-05-10 23:38:29 +02:00
UrBackupBackend.sln Add blockalign tool 2018-06-19 19:25:54 +02:00
UrBackupBackend.smproj
urbackupclientbackend-debian.service Renamed /etc/default/urbackupclientbackend to /etc/default/urbackupclient 2016-01-20 18:47:39 +01:00
urbackupclientbackend-redhat.service Renamed /etc/default/urbackupclientbackend to /etc/default/urbackupclient 2016-01-20 18:47:39 +01:00
vld_.h
vld.h
WorkerThread.cpp Prevent XSS with action parameter 2017-11-29 15:37:00 +01:00
WorkerThread.h
zero.hash

UrBackup

Please see the website at https://www.urbackup.org for more informations, wiki, forums and the issue tracker.

Building on Linux/MacOS

Use

./switch_build.sh server

to switch to a server build and

./switch_build.sh client
git clone https://github.com/uroni/urbackup_frontend_wx client
cd client && git checkout BRANCH

to switch to building a client.

Afterwards build the client/server using

autoreconf --install
./configure
make -j8

Building on Windows

If git is in PATH you can download all dependencies by running update_deps.bat.

Afterwards opening and compiling the solution UrBackupBackend.sln with Microsoft Visual Studio 2015 should work.

build_client.bat and build_server.bat build the installers but you need to install a lot of dependencies like WiX, NSIS plus plugins, etc.

Build Status