Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Ceph storage stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
aussendorf committed Dec 15, 2014
1 parent e571e3c commit c23441d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions manuals/en/main/general.tex
Expand Up @@ -159,6 +159,7 @@ \section{Bareos Packages}
bareos-filedaemon & Bareos File daemon (backup and restore client) \\
bareos-filedaemon-python-plugin & Python plugin for Bareos File daemon \\
bareos-storage & Bareos Storage daemon \\
bareos-storage-ceph & Ceph object store support for the Bareos Storage daemon \\
bareos-storage-fifo & FIFO support for the Bareos Storage backend \\
bareos-storage-glusterfs & GlusterFS support for the Bareos Storage daemon \\
bareos-storage-python-plugin & Python plugin for Bareos Storage daemon \\
Expand Down
28 changes: 26 additions & 2 deletions manuals/en/main/storedconf.tex
Expand Up @@ -380,7 +380,7 @@ \section{Device Resource}
\nameref{DirectorResourceStorage} in its Storage
resource.

\directive{sd}{Archive Device}{device {\textbar} directory {\textbar} fifo}{required}{}{}
\directive{sd}{Archive Device}{device {\textbar} directory {\textbar} fifo {\textbar} Ceph object store}{required}{}{}
Specifies where to read and write the backup data.
The type of the Archive Device can be specified by the {\bf Device Type} directive.
If Device Type is not specified, Bareos tries to guess the Device Type
Expand Down Expand Up @@ -441,10 +441,32 @@ \section{Device Resource}
at the beginning of the job.

A FIFO device can also be used to test your configuration, see the \ilink{Howto section}{TestUsingFifoDevice}.

\item[Ceph Object Store] \label{CephArchiveType}
New since version \sinceVersion{sd}{Ceph}{14.2.2}.
Here you configure the Ceph object store, which is accessed by the SD using the Rados library. Prerequistes are a
working Ceph object store and the package \file{bareos-storage-ceph}. See \url{http://ceph.com} for more information regarding Ceph installation and configuration.
Assuming that you have an object store with name \file{your_bareos_store}
and your Ceph access is configured in \file{/etc/ceph/ceph.conf}, you can use following snippet to configure it as storage device:
\begin{bconfig}{Ceph Object Store Device}
Device {
Name = RadosStorage
Device Type = rados
Media Type = RadosFile
Archive Device = /etc/ceph/ceph.conf:your_bareos_store
LabelMedia = yes
Random Access = Yes
AutomaticMount = yes
RemovableMedia = no
AlwaysOpen = no
}
\end{bconfig}


\end{description}


\directive{sd}{Device Type}{tape {\textbar} file {\textbar} fifo}{}{}{}
\directive{sd}{Device Type}{tape {\textbar} file {\textbar} fifo {\textbar} rados }{}{}{}
The Device Type specification allows you to explicitly tell Bareos
what kind of device you are defining. It the {\bf type-specification}
may be one of the following:
Expand All @@ -459,6 +481,8 @@ \section{Device Resource}
\item [Fifo]
The device is a first-in-first out sequential access read-only
or write-only device.
\item [Rados]
The Rados device is used to access a Ceph object store.
\end{description}

The Device Type directive is not required, and if not specified, Bareos
Expand Down

0 comments on commit c23441d

Please sign in to comment.