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

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed May 28, 2015
1 parent bee2672 commit 2e8309f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
5 changes: 5 additions & 0 deletions manuals/en/main/bareos.sty
Expand Up @@ -115,6 +115,8 @@
\newcommand{\lt}{\textless}
\newcommand{\gt}{\textgreater}
\newcommand{\pipe}{\textbar\ }
\newcommand{\registered}{\raisebox{.6ex}{\textsuperscript{\textregistered}}}
\newcommand{\trademark}{\raisebox{.6ex}{\textsuperscript{\texttrademark}}}
% these characters must be quoted in Bareos config files: &<>()@^|
\newcommand{\configCharsToQuote}{\parameter{&<>()@^}\textbar\ }

Expand All @@ -141,6 +143,9 @@
\newcommand{\registrykey}[1]{\path|#1|}
\newcommand{\variable}[1]{\path|#1|}

\newcommand{\vmware}{VMware\registered}
\newcommand{\vSphere}{VMware vSphere\registered}

%%
\newcommand{\debug}[1]{\marginpar{#1}}
%%
Expand Down
2 changes: 1 addition & 1 deletion manuals/en/main/install.tex
Expand Up @@ -346,7 +346,7 @@ \subsubsection{PostgreSQL}
su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges
\end{commands}
The \command{grant_bareos_privileges} command is required, if new databases tables are introduced. It does not hurt to run es multiple times.
The \command{grant_bareos_privileges} command is required, if new databases tables are introduced. It does not hurt to run it multiple times.
After this, restart the Bareos Director and verify it starts without problems.
Expand Down
21 changes: 10 additions & 11 deletions manuals/en/main/plugins-vmware-plugin.tex
Expand Up @@ -2,15 +2,15 @@ \subsection{VMware Plugin}
\label{VMwarePlugin}
\index[general]{Plugin!VMware}

The VMware\raisebox{.6ex}{\textsuperscript{\textregistered}} Plugin can be
The \vmware\ Plugin can be
used for agentless backups of virtual machines running on
VMware vSphere\raisebox{.6ex}{\textsuperscript{\textregistered}}.
\vSphere.
It makes use of CBT (Changed Block Tracking) to do space efficient
full and incremental backups, see below for mandatory requirements.

\subsubsection{Status}

The current development status of the VMware\raisebox{.6ex}{\textsuperscript{\textregistered}}
The current development status of the \vmware\
plugin is experimental.

The Plugin can do full, differential and incremental backup and restore of VM disks.
Expand All @@ -25,10 +25,10 @@ \subsubsection{Status}
\end{itemize}

\subsubsection{Requirements}
As the Plugin is based on the VMware vSphere® Storage APIs for Data Protection,
which requires at least a VMware vSphere® Essentials License.
As the Plugin is based on the \vSphere\ Storage APIs for Data Protection,
which requires at least a \vSphere\ Essentials License.
It does not work with standalone unlicensed
VMware® ESXi\raisebox{.6ex}{\textsuperscript{\texttrademark}}
VMware® ESXi\trademark.

\subsubsection{Installation}

Expand Down Expand Up @@ -98,7 +98,7 @@ \subsubsection{Backup}
in the bareos-vmware-plugin package:

\begin{commands}{usage of vmware\_cbt\_tool.py}
# vmware_cbt_tool.py --help
# <parameter>vmware_cbt_tool.py --help</parameter>
usage: vmware_cbt_tool.py [-h] -s HOST [-o PORT] -u USER [-p PASSWORD] -d
DATACENTER -f FOLDER -v VMNAME [--enablecbt]
[--disablecbt] [--resetcbt] [--info]
Expand Down Expand Up @@ -128,20 +128,19 @@ \subsubsection{Backup}
For the above configuration example, the command to enable CBT would be

\begin{commands}{Example using vmware\_cbt\_tool.py}
vmware_cbt_tool.py -s vcenter.example.org -u bakadm@vsphere.local -p Bak.Adm-1234 \
-d mydc1 -f /webservers -v websrv1 --enablecbt
# <parameter>vmware_cbt_tool.py -s vcenter.example.org -u bakadm@vsphere.local -p Bak.Adm-1234 -d mydc1 -f /webservers -v websrv1 --enablecbt</parameter>
\end{commands}

Note: CBT does not work if the virtual hardware version is 6 or earlier.

After enabling CBT, Backup Jobs can be run or scheduled as usual,
for example in \command{bconsole}:

\command{run job=vm-websrv1 level=Full}
\bcommand{run}{job=vm-websrv1 level=Full}

\subsubsection{Restore}

For restore, the VM must be powered off and no snapshot must exist.
In \command{bconsole} use the restore menu 5, select the correct FileSet
and enter \command{mark *}, then \command{done}. After restore has finished,
and enter \bcommand{mark *}{}, then \bcommand{done}{}. After restore has finished,
the VM can be powered on.

0 comments on commit 2e8309f

Please sign in to comment.