Backing Up The Database - Red Hat NETWORK SATELLITE SERVER 4.0 Installation Manual

Table of Contents

Advertisement

60
Option
backup DIRNAME
examine DIRNAME
extend
report
restore DIRNAME
start
status
stop
tablesizes
verify DIRNAME
Table 8-1. RHN DB Control Options

8.4.2. Backing up the Database

Red Hat recommends performing nightly backups of the Embedded Database and moving
the resulting directory to another system via NFS, SCP, FTP, etc. Preferably, this backup
system resides off-site. To conduct a backup, shut down the database and related services
first by issuing the following commands in this order as root:
service httpd stop
service taskomatic stop
service rhn-database stop
Then switch to the oracle user and issue this command to initiate the backup:
Description
Backs up the database to the directory specified.
Examines the contents of a backup directory.
Returns the timestamp of backup creation and
reports on its contents.
Increase the RHN Oracle tablespace
Reports on current usage of database space.
Restores the database from backup kept in
DIRNAME. Database must be stopped for this
command to run successfully.
Starts the database instance. This can also be
accomplished by issuing the
rhn-database start
Shows the current status of the database, either
"running" or "offline".
Stops the database instance. This can also be
accomplished by issuing the
rhn-database stop
Show space report for each table
Verifies the contents of the backup kept in
DIRNAME. This command checks the
md5sums of each of the files kept in the backup.
Chapter 8. Maintenance
service
command as root.
service
command as root.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rhn satellite server 4.0

Table of Contents