CheckPoint使用upgrade_export upgrade_import两个具进行SmartCenter 备份和

恢复,两个工具位于SmartCenter$FWDIR/bin/upgrade_tools/目录下。份文件可以通过

ftp 或其他方式上ftp 器或网络共空间,以便管。 格式:

[Expert@Smart-1]#./upgrade_export  文件.tgz#备份工,备份文件放在前目录下

[Expert@Smart-1]#./upgrade_import  文件.tgz#工具

首先通过 ssh登录 Smart-1命令行, expert 模式,备和恢复过程下:

 

 

SmartCenter

 

[smc2]#

[smc2]#expert#进入 expert 模式

Enter expertpassword:

Youareinexpert modenow. [Expert@smc2]#cd$FWDIR [Expert@smc2]#cdbin [Expert@smc2]#cdupgrade_tools/ [Expert@smc2]#pwd

/opt/CPsuite-R75/fw1/bin/upgrade_tools

[Expert@smc2]#ls-l total52036

-rw-rw----1rootroot33611807Apr1912:06 20110419.tgz

-rwxrwx---1rootbin6516752Dec1613:33migrate

-rwxrwx---1rootbin26523Dec1613:31 migrate.conf

-rwxrwx---1rootbin6516752Dec1613:33upgrade_export#备份工具

-rwxrwx---1rootbin6516752Dec1613:33upgrade_import#工具

[Expert@smc2]#./upgrade_exportSMC_20110421.tgz#执行备份工具,指定件名

Youarerequiredto closeallclientsto SecurityCenter

or execute'cpstop'beforetheExportoperationbegins. Press'Enter'to continue.#按回车

2011CheckPointSoftwareTechnologiesLtd.Allrightsreserved

.

Copyingrequiredfiles... Compressingfiles...

Theoperationcompletedsuccessfully.

Location                     of                      archive                     with                      exported                     database:

/opt/CPsuite-R75/fw1/bin/upgrade_tools/SMC_20110421.tgz #备份成功,并

[Expert@smc2]#ls-l total86412

-rw-rw----1rootroot33611807Apr1912:06 20110419.tgz

-rw-rw----1rootroot35158261Apr2114:33 SMC_20110421.tgz#备份文件

-rwxrwx---1rootbin6516752Dec1613:33migrate

-rwxrwx---1rootbin26523Dec1613:31 migrate.conf


-rwxrwx---1rootbin6516752Dec1613:33upgrade_export

-rwxrwx---1rootbin6516752Dec1613:33upgrade_import

 

 

SmartCenter

 

 

[smc2]#expert

Enter expertpassword:

Youareinexpert modenow. [Expert@smc2]#cd$FWDIR [Expert@smc2]#cdbin [Expert@smc2]#cdupgrade_tools/ [Expert@smc2]#pwd

/opt/CPsuite-R75/fw1/bin/upgrade_tools

[Expert@smc2]#ls-l total86412

-rw-rw----1rootroot33611807Apr1912:06 20110419.tgz

-rw-rw----1rootroot35158261Apr2114:33 SMC_20110421.tgz

-rwxrwx---1rootbin6516752Dec1613:33migrate

-rwxrwx---1rootbin26523Dec1613:31 migrate.conf

-rwxrwx---1rootbin6516752Dec1613:33upgrade_export

2011CheckPointSoftwareTechnologiesLtd.Allrightsreserved

-rwxrwx---1rootbin6516752Dec1613:33upgrade_import

[Expert@smc2]#./upgrade_importSMC_20110421.tgz#恢复备份

Extractingthedatabase...

TheimportoperationwillstopallCheckPointservices(cpstop). Doyouwantto continue?(y/n) [n]?y

evstop: Stoppingproduct-SmartEventCorrelationUnit#停止 CheckPoint服务

CheckPointSmartEventCorrelationUnitstopped

StoppingSmartReporter...

StoppingtheSmartReporterServer.

StoppingtheSmartReporterLogConsolidator. StoppingSmartReporterDatabase.

Note:Databaseshutdowntakesafewminutes.rmdstartwillfailwhile

shutdownisinprogress.

SmartViewMonitor:Managementstopped FireWall-1:UserCheckserverisnotrunning VPN-1/FW-1stopped

SVN Foundation:cpdstopped

Multiportaldaemon:mpdaemonstopped

SVN Foundation:cpWatchDogstopped

SVN Foundation:StoppingPostgreSQLDatabase

SVN Foundationstopped

Importingfiles...


Theimportoperationcompletedsuccessfully.

DoyouwishtostartCheckPointservices?(y/n) [y]?#功恢复, CheckPoint服务

[Expert@smc2]#

==================================================================

SmartCenter恢复注意事项

spacer.gif如果将备份文件恢复到新的SmartCenter保持新SmartCenter和原SmartCenter的主 机名和IP地址一致分布式布署式下CheckPointLicense绑定SmartCenterIP地 址,若新SmartCenter IP一样,将无登录,会提示有可用的license

spacer.gif恢复过程将覆盖新SmartCenter的管理帐GUI因此恢复后登录新SmartCenter 需 使用原SmartCenter的用名密码,

spacer.gif恢复后的SmartCenter不需要建防火SIC可以接管理防火执行TestSIC Status,确保SmartCenter与防墙的连通性