Cisco MDS 9000 Family Storage Media Encryption Configuration Guide - Release 4.x (OL-18091-01, February 2009)

Send documentation comments to mdsfeedback-doc@cisco.com
E-1
Cisco MDS 9000 Family Storage Media Encryption Configuration Guide
OL-18091-01, Cisco MDS NX-OS Release 4.x
APPENDIX
E
Database Backup and Restore
Databases need to have a well-defined and thoroughly tested backup and restore plan so that access to
data is not at risk. The backup and recovery of databases involve the process of making a copy of a
database in case of an equipment failure or disaster, then retrieving the copied database if needed.
This appendix explains how to back up and restore Fabric Manager Server databases.
Fabric Manager uses the PostgreSQL database management system as the default database. PostgreSQL
databases are backed up with the pg_dump command. The pg_dump utility dumps the PostgreSQL
database content to an ASCII dump file. The backup dump file represents a snapshot of the database at
the time of backup.
The database is restored with the pg_restore utility. The pg_restore utility uses psql to rebuild the
PostgreSQL database from the dump file created by pg_dump.
For more information about pg_dump, go to this URL:
http://www.postgresql.org/docs/current/interactive/app-pgdump.html
This appendix includes the following sections:
Backing Up Fabric Manager Server Database, page E-1
Restoring Fabric Manager Server Database, page E-2
Database Backup and Restore Operations, page E-2
Backing Up Fabric Manager Server Database
To back up the Fabric Manager server database, use the PostgreSQL pg_dump command as follows:
cd $INSTALLDIR/bin
./pgbackup.sh 02252008.data (on Linux and Solaris operation systems)
pgbackup.bat 02252008.data (on Windows operating system)
The INSTALLDIR is the top directory of Fabric Manager Installation and a backup file (02252008.data)
is created in the $INSTALLDIR/bin directory.
Specify the full path name of the dump file to create the backup file in a standard backup directory.
Note In all operating systems, the scripts run the pg_dump command to back up the database.