<h1 id="installation">Installation</h1> <h2 id="introduction">Introduction</h2> <p>CloudBerry Backup for macOS &amp; Linux provides command line interface (CLI) that entirely duplicates the functionality of the UI. CLI enables you to back up and restore files from cloud storage, edit global options, list backup plans and account, etc. Command line interface can be used for integrating backup process into production environment.</p> <h2 id="installingcloudberrybackup">Installing CloudBerry Backup</h2> <p>Install CloudBerry backup by executing the following command:</p> <ul> <li><strong>macOS:</strong></li> </ul> <pre><code class="bash language-bash">sudo installer -pkg "Path/packageName.pkg" -target /Volumes/mySSD </code></pre> <p>where:</p> <table> <thead> <tr> <th style="text-align:left;">Parameter</th> <th style="text-align:left;">Description</th> <th style="text-align:left;">Value</th> </tr> </thead> <tbody> <tr> <td style="text-align:left;">-pkg (package)</td> <td style="text-align:left;">Indicates the installation package path</td> <td style="text-align:left;">String</td> </tr> <tr> <td style="text-align:left;">target</td> <td style="text-align:left;">Indicates the volume on which the app will be installed</td> <td style="text-align:left;">String</td> </tr> </tbody> </table> <ul> <li><strong>Ubuntu:</strong></li> </ul> <pre><code class="bash language-bash">sudo apt-get install "Path/Volume </code></pre> <p>where:</p> <table> <thead> <tr> <th style="text-align:left;">Parameter</th> <th style="text-align:left;">Description</th> <th style="text-align:left;">Value</th> </tr> </thead> <tbody> <tr> <td style="text-align:left;">install</td> <td style="text-align:left;">Installation package path</td> <td style="text-align:left;">String</td> </tr> </tbody> </table> <ul> <li><strong>Other Linux:</strong></li> </ul> <pre><code class="bash language-bash">sudo rpm -i '/PATH/package_name' </code></pre> <table> <thead> <tr> <th style="text-align:left;">Parameter</th> <th style="text-align:left;">Description</th> <th style="text-align:left;">Value</th> </tr> </thead> <tbody> <tr> <td style="text-align:left;">-i</td> <td style="text-align:left;">Installation package path</td> <td style="text-align:left;">String</td> </tr> </tbody> </table> <h2 id="updatingcloudberrybackup">Updating CloudBerry Backup</h2> <div class="hint hint-info"><i class="el-icon-info"></i> <p>Updates via CLI are only available for Linux</p></div> <p>To update CloudBerry Backup to a newer version, execute the following command:</p> <ul> <li><strong>Ubuntu:</strong></li> </ul> <pre><code class="bash language-bash">sudo dpkg -r "installationPackageDirectory" </code></pre> <ul> <li><strong>Other Linux:</strong></li> </ul> <pre><code class="bash language-bash">sudo rpm -u "installationPackageDirectory" </code></pre>