<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation &amp; operation on Onesimus — Modern Backup Management</title><link>https://onesimus.io/docs/install/</link><description>Recent content in Installation &amp; operation on Onesimus — Modern Backup Management</description><generator>Hugo</generator><language>en</language><atom:link href="https://onesimus.io/docs/install/index.xml" rel="self" type="application/rss+xml"/><item><title>Install the GUI</title><link>https://onesimus.io/docs/install/gui/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://onesimus.io/docs/install/gui/</guid><description>&lt;p&gt;The GUI is a Qt6/C++17 application. It needs &lt;strong&gt;Qt 6.8 or newer&lt;/strong&gt;, &lt;strong&gt;CMake 3.16 or newer&lt;/strong&gt; and a&#10;C++17 compiler. OpenSSL is built from a Git submodule unless you ask for the system OpenSSL.&lt;/p&gt;&#10;&lt;h2 id="linux"&gt;Linux&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo apt-get install build-essential cmake git perl imagemagick libssl-dev libxkbcommon-dev &lt;span style="color:#f1fa8c"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; qt6-base-dev qt6-base-private-dev qt6-tools-dev qt6-tools-dev-tools &lt;span style="color:#f1fa8c"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; qt6-grpc-dev &lt;span style="color:#6272a4"&gt;# Qt GRPC and Qt Protobuf, for the connection to the Onesimus Director&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git clone https://github.com/Onesimus-io/Onesimus.git&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;cd&lt;/span&gt; Onesimus&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;./build.sh&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The program is &lt;code&gt;build/onesimus&lt;/code&gt;. Package names for Fedora, Arch and openSUSE are in&#10;&lt;a href="https://github.com/Onesimus-io/Onesimus/blob/development/BUILD_LINUX.md"&gt;BUILD_LINUX.md&lt;/a&gt;.&#10;&lt;code&gt;cpack -G DEB&lt;/code&gt; in the build directory makes a Debian package.&lt;/p&gt;</description></item><item><title>Packages, directories and services</title><link>https://onesimus.io/docs/install/packages/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://onesimus.io/docs/install/packages/</guid><description>&lt;p&gt;The Rust stack lives in the repository&#10;&lt;a href="https://github.com/Onesimus-io/onesimus-director"&gt;onesimus-director&lt;/a&gt;. There is no public package&#10;repository yet: you build the Debian packages yourself with&#10;&lt;a href="https://crates.io/crates/cargo-deb"&gt;cargo-deb&lt;/a&gt; and install them with &lt;code&gt;dpkg -i&lt;/code&gt;.&lt;/p&gt;&#10;&lt;h2 id="build-the-packages"&gt;Build the packages&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;git clone https://github.com/Onesimus-io/onesimus-director.git&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8be9fd;font-style:italic"&gt;cd&lt;/span&gt; onesimus-director&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cargo build --release -p odir -p ofd -p oconsole &lt;span style="color:#f1fa8c"&gt;\&#10;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; --no-default-features --features oconsole/mcp-production&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#ff79c6"&gt;for&lt;/span&gt; p in odir ofd oconsole; &lt;span style="color:#ff79c6"&gt;do&lt;/span&gt; cargo deb -p &lt;span style="color:#8be9fd;font-style:italic"&gt;$p&lt;/span&gt; --no-build; &lt;span style="color:#ff79c6"&gt;done&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cargo build --release -p osd-daemon &lt;span style="color:#ff79c6"&gt;&amp;amp;&amp;amp;&lt;/span&gt; cargo deb -p osd-daemon --no-build&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ls target/debian/&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;mcp-production&lt;/code&gt; feature builds &lt;code&gt;oconsole&lt;/code&gt; with the production MCP policy (the assistant&amp;rsquo;s&#10;restricted rights, read-only over HTTP); the Debian packages always use it.&lt;/p&gt;</description></item><item><title>Migrating from Bareos (and back)</title><link>https://onesimus.io/docs/install/migrate-from-bareos/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://onesimus.io/docs/install/migrate-from-bareos/</guid><description>&lt;p&gt;&lt;code&gt;odir&lt;/code&gt; is a drop-in replacement for &lt;code&gt;bareos-dir&lt;/code&gt; 25: same configuration directory, same PostgreSQL&#10;catalog, same clients and storage daemons, same console port for &lt;code&gt;bconsole&lt;/code&gt;. The way back to&#10;&lt;code&gt;bareos-dir&lt;/code&gt; stays open: keep the package &lt;code&gt;bareos-director&lt;/code&gt; installed.&lt;/p&gt;&#10;&lt;h2 id="before-you-start"&gt;Before you start&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Back up the catalog&lt;/strong&gt; (for example with &lt;code&gt;pg_dump&lt;/code&gt;). &lt;code&gt;odir&lt;/code&gt; adds objects in its own schema&#10;&lt;code&gt;onesimus&lt;/code&gt;, prunes according to your retention like Bareos, and protects more than Bareos does,&#10;but a backup is your safety net.&lt;/li&gt;&#10;&lt;li&gt;Pick a moment when no job is running.&lt;/li&gt;&#10;&lt;li&gt;Make sure the catalog user may create the schema &lt;code&gt;onesimus&lt;/code&gt; (see&#10;&lt;a href="../packages/#the-catalog"&gt;The catalog&lt;/a&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="switch-the-director"&gt;Switch the Director&lt;/h2&gt;&#10;&lt;p&gt;Installing the package &lt;code&gt;odir&lt;/code&gt; starts it right away, and systemd stops &lt;code&gt;bareos-dir&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>gRPC and TLS between GUI and Director</title><link>https://onesimus.io/docs/install/grpc-tls/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://onesimus.io/docs/install/grpc-tls/</guid><description>&lt;p&gt;The Onesimus Director offers two interfaces at the same time:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;the &lt;strong&gt;classic console port&lt;/strong&gt; (9101), for &lt;code&gt;bconsole&lt;/code&gt;, &lt;code&gt;oconsole&lt;/code&gt; and the GUI in Bareos mode;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;gRPC with TLS&lt;/strong&gt; on the console port + 1000 (default &lt;strong&gt;10101&lt;/strong&gt;), for the GUI and&#10;&lt;code&gt;oconsole --grpc&lt;/code&gt;. It carries the typed API, configuration changes and the push events (live job&#10;log, job status).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;gRPC is on by default and needs no directive in the configuration.&lt;/p&gt;&#10;&lt;h2 id="the-certificate"&gt;The certificate&lt;/h2&gt;&#10;&lt;p&gt;gRPC always uses TLS. If you do not give a certificate, &lt;code&gt;odir&lt;/code&gt; creates a self-signed one at the first&#10;start in its working directory (&lt;code&gt;/var/lib/bareos/onesimus-grpc.crt&lt;/code&gt; and &lt;code&gt;.key&lt;/code&gt;) and keeps it.&#10;Clients &lt;strong&gt;pin its SHA-256 fingerprint&lt;/strong&gt; on first use: the GUI shows the fingerprint and asks you to&#10;confirm it, and warns if it does not match the fingerprint announced in the network.&lt;/p&gt;</description></item><item><title>Storage daemon on a NAS</title><link>https://onesimus.io/docs/install/nas-storage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://onesimus.io/docs/install/nas-storage/</guid><description>&lt;p&gt;The storage daemon belongs on the machine with the disks. &lt;code&gt;osd&lt;/code&gt; is a single program, and for old&#10;32-bit machines it can be built as a static binary, so it also runs on a small NAS that runs Linux. It writes volumes&#10;in the Bareos format, which &lt;code&gt;bls&lt;/code&gt; and &lt;code&gt;bareos-sd&lt;/code&gt; can read.&lt;/p&gt;&#10;&lt;div class="note"&gt;&#10;&lt;p&gt;There are &lt;strong&gt;no packages for NAS operating systems&lt;/strong&gt; (vendor app stores and the like). You need a Linux&#10;on the NAS on which you can run your own program and service: a Debian-based system can take the&#10;&lt;code&gt;osd&lt;/code&gt; Debian package; otherwise you copy the program and write a service for your init system.&lt;/p&gt;&#10;&lt;/div&gt;</description></item><item><title>AI assistants (MCP)</title><link>https://onesimus.io/docs/install/mcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://onesimus.io/docs/install/mcp/</guid><description>&lt;p&gt;&lt;code&gt;oconsole --mcp&lt;/code&gt; offers the Director to an AI assistant over the&#10;&lt;a href="https://modelcontextprotocol.io"&gt;Model Context Protocol&lt;/a&gt; (MCP): typed tools such as &lt;code&gt;list_jobs&lt;/code&gt;,&#10;&lt;code&gt;status_director&lt;/code&gt;, &lt;code&gt;show&lt;/code&gt; or &lt;code&gt;configure_update&lt;/code&gt; instead of free command lines. The connection to the&#10;Director is the same as in the interactive console, over the classic console protocol or over gRPC&#10;(&lt;code&gt;--grpc&lt;/code&gt;).&lt;/p&gt;&#10;&lt;p&gt;The assistant does not get your rights. It logs in as a console of its own, and the Director decides&#10;what that console may do.&lt;/p&gt;</description></item></channel></rss>