|
|
Installation Guide - OBM - Unix / Linux
| Download |
 |
|
|
- Operating System : Solaris, AIX, HP-UX, FreeBSD, SCO Unix and all major Linux distributions, e.g. Redhat, SUSE, Fedora Core 5, UBUNTU, MANDRIVA
- Memory : 128 Mbytes
- Disk Space : 100 Mbytes
- Network Protocol : TCP/IP (Http/Https)
| Get Started - X Window Mode |
|
 |
-
Download the setup file (obm-nix.tar.gz) above
-
(If Unix) Install J2SE Java Runtime Environment (JRE) 1.4.x or later to /usr/java
- (If Unix and non-BSD) Set the JAVA_HOME environment variable
JAVA_HOME=/usr/java; export JAVA_HOME
- (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
- 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
- (If Unix) Remove bundled jvm
rm -rf /usr/local/obm/jvm
-
Install DataBankOBM
./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. *
-
(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 &
- 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
- Run DataBank Online Backup Manager
sh /usr/local/obm/bin/BackupManager.sh &
-
(Optional) Enter the backup server host name in the [Address] field and press the [Next] button.
-
If you don't have a backup account, select [Trial Registration] and press the [Next] button
- Enter the [Login Name] and [Password] of your choice
- Enter your [Email address] in the text field provided
- Press the [Submit] button
- 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)
-
If you have a backup account already, select [User Logon] and logon to the server with your existing username and password.
-
If this is the first time you logon to the server, you will be guided to setup a backup set
- Enter a backup set name of your choice in the [Name] field
- Select the files that you want to backup
- Setup the backup schedule by pressing the [Properties] button (please note that you can add multiple backup schedules to a backup set)
- Setup the encryption setting for your backup set (if you don't know much about encryption, just accept the default values here)
- Press the [Finish] button
-
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.
-
Select the backup set to run and press the [Start Backup] button
-
Setup completed.
| Get Started - Command Line Mode |
|
 |
-
Download the setup file (obm-nix.tar.gz) above
-
(If Unix) Install J2SE Java Runtime Environment (JRE) 1.4.x or later to /usr/java
- (If Unix and non-BSD) Set the JAVA_HOME environment variable
JAVA_HOME=/usr/java; export JAVA_HOME
- (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
- 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
- (If Unix) Remove bundled jvm
rm -rf /usr/local/obm/jvm
-
Install DataBankOBM
./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. *
-
(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 &
- Use the web interface to add, update and remove backup sets
- If you want to update a backup set, make changes to a backup set and press the [Update] button
- If you want to add a new backup set, click the [Add] link
- If you want to remove a backup set, Select the backup set to be remove and click the [Remove] link
-
Using Backup Configurator
sh /usr/local/obm/bin/Configurator.sh
- 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) : *******************
- 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
- 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:
- 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
-
Setup completed.
|
| Uninstall |
- 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
- Remove installed files and all application data
rm -rf /usr/local/obm
rm -rf ~/.obm
-
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. |
|
|