HowTo Install UrBackup on FreeNAS 8.3 Jail
Fast Description:
UrBackup is a open source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time.
File and image backups are made while the system is running without interrupting current processes.
UrBackup also continously watches folders you want backed up, in oder to quickly find differences to previous backups. Thus incremental file backups are really fast.
Your files can be restored through the web interface or the Windows Explorer while the backups of drive volumes can be restored with a bootable CD or USB-Stick (bare metal restore).
UrBackup (http://www.urbackup.org/) is made by URONI is not mine, so if you think is it a good software please say thanks to Uroni
I don't write how to configure a Jail on FreeNAS beacuse there are a good docuemntation on http://doc.freenas.org/index.php/Plugins#Managing_the_Plugins_Jail
Below everything you need to start your UrBackup Software!
---
Download latest Urbackup-Server
> wget http://urpc.dyndns.org/urbackup_unstable/urbackup-server-1.0.tar.gz
Fetch ports for Freenas because with need lib crypto++ with option "-fPIC":
> portsnap fetch extract
Compile the library:
> cd /usr/ports/security/cryptopp
> make CXXFLAGS="-fPIC"
> make install
Install Curl
> pkg_add -r curl
Extract the urbackup-server-1.0.tar.gz
> tar zxvf urbackup-server-1.0.tar.gz
> cd urbackup-server
> ./configure
> make
> make install
The UrBackup "make install" on linux works well but on FreeNAS ask about creation of the "urbackup" user so is not difficult we only specify some option like:
- Defualt home: /usr/local/var/urbackup
- Username: urbackup
- Password: no password
Now we are done!
To start UrBackup server:
> cd /usr/local/var
> /usr/local/sbin/urbackup_srv --plugin /usr/local/lib/liburbackupserver_urlplugin.so --plugin /usr/local/lib/liburbackupserver_cryptoplugin.so --plugin /usr/local/lib/liburbackupserver_downloadplugin.so --plugin /usr/local/lib/liburbackupserver_fsimageplugin.so --plugin /usr/local/lib/liburbackupserver_httpserver.so --plugin /usr/local/lib/liburbackupserver.so --http_root /usr/local/var/urbackup/www --workingdir /usr/local/var --user urbackup --http_port 55414
-----
Simple Init Script
> vi /etc/rc.d/urbackup_srv
file: urbackup_srv (Write the script start after "----" to "----"
----
#!/bin/sh
. /etc/rc.subr
name=urbackup_srv
rcvar=urbackup_srv_enable
command="/usr/local/sbin/${name}"
command_args="--plugin /usr/local/lib/liburbackupserver_urlplugin.so --plugin /usr/local/lib/liburbackupserver_cryptoplugin.so --plugin /us
r/local/lib/liburbackupserver_downloadplugin.so --plugin /usr/local/lib/liburbackupserver_fsimageplugin.so --plugin /usr/local/lib/liburbac
kupserver_httpserver.so --plugin /usr/local/lib/liburbackupserver.so --http_root /usr/local/var/urbackup/www --workingdir /usr/local/var --
user urbackup --http_port 55414 --logfile /var/log/urbackup_srv.log"
start_precmd="cd /usr/local/var"
load_rc_config $name
run_rc_command "$1"
----
Give the Executable permission
> chmod +x /etc/rc.d/urbackup_srv
Edit the Autostart file "/etc/rc.d/urbackup_srv" and add the line:
> urbackup_srv_enable="YES"
------
Many thanks to URONI for helping and developing this very good piece of software
Fast Description:
UrBackup is a open source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time.
File and image backups are made while the system is running without interrupting current processes.
UrBackup also continously watches folders you want backed up, in oder to quickly find differences to previous backups. Thus incremental file backups are really fast.
Your files can be restored through the web interface or the Windows Explorer while the backups of drive volumes can be restored with a bootable CD or USB-Stick (bare metal restore).
UrBackup (http://www.urbackup.org/) is made by URONI is not mine, so if you think is it a good software please say thanks to Uroni
I don't write how to configure a Jail on FreeNAS beacuse there are a good docuemntation on http://doc.freenas.org/index.php/Plugins#Managing_the_Plugins_Jail
Below everything you need to start your UrBackup Software!
---
Download latest Urbackup-Server
> wget http://urpc.dyndns.org/urbackup_unstable/urbackup-server-1.0.tar.gz
Fetch ports for Freenas because with need lib crypto++ with option "-fPIC":
> portsnap fetch extract
Compile the library:
> cd /usr/ports/security/cryptopp
> make CXXFLAGS="-fPIC"
> make install
Install Curl
> pkg_add -r curl
Extract the urbackup-server-1.0.tar.gz
> tar zxvf urbackup-server-1.0.tar.gz
> cd urbackup-server
> ./configure
> make
> make install
The UrBackup "make install" on linux works well but on FreeNAS ask about creation of the "urbackup" user so is not difficult we only specify some option like:
- Defualt home: /usr/local/var/urbackup
- Username: urbackup
- Password: no password
Now we are done!
To start UrBackup server:
> cd /usr/local/var
> /usr/local/sbin/urbackup_srv --plugin /usr/local/lib/liburbackupserver_urlplugin.so --plugin /usr/local/lib/liburbackupserver_cryptoplugin.so --plugin /usr/local/lib/liburbackupserver_downloadplugin.so --plugin /usr/local/lib/liburbackupserver_fsimageplugin.so --plugin /usr/local/lib/liburbackupserver_httpserver.so --plugin /usr/local/lib/liburbackupserver.so --http_root /usr/local/var/urbackup/www --workingdir /usr/local/var --user urbackup --http_port 55414
-----
Simple Init Script
> vi /etc/rc.d/urbackup_srv
file: urbackup_srv (Write the script start after "----" to "----"
----
#!/bin/sh
. /etc/rc.subr
name=urbackup_srv
rcvar=urbackup_srv_enable
command="/usr/local/sbin/${name}"
command_args="--plugin /usr/local/lib/liburbackupserver_urlplugin.so --plugin /usr/local/lib/liburbackupserver_cryptoplugin.so --plugin /us
r/local/lib/liburbackupserver_downloadplugin.so --plugin /usr/local/lib/liburbackupserver_fsimageplugin.so --plugin /usr/local/lib/liburbac
kupserver_httpserver.so --plugin /usr/local/lib/liburbackupserver.so --http_root /usr/local/var/urbackup/www --workingdir /usr/local/var --
user urbackup --http_port 55414 --logfile /var/log/urbackup_srv.log"
start_precmd="cd /usr/local/var"
load_rc_config $name
run_rc_command "$1"
----
Give the Executable permission
> chmod +x /etc/rc.d/urbackup_srv
Edit the Autostart file "/etc/rc.d/urbackup_srv" and add the line:
> urbackup_srv_enable="YES"
------
Many thanks to URONI for helping and developing this very good piece of software