rss logo

How to Burp Backup

Intro

Burp is a backup/restore tool developed by Graham Keeling.

Network diagram

A burp backup architecture

Configuration

Here a situation where a files server is broken so we want to restore files to a new computer. Here a Windows 7 station.

Settings

Burp Server

/etc/default/burp.conf

mode = server # Defaults for burp initscript # sourced by /etc/init.d/burp # installed at /etc/default/burp by the maintainer scripts # # This is a POSIX shell fragment # RUN=yes # Additional options that are passed to the Daemon. DAEMON_ARGS="-c /etc/burp/burp-server.conf"

/etc/burp/burp-server.conf

mode = server port = 4971 status_port = 4972 directory = /burp clientconfdir = /etc/burp/clientconfdir pidfile = /var/run/burp.server.pid hardlinked_archive = 0 working_dir_recovery_method = use max_children = 5 max_status_children = 5 umask = 0022 syslog = 1 stdout = 0 client_can_delete = 1 client_can_force_backup = 1 client_can_list = 1 client_can_restore = 1 client_can_verify = 1 version_warn = 1 keep = 7 keep = 4 keep = 2 ca_conf = /etc/burp/CA.cnf ca_name = burpCA ca_server_name = burpserver ca_burp_ca = /usr/sbin/burp_ca ssl_cert_ca = /etc/burp/ssl_cert_ca.pem ssl_cert = /etc/burp/ssl_cert-server.pem ssl_key = /etc/burp/ssl_cert-server.key ssl_key_password = password ssl_dhfile = /etc/burp/dhfile.pem timer_script = /etc/burp/timer_script timer_arg = 20h timer_arg = Mon,Tue,Wed,Thu,Fri,00,01,02,03,04,05,12,13,19,20,21,22,23 timer_arg = Sat,Sun,00,01,02,03,04,05,06,07,08,17,18,19,20,21,22,23 restore_client = testclient #allow restore from server restore_client = windows7 #allow restore from windows7 station # Mail config : notify_success_script = /etc/burp/notify_script notify_success_arg = sendmail -f burp@shebangthedolphins.net burp@shebangthedolphins.net notify_success_arg = To: burp@shebangthedolphins.net notify_success_arg = From: burp@shebangthedolphins.net notify_success_arg = Subject: [BURP] : %b succeeded: %c %w notify_failure_script = /etc/burp/notify_script notify_failure_arg = sendmail -f burp@shebangthedolphins.net burp@shebangthedolphins.net notify_failure_arg = To: burp@shebangthedolphins.net notify_failure_arg = From: burp@shebangthedolphins.net notify_failure_arg = Subject: [BURP] : %b failed: %c %w

/etc/burp/burp.conf

mode = client port = 4971 server = 127.0.0.1 password = abcdefgh cname = testclient pidfile = /var/run/burp.client.pid syslog = 0 stdout = 1 progress_counter = 1 server_can_restore = 0 cross_filesystem=/home cross_all_filesystems=0 ca_burp_ca = /usr/sbin/burp_ca ca_csr_dir = /etc/burp/CA-client ssl_cert_ca = /etc/burp/ssl_cert_ca.pem ssl_cert = /etc/burp/ssl_cert-client.pem ssl_key = /etc/burp/ssl_cert-client.key ssl_key_password = password ssl_peer_cn = burpserver include = /home exclude_fs = sysfs exclude_fs = tmpfs nobackup = .nobackup exclude_comp=bz2 exclude_comp=gz

/etc/burp/clientconfdir/windows7

mode = client password = mypassword7

/etc/burp/clientconfdir/windows2013

password = mypassword2003 include = "C:/" include = "D:/" max_file_size = 50Gb

Windows 7

First we install the same burp version (here the 1.3.48).

C:/Program Files/Burp/burp.conf

mode = client server = 192.168.1.1 port = 4971 cname = windows7 password = mypassword7 include = C:/Users nobackup = .nobackup lockfile = C:/Program Files/Burp/lockfile ca_burp_ca = C:/Program Files/Burp/bin/burp_ca.bat ca_csr_dir = C:/Program Files/Burp/CA ssl_cert_ca = C:/Program Files/Burp/ssl_cert_ca.pem ssl_cert = C:/Program Files/Burp/ssl_cert-client.pem ssl_key = C:/Program Files/Burp/ssl_cert-client.key ssl_key_password = password ssl_peer_cn = burpserver autoupgrade_os = win64 autoupgrade_dir = C:/Program Files/Burp/autoupgrade

Restore

C:\Users\Administrator> burp.exe -a l -C windows2013 C:\Users\Administrator> burp.exe -a r -C windows2013 -r ^D: -d F: -b 0000001 C:\Users\Administrator> burp.exe -a r -C windows2013 -r ^D:/Users/Shebang -d F: -b 0000008
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact :

contact mail address