首页 > 代码库 > DB2导入导出编目配置

DB2导入导出编目配置

可使用db2cfexp和db2cfimp导出导入DB2数据库编码信息。这对于编目信息从一台机器复制到另一台机器时十分有用。

命令详细信息:

db2cfexp

 db2cfexp exports configuration information.

   db2cfexp fname [ template | backup | maintain ]
                    -          -        -

     fname - path/filename of the export profile.

Options:
   template - create a generic export profile to
              transfer this configuration to another
              workstation. (incl. configuration info,
              catalog info, ODBC info ).

   maintain - create a Database export profile to
              transfer the Database catalog information
              to another workstation.

   backup   - create a backup configuration profile for
              backup purposes at this workstation only.

db2cfimp

 db2cfimp imports configuration information.

   db2cfimp fname

     fname - path/filename of the profile to be imported

DB2导入导出编目配置