kopia
через веб интерфейс;bastille console kopia
и следующие операции производим в нем:mkdir -p /usr/local/etc/rc.d mkdir -p /usr/local/bin mkdir /usr/local/kopia touch /var/run/kopia.pid pw user add kopia -c kopia -u 817 -s /usr/bin/nologin chown kopia:kopia /var/run/kopia.pid /usr/local/kopia pkg install kopia
#!/bin/sh # PROVIDE: kopia # REQUIRE: LOGIN # KEYWORD: shutdown . /etc/rc.subr name=kopia rcvar=kopia_enable load_rc_config $name : ${kopia_enable="NO"} : ${kopia_home_dir:="/usr/local/kopia"} pidfile="/var/run/${name}.pid" procname=/usr/local/bin/kopia command=/usr/sbin/daemon command_args="-f -p ${pidfile} -u kopia ${procname} server --insecure --address=http://0.0.0.0:51515 --without-password --config-file=${kopia_home_dir}/repository.config --cache-directory=${kopia_home_dir}/cache" run_rc_command "$1"
chmod +x /usr/local/etc/rc.d/kopia sysrc kopia_enable="YES" service kopia start
51515