Installation Guide - Turn Key Solutions OBM - Unix / Linux Print
System Requirement
Download

    Turn Key Solutions  Online Backup Manager - obm-nix.tar.gz

Get Started - X Window Mode
  1. Download the setup file (obm-nix.tar.gz) above

  2. (If Unix) Install J2SE Java Runtime Environment (JRE) 1.4.x or later to /usr/java

  3. (If Unix and non-BSD) Set the JAVA_HOME environment variable

    JAVA_HOME=/usr/java; export JAVA_HOME

  4. (If BSD) Create a symbolic link for JRE

    ln -s /usr/local/linux-sun-jdk1.4.2/bin/java /usr/java

    If you are using csh as your shell, you need to type "rehash" and hit enter to make the symbolic link take effect. For other shell types it should work.

    setenv JAVA_HOME /usr/java

  5. Unpack the install file to /usr/local/obm

    mkdir /usr/local/obm
    cd /usr/local/obm
    gunzip obm-nix.tar.gz
    tar -xf obm-nix.tar

  6. (If Unix) Remove bundled jvm

    rm -rf /usr/local/obm/jvm

  7. Install Turn Key Solutions OBM

    ./bin/install.sh >install.log

    (If non-BSD) The backup scheduler and autoupgrade services are automatically installed. Backup sets can now run at their scheduled times automatically. *

  8. (If BSD) Install the backup scheduler and autoupgrade services

    Add two entries to system file /etc/rc.conf for auto starting backup scheduler and autoupgrade agent.

    obmaua_enable="YES"
    obmscheduler_enable="YES"

    Restart computer

    /usr/local/etc/rc.d/obmscheduler start &
    /usr/local/etc/rc.d/obmaua start &

  9. Set the DISPLAY environment variables

    Linux / Unix (sh, bash): DISPLAY=IP_ADDRESS_OF_XTERMINAL[:0.0]; export DISPLAY

    For example

        DISPLAY=:0.0; export DISPLAY
    or DISPLAY=127.0.0.1; export DISPLAY
    or DISPLAY=127.0.0.1:0.0; export DISPLAY
    or DISPLAY=192.168.0.2; export DISPLAY
    or DISPLAY=192.168.0.2:0.0; export DISPLAY


    BSD (csh): setenv DISPLAY IP_ADDRESS_OF_XTERMINAL[:0.0]

    For example

        setenv DISPLAY :0.0
    or setenv DISPLAY 127.0.0.1
    or setenv DISPLAY 127.0.0.1:0.0
    or setenv DISPLAY 192.168.0.2
    or setenv DISPLAY 192.168.0.2:0.0

  10. Run Turn Key Solutions  Online Backup Manager

    sh /usr/local/obm/bin/BackupManager.sh &

  11. (Optional) Enter the backup server host name in the [Address] field and press the [Next] button.

  12. If you don't have a backup account, select [Trial Registration] and press the [Next] button

    1. Enter the [Login Name] and [Password] of your choice
    2. Enter your [Email address] in the text field provided
    3. Press the [Submit] button
    4. You should be logged to the backup server already (if the [Login Name] of your choice is already taken by another user, try a different login name)
       
  13. If you have a backup account already, select [User Logon] and logon to the server with your existing username and password.

  14. If this is the first time you logon to the server, you will be guided to setup a backup set

    1. Enter a backup set name of your choice in the [Name] field
    2. Select the files that you want to backup
    3. Setup the backup schedule by pressing the [Properties] button (please note that you can add multiple backup schedules to a backup set)
    4. Setup the encryption setting for your backup set (if you don't know much about encryption, just accept the default values here)
    5. Press the [Finish] button
       
  15. To run a backup immediately, select your backup set from the left panel and press the [Start Backup] button above. Select [Off-site Backup Server] and press the [OK] button.

  16. Select the backup set to run and press the [Start Backup] button

  17. Setup completed.

Get Started - Command Line Mode
  1. Download the setup file (obm-nix.tar.gz) above

  2. (If Unix) Install J2SE Java Runtime Environment (JRE) 1.4.x or later to /usr/java

  3. (If Unix and non-BSD) Set the JAVA_HOME environment variable

    JAVA_HOME=/usr/java; export JAVA_HOME

  4. (If BSD) Create a symbolic link for JRE

    ln -s /usr/local/linux-sun-jdk1.4.2/bin/java /usr/java

    If you are using csh as your shell, you need to type "rehash" and hit enter to make the symbolic link take effect. For other shell types it should work.

    setenv JAVA_HOME /usr/java

  5. Unpack the install file to /usr/local/obm

    mkdir /usr/local/obm
    cd /usr/local/obm
    gunzip obm-nix.tar.gz
    tar -xf obm-nix.tar

  6. (If Unix) Remove bundled jvm

    rm -rf /usr/local/obm/jvm

  7. Install Turn Key Solutions OBM

    ./bin/install.sh >install.log

    (If non-BSD) The backup scheduler and autoupgrade services are automatically installed. Backup sets can now run at their scheduled times automatically. *

  8. (If BSD) Install the backup scheduler and autoupgrade services

    Add two entries to system file /etc/rc.conf for auto starting backup scheduler and autoupgrade agent.

    obmaua_enable="YES"
    obmscheduler_enable="YES"

    Restart computer

    /usr/local/etc/rc.d/obmscheduler start &
    /usr/local/etc/rc.d/obmaua start &

  9. Use the web interface to add, update and remove backup sets
    1. If you want to update a backup set, make changes to a backup set and press the [Update] button
    2. If you want to add a new backup set, click the [Add] link
    3. If you want to remove a backup set, Select the backup set to be remove and click the [Remove] link
       
  10. Using Backup Configurator

    sh /usr/local/obm/bin/Configurator.sh

  11. Enter your Login Name, Password, Backup Server URL and proxy setting as shown below

    Login Name: userXXX
    Password: *******************
    Backup Server URL: xxx.yyy.com
    Which Protocol ? (1) Http (2) Https : 1
    Use proxy ? (Y)es or (N)o : Y
    Proxy Type ? (1) Http/Https Proxy (2) SOCKS : 1
    Enter proxy server : aaa.bbb.com
    Enter proxy port : xxx
    Enter proxy username (optional) : administrator
    Enter proxy password (optional) : *******************

  12. If you have created a new backup set using the web interface, you set the encrypting key, the encrypting algorithm and the encrypting mode of this backup set by following instructions below.

    Important: You cannot change these parameters once they are set

    Found new backup set 'xxx'
    Please enter the following values for this backup set:

    Encrypting Algorithm ?
    (1) Twofish (2) AES (3) Triple DES (4) No encryption : 1
    Encrypting Key: *******************
    Re-Enter Encrypting Key: *******************
    Encrypting Mode ? (1) ECB (2) CBC : 1
    Run scheduled backup on this computer ? (Y)es or (N)o : Y

  13. If you want to make any changes to the setting above, you can use the main menu below to do so.

    Main Menu:
    ------------
    (1). List Backup Setting
    (2). Change Password
    (3). Change Network Setting
    (4). Change run scheduled backup setting
    (5). Toggle Masked Field (Password, Encryption Key)
    (6). Generate Configuration Report (text format)
    (7). Quit

    Your Choice:

  14. You can then run a backup by executing the command below.

    sh /usr/local/obm/bin/RunBackupSet.sh [BACKUP_SET]

    where [BACKUP_SET] is the name of backup set to be run

  15. Setup completed.

Uninstall
  1. Run the uninstall scripts

    sh /usr/local/obm/bin/uninstall.sh

    Removing Scheduler from service using script name obm-scheduler
    Using init script path /etc/init.d
    Using run level script path /etc/rc.d
    Removing symbolic link from run levels
    Removing script file obm-scheduler from /etc/init.d
    Shutting down AutoUpdateAgent
    Waiting 5 seconds for AutoUpdateAgent to clean up
    Removing AutoUpdateAgent from service using script name
    Using init script path /etc/init.d
    Using run level script path /etc/rc.d
    Removing symbolic link from run levels
    Removing script file auaobm from /etc/init.d
    Online Backup Manager uninstall service is complete!
    It is now safe to remove files from /usr/local/obm

  2. Remove installed files and all application data

    rm -rf /usr/local/obm
    rm -rf ~/.obm

  3. Uninstall completed.


* The backup scheduler and autoupgrade services are verified to install successfully on Solaris, FreeBSD and all major Linux distributions. If these services for other platform cannot be installed, please refer to the specific OS manual for further information.

Print | Close