Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 2.25 KB

readme-macos.md

File metadata and controls

93 lines (70 loc) · 2.25 KB

UrBackup - macOS Build

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

Note

This version includes an additional script - buildmacOSexclusions - which compiles a list of the standard items which Time Machine excludes from a backup. This list is saved into /Library/Application Support/UrBackup Client/var/urbackup/macos_exclusions.txt.

This list can be edited as required to remove or add further exclusions without polluting the usual exclusion list inside UrBackup.

To rebuild the list afresh from the Time Machine settings, run:

sudo ./Applications/UrBackup Client.app/Contents/MacOS/bin/buildmacOSexclusions --force

Building on macOS

Working with macOS 10.12.6:

Prerequisites

Install Xcode command line tools:

xcode-select --install

Install Homebrew (see https://brew.sh ):

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Use Homebrew to install supporting tools:

brew install wget autoconf automake libtool python3 gnu-sed bash makeself

Download and unzip wxWidgets from https://www.wxwidgets.org/downloads/ (Tested ok with 3.1.4)

cd into the wxWidgets folder, then install:

mkdir build-cocoa-debug
cd build-cocoa-debug
../configure --enable-debug --with-macosx-version-min=10.10 --disable-shared --without-liblzma
sudo make install

Source Installation

Assuming building in a folder ~/Urbackup:

Download the backend source:

mkdir ~/UrBackup
cd ~/UrBackup
git clone https://github.com/uroni/urbackup_backend
cd urbackup_backend
git checkout dev

Download the client source:

cd ~/UrBackup/urbackup_backend
git clone https://github.com/uroni/urbackup_frontend_wx.git client
cd client
git checkout dev

Switch to building the client:

cd ~/UrBackup/urbackup_backend
./switch_build_mac.sh client
autoreconf -fvi

And then build it!

cd ~/UrBackup/urbackup_backend
./create_osx_installer.sh

For development, use the -d or --development switches:

cd ~/UrBackup/urbackup_backend
./create_osx_installer.sh -d

Build Status