Burp: Difference between revisions
Jump to navigation
Jump to search
Line 136: | Line 136: | ||
Start the server with: |
Start the server with: |
||
<source lang="bash"> |
<source lang="bash"> |
||
burp -c /etc/burp/burp-server.conf |
|||
burp -a c |
|||
</source> |
</source> |
||
Revision as of 21:05, 25 April 2017
Burp is a network backup and restore program. It attempts to reduce network traffic and the amount of space that is used by each backup.
References
Build on Lacie-CloudBox
Build on Optware
Links:
- Example of install log on QNAP
Install:
- Clone git
# Clone git repository
git clone https://github.com/grke/burp.git
cd burp
git checkout 2.1.6
# Generate the autoconf files
autoreconf -vif
# ...
# Compilation failed in require at /opt/share/automake-1.12/Automake/ChannelDefs.pm line 23.
# ...
# autoreconf: aclocal failed with exit status: 255
- We run autoreconf on ubuntu, and import files back on lacie:
autoreconf -vif
find -name .gitignore|xargs rm
git add -A
git checkout HEAD -- .gitignore m4/.gitignore src/win32/.gitignore test/.gitignore
git commit -m "add results of autoreconf -vif"
git branch -f master
- Install dependencies, from log linked above. Note can use
ipkg list
to find package.
ipkg install openssl-dev librsync zlib
ipkg install gcc make automake autoconf libtool binutils autoconf
ipkg install optware-devel
- Install uthash headers in /opt/include:
git clone https://github.com/troydhanson/uthash.git
cp uthash/src/ut* /opt/include/
- OpenSSL error: unable to find OpenSLL library
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var
# checking For OpenSSL... no
# configure: error: Unable to find OpenSSL library
- This is due to undefined reference:
grep -iC 10 openssl config.log|less
# /opt/arm-none-linux-gnueabi/lib/libdl.so.2: undefined reference to `_dl_tls_get_addr_soft@GLIBC_PRIVATE'
- We relink some libraries as suggested here. Let's relink them all:
cd /opt/arm-none-linux-gnueabi/
mv lib lib.original
ln -sf /lib lib
cd -
- Configure again, now fine:
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var
- Make
make
# ... error about missing aclocal...
Digging further, we see that aclocal
does not work because it requires Perl built with threads enabled. For this we need Perl 5.22 from Optware-ng
Build on Optware-ng
To install
# Install dependencies
ipkg install openssl-dev librsync zlib
ipkg install gcc
ipkg install make automake autoconf libtool binutils autoconf
ipkg install optware-devel
# Install uthash headers in /opt/include:
git clone https://github.com/troydhanson/uthash.git
cp uthash/src/ut* /opt/include/
# Clone git repository
git clone https://github.com/grke/burp.git
cd burp
git checkout 2.1.6
# Generate the autoconf files
autoreconf -vif
# Configure
./configure --prefix=/opt --sysconfdir=/opt/etc/burp --localstatedir=/opt/var
# Make
make
# Install
make install
# Copied/created the following files/directories:
# /opt/bin/vss_strip
# /opt/sbin/burp
# /opt/sbin/burp_ca
# /opt/share/burp
# /opt/share/doc/burp
# /opt/share/man/man8/{bedup.8,bsigs.8,bsparse.8,burp.8,burp_ca.8,vss_strip.8}
# Install config
make install-configs
# Copied/created the following files/directories:
# /opt/etc/burp
# If we want to create a .deb package:
# (Note: if fail, run make install install-configs w/o checkinstall first)
sudo checkinstall make install install-configs
Edit the following files:
- /etc/burp/burp-server.conf (for backup server)
- /etc/burp/burp.conf (for backup client)
Start the server with:
burp -c /etc/burp/burp-server.conf
On the client, start a backup with:
burp -a b
Monitor ongoing backups with:
burp -s