User guide
C-4 EXTREMEWARE ENTERPRISE MANAGER INSTALLATION AND USER GUIDE
DATABASE UTILITIES
This example assumes a database user ID of dba, with password sql. These are the
defaults used when the database server is installed through the ExtremeWare Enterprise
Manager installation process. If you have changed your database user ID and password,
substitute your actual user ID and password in the command.
<
install_dir
> is the directory where the Enterprise manager software is installed.
Substitute the actual directory name in the command.
<
backup_dir
> is the directory where the backup copy of the database should be stored.
Substitute an actual directory name in the command.
This command generates a backup of the database in the specified backup directory.
The backup consists of two files,
basecamp.db and basecamp.log. All database files
are backed up. These files should be saved so they can be used to replace the original
files in the event of a problem.
Syntax: dbbackup [switches] directory
DATABASE CONNECTION PARAMETERS
These are the parameters for the -c command-line switch. If the connection parameters
are not specified, connection parameters from the SQLCONNECT environment variable
are used, if set.
Table C-3: dbbackup Command Switches
Switch Description
-c “keyword=value; ...” Supply database connection parameters
-y Replace files without confirmation
Table C-4: Database Connection Parameters for dbbackup Utility
uid=
<user name>
The user name used to login to the database. Default is
dba. The user ID must have DBA authority.
pwd=
<password>
The password used to login to the database. Default is sql.
dbf=<
database_file>
The name of the file that stores the data. This is the file to be
backed up.