<li><p><codeclass="docutils literal notranslate"><spanclass="pre">[srvintranet_mysql_mediawiki]</span></code>: name of the section starts
with the name you give to it;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">type</span></code>: specifies the backup type for the Mysql database dump;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">server_name</span></code>: defines the server to be backed up
by its DNS name or IP address;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">private_key</span></code>: defines the name of the private key to be used
to connect to the client;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">db_name</span></code>: defines the name of the database to dump;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">db_user</span></code>: defines the name of a user with the right to dump on the basis of;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">db_passwd</span></code>: defines the user’s password;</p></li>
</ul>
</section>
<sectionid="backing-up-a-postgresql-database">
<h3>Backing up a PostgreSQL database<aclass="headerlink"href="#backing-up-a-postgresql-database"title="Permalink to this headline">¶</a></h3>
<p>Other non-mandatory parameters can be used. The <codeclass="docutils literal notranslate"><spanclass="pre">listdrivers</span></code> option
allows you to see them. The two most frequently used parameters are:</p>
<ulclass="simple">
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">exclude_list</span></code>: defines the files to be excluded from the backup;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">bwlimit</span></code>: defines the maximum speed of the backup;</p></li>
<h3>Backing up a XenCenter virtual machine<aclass="headerlink"href="#backing-up-a-xencenter-virtual-machine"title="Permalink to this headline">¶</a></h3>
<sectionid="on-local-storage">
<h4>On local storage<aclass="headerlink"href="#on-local-storage"title="Permalink to this headline">¶</a></h4>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">[wsmanage]</span></code>: name of the section starts
with the name you give to it;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">type</span></code>: specifies the backup type for the Mysql database dump;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">xcphost</span></code>: defines the XCP server where the VM is found by its DNS name or IP;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">server_name</span></code>: defines the server to be backed up
by its DNS name or IP address;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">password_file</span></code>: defines a file where are stored the user and the password
to be used for exporting the <emclass="mimetype">.xva</em> file;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">backup_retention_time</span></code>: defines the maximum number of exports
for the virtual machine;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">halt_vm</span></code>: <strong>True</strong> = stop the virtual machine then export,
<strong>False</strong> = snapshot the virtual machine then export the <codeclass="file docutils literal notranslate"><spanclass="pre">xva</span></code>
without stopping the virtual machine;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">enable_https</span></code>: activate or deactivate https protocol for transfer;</p></li>
</ul>
</section>
<sectionid="on-remote-storage">
<h4>On remote storage<aclass="headerlink"href="#on-remote-storage"title="Permalink to this headline">¶</a></h4>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">[srvads-copy]</span></code>: name of the section starts
with the name you give to it;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">type</span></code>: specifies the backup type for the Mysql database dump;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">server_name</span></code>: defines the server to be backed up
by its DNS name or IP address;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">vm_name</span></code>: defines the virtual machine to be backed up
(its name-label in XCP);</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">storage_name</span></code>: defines the storage to where to copy the virtual machine
(its name-label in XCP);</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">password_file</span></code>: defines a file where are stored the user and the password
to be used for exporting the <emclass="mimetype">.xva</em> file;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">network_name</span></code>: defines the network to which to copy the VM
(its name-label in XCP);</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">max_copies</span></code>: maximum number of exports for the virtual machine;</p></li>
</ul>
</section>
<sectionid="xencenter-metadata">
<h4>XenCenter metadata<aclass="headerlink"href="#xencenter-metadata"title="Permalink to this headline">¶</a></h4>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">[srvxen1-metadata]</span></code>: name of the section starts
with the name you give to it;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">type</span></code>: specifies the backup type for the Mysql database dump;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">server_name</span></code>: defines the server to be backed up
by its DNS name or IP address;</p></li>
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">password_file</span></code>: defines a file where are stored the user and the password
to be used for exporting the <emclass="mimetype">.xva</em> file;</p></li>
</ul>
<divclass="admonition attention">
<pclass="admonition-title">Attention</p>
<p>For maximum security put the password file in the root directory
<ahref="installing_tisbackup.html"class="btn btn-neutral float-left"title="Installing and configuring TISBackup on Debian"accesskey="p"rel="prev"><spanclass="fa fa-arrow-circle-left"aria-hidden="true"></span> Previous</a>