Instructions to install UrBackup Server on FreeNAS

  1. Create a new FreeBSD jail (the default). Map the backup storage into the jail

  2. Open a shell/console to the new jail

  3. Enter

    pkg update
    pkg install cryptopp
    curl -O
    tar xf urbackup-server-2.2.11.tar.gz
    cd urbackup-server-2.2.11
    make install -j4
    If you were previously using the PBI copy /usr/pbi/urbackup-server-amd64/var/urbackup to /usr/local/var/urbackup.

  4. To automatically start UrBackup on jail boot:

    echo "#!/bin/sh" > /etc/rc.local
    echo "/usr/local/bin/urbackupsrv run -d -g 104857600 -u root" >> /etc/rc.local
    chmod +x /etc/rc.local

  5. Restart the jail.

  6. Browse to http://jail-ip:55414 and configure an admin user and the backup storage path.

Repeat steps 3 and 5 to update an existing installation with a new UrBackup version.