View Source

{toc:location=top|maxLevel=3|minLevel=3|type=flat|separator=pipe|style=border:1}
----
{tip:title=Video}
To watch a video explaining how to install the Backup Manager on a Debian operating system, [click here|https://www.youtube.com/watch?v=D-gmLictqws].{tip}

h3. 1. Install Server Backup Manager using APT-GET


h4. 1.1 Configure the APT Repository

The Advanced Packaging Tool, or *APT*, is used to handle the retrieval, configuration, and installation of software packages and the removal of software on Debian GNU/Linux distributions. Configure an *APT repository* to manage installations of and [upgrades|Upgrade Server Backup Manager for Linux] to Server Backup Manager.

First, modify your {{/etc/apt/sources.list}} to include the R1Soft repository.

{code}
echo "deb http://repo.r1soft.com/apt stable main" >> /etc/apt/sources.list
wget http://repo.r1soft.com/r1soft.asc
{code}
Then, download the R1Soft {{apt gpg}} key.

{code}apt-key add r1soft.asc
{code}



When the repository is configured, run apt-get update to download the information about the packages in the new repository:
{code}
apt-get update{code}

h4. 1.2 Install the package

1. Once the *APT repository* is configured, you can use the following command to install the backup manager:

{code}apt-get install serverbackup-enterprise{code}

2. Once the installation is complete, you can use the help command to list all available options:

{code}serverbackup-setup --help{code}

----
h3. 2. Install Server Backup Manager manually using DPKG

h4. 2.1 Download Server Backup Manager

See [Obtain Linux Backup Manager].

h4. 2.2 Make sure you can unzip the download

Most Linux distributions come with the *unzip* utility pre-installed. To determine if you have the unzip utility, run:

{code}which unzip{code}

This should return an output similar to the following:

{code}which unzip
/usr/bin/unzip{code}

If it returns nothing, you need to install the *unzip* utility first.

To install *unzip* on Debian or Ubuntu execute the following command:

{code}apt-get install unzip{code}

h4. 2.3 Extract the ZIP file

Use the {{unzip}} command to extract the files:

{code}unzip ServerBackup-Enterprise-linux64.zip{code}

h4. 2.4 Install the packages using dpkg


The archive you have extracted contains two folders: one with {{.deb}} packages (in our case, "*enterprise-manager-deb*") and one with {{.rpm}} packages ("*enterprise-manager-rpm*"). If you are installing on Debian or Ubuntu, choose the {{.deb}} package.

Each folder contains a set of Server Backup Manager components:
* {{serverbackup-enterprise}}
* {{serverbackup-setup}}
* {{serverbackup-agent}}
* {{serverbackup-async-agent-2-6}}

You will need to install all of them in one step. Use the {{cd}} command to go to the folder with the packages (in our case, "*enterprise-manager-deb*") and run the following command:

*DEB 32-bit (x86) /* *DEB 64-bit (x86_64)*

{code}dpkg -i *.deb{code}
{info:title=Note}
The installed files are located in the {{/usr/sbin/r1soft}} directory. The Manager startup script is {{/etc/init.d/cdp-server}}.
{info}

{info:title=Note}You do not need to install the kernel module on the server.{info}

----
h3. 3. Configure and Start Backup Manager Web-based user interface

1. You must *define a username and password* for the Server Backup Manager Web interface before you can begin using Server Backup Manager.

{code}serverbackup-setup --user DESIRED_USERNAME --pass DESIRED_PASSWORD{code}

Example of how to set "admin" username and "r1soft" password:

{code}serverbackup-setup --user admin --pass r1soft{code}


After running this command, you will see an output similar to the following:

{code}Server username and password set
The Server Backup Manager must be restarted for these changes to take effect
Use '/etc/init.d/cdp-server restart' to restart.{code}

2. *Configure ports*, if necessary.

By default, the embedded web server in Server Backup Manager required for the Web-based Interface will listen on TCP ports 80 (HTTP) and 443 (HTTPS). These ports are frequently used by your Linux server (e.g., by Apache). If you are already using ports 80 and 443, you will need to define different ports. Ports 8080 (HTTP) and 8443 (HTTPS) are recommended alternatives to standard 80 and 443. However, you can choose any other valid and unused TCP port.

{code}serverbackup-setup --http-port 8080 --https-port 8443{code}

3. *Start the Web interface* (Server Backup Manager):

{code}/etc/init.d/cdp-server restart{code}
{info:title=Note}
You may need to change the firewall rules, depending on where you are connecting to the Web Interface from.
{info}

You should now be able to connect to the Server Backup Manager Web interface using a web browser.

----
h3. Next steps

* [Configure Server Backup Manager on Linux]
* [Install Backup Agent on Windows]
* [Install Backup Agent on Linux]
* [Access Server Backup Manager web interface]
* [Activate Server Backup Manager]
* [Add key to Linux Backup Agent]
* [Add the key to Windows Backup Agent]
* [Configure heap memory]

{excerpt:hidden=true}Instructions on how to install Server Backup Manager on Debian and Ubuntu.{excerpt}