本节介绍了备份和恢复为您的AEM Forms环境配置的EMC Documentum存储库所需的任务。
这些说明假定已根据需要安装和配置带有Connectors for ECM和EMC Documentum Content Server的AEM Forms。
对于备份和恢复过程,有两个主要任务:
在备份EMC Documentum系统之前备份您的AEM表单数据,然后在恢复AEM表单环境之前恢复EMC Documentum系统。
要在EMC Documentum Content Server上执行必要的备份任务,请从EMC购买适当的第三方应用工具(如EMC NetWorker )或从CYA购买用于EMC Documentum的CYA SmartRecovery。 以下说明介绍了使用EMC NetWorker Module 7.2.2版的步骤。
您需要以下EMC NetWorker模块:
本节介绍如何在Content Server上安装和配置EMC NetWorker软件。
准备EMC Documentum服务器以进行备份
在EMC Documentum Content Server上,安装EMC NetWorker模块,接受所有默认值。
在安装过程中,系统会提示您输入Content Server计算机的服务器名称作为 NetWorker服务器名称. 为数据库安装EMC NetWorker Module时,请选择“完整”安装。
使用以下示例内容,创建一个名为的配置文件 nsrnmd_win.cfg 并将其保存到Content Server上可访问的位置。 此文件将由备份和还原命令调用。
以下文本包含换行符的格式字符。 如果您将此文本复制到此文档之外的某个位置,请一次复制一个部分,并在将文本粘贴到新位置时删除格式设置字符。
################################################
# NetWorker Module for Documentum v1.2 nsrnmd_win.cfg D5.3+ example with
# typical set of working parameters. THIS FILE MUST BE SITE-CUSTOMISED.
#
# Parameters not shown can be set in this file (as per site customisation) #or from the command-line.
#
# Please refer to the user Guides for details on all parameters, including
# those not listed below.
# Note: DCTM environment for D6 is slightly different from D5, refer to D6
# Installation Guide to update the values.
################################################
#Can get values for most of below from doing as the dctm inst owner: cmd> set DOCUMENTUM=C:\Documentum
DM_HOME=C:\Documentum\product\6.0
JAVA_HOME=C:\Progra~1\Documentum\java\1.5.0_12
JAVA_PATH=C:\Progra~1\Documentum\java\1.5.0_12\bin
PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Documentum\product\6.0\bin;C:\Documentum\fulltext\fast;C:\Documentum\product\6.0\fusion;C:\Program Files\Documentum\Shared;C:\Program Files\Legato\nsr\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE;C:\Program Files\Documentum\java\1.5.0_12\bin;C:\Documentum\config;C:\Documentum
#See also manifest dctm.jar file for class path locations
CLASSPATH=.;C:\Program Files\Legato\nsr\bin;C:\Program Files\Legato\nsr\bin\nsrnmdde.jar;C:\Program Files\Documentum\java\1.5.0_12\lib\tools.jar;C:\Program Files\Documentum\Shared\dfc.jar;C:\Program Files\Documentum\Shared\aspectjrt.jar;C:\Program Files\Documentum\dctm.jar;C:\Program Files\Documentum\Shared\workflow.jar;C:\Program Files\Documentum\Shared\log4j.jar;C:\Program Files\Documentum\java\1.5.0_12\lib\dt.jar;C:\Documentum\config
################################################
#If not using nsrnmdsv -m ALL|DB|DB_LOG|FTI|FTI_ALL|ICF|SA|SA_ALL, set #for backup
NMD_SCOPE=ALL
#Mandatory when scope (backup or restore) is FTI/SA without -a option
#NMD_OBJECT_NAME=filestore_01
################################################
NMDDE_DM_DOCBASE=Docbase
NMDDE_DM_USER=Administrator
#NMDDE_DM_PASSWD must be set via running: nsrnmdsv -f <nmdcfg> -P <pwd>.
################################################
#DB related hooks to invoke arbitrary scripts:
#Set if DB is on a remote host
#NMD_DB_HOST=dbhost
#Pure basename implies remote host execution; absolute path ... local
#execution as in NMD v1.0.
#
#Remote execution requires script be put in remote nsrexecd bin directory
#and D5.3+ host be added to remote nsr\res\servers file w/ nsrexecd recycled
#
#Refer to user Guides for sample script code.
NMD_DB_FULL_BACKUP_CMD=C:\DocumentumBackup\Scripts\nsrnmddbf.bat
NMD_DB_LOG_BACKUP_CMD=C:\DocumentumBackup\Scripts\nsrnmddbl.bat
NMD_DB_INCR_BACKUP_CMD=C:\DocumentumBackup\Scripts\nsrnmddbi.bat
################################################
#For D5.3+ only: NMD_FTI_INCLUDED, NMD_FTI_HOST, NMD_FTI_USER,
#NMD_FTI_PASSWD & NMD_FTI_SUBDIRS.
#Optional for remote D5.3+ FTI server
NMD_FTI_INCLUDED=no
#NMD_FTI_HOST=ftihost
#Recommended for D5.3+ FTI server quiesce/unquiesce
#NMD_FTI_USER=ftiadmin
#The index name: optional for D5.3+ FTI server, used with -M FTI_ALL or
#-M ALL
#NMD_FTI_NAME=rep_name_ftindex_01
#Recommended for D5.3+ FTI server quiesce/unquiesce
#NMDDE_FTI_PASSWD must be set via running: nsrnmdsv -f <nmdcfg> -P <pwd>
#-M FTI.
#Pure basename implies remote host execution; absolute path ... local execution
#as in NMD v1.0.
#
#Remote execution requires script be put in remote nsrexecd bin directory
#and D5.3+ host be added to remote nsr\res\servers file w/ nsrexecd
#recycled.
#
#See example nsrnmdfti*.bat examples.
#
#Mandatory for D5.3+
#NMD_BACKUP_FTI_QUIESCE=nsrnmdftiq.bat
#NMD_BACKUP_FTI_UNQUIESCE=nsrnmdftiu.bat
#Used for D5.3+ to get InstallProfile.xml FTI file in multinode
#discovery.
#Optional, if not specified, will treat as single-node FTI.
#NMD_FTI_GET_INSTPROF=nsrnmdfti_instprof.bat
#Mandatory for D5.3+. No spaces in paths or around comma separators.
#For remote FTI, paths must be valid at the FTI host.
#NMD_FTI_SUBDIRS=F:\Documentum_idx\data\fulltext\fixml,F:\Documentum_idx
#\data\fulltext\index
################################################
#Mandatory. No spaces in paths or before comma
#separators in NMD_ICF_SUBDIRS_xxx:
#NMD_ICF_INCLUDED=yes
#NMD_ICF_SUBDIRS=C:\Documentum\dba,C:\Documentum\product\5.3
################################################
NMD_FILEREPORT_INCLUDED=yes
NMDDE_METADATA_OUTPUT_DEST=C:\docbase_freports\
################################################
#Other misc recommended NMD_xxx parameters
#Recommended to get more meaningful saveset names
NMD_USE_DEFAULT_SAVESET_NAMES=yes
#Use following to skip unwanted ICF, FTI and non-SnapImage SA dirs/files.
#For example, "<</>> +skip: dm_ftwork_dir" line will skip non-data
#files.
#
#The path will be the same and must exist on D5.3+, remote FTI host, and
#RCS hosts correspondingly if used.
#NMD_DIRECTIVES_FILE=E:\Program Files\Legato\nsr\res\nsrnmddirectives.txt
#For non-SnapImage SA backup
#NMD_SA_FULL_NUM_SAVESET=16
#NMD_SA_INCR_NUM_SAVESET=4
#NMD_USE_SNAPIMAGE=yes
################################################
# DSA setup
################################################
# Name of the config file at the remote sites;
# Mandatory, listed in the config file at the primary host.
# (if skipped, backup is treated as local)
# NMD_RCS_CFG_FILE=rep_name_rcs.cfg
# SA-host mapping add, optional, will override far-store list info.
# No space around comma.
# NMD_HOST_SAS_MAP=host01,sa_01,sa_02
# NMD_HOST_SAS_MAP=host02,sa_03
################################################
NSR_SERVER=con-dctm
#NSR_CLIENT=d5svrhost
NSR_GROUP=Default
NSR_DATA_VOLUME_POOL=Default
#NSR_SNAPIMAGE_DATA_VOLUME_POOL=Default
#Relocation dir will be the same on D5+ and remote FTI/SA hosts.
NSR_RELOCATION=C:\reloc
#NSR_PARALLELISM=16
NSR_DEBUG_FILE=C:\Program Files\Legato\nsr\applogs\nmd.log
NSR_DEBUG_LEVEL=9
################################################
NMDDE_DM_PASSWD=XAtup9pl
保留配置文件密码字段 NMDDE_DM_PASSWD
空白。 您将在下一步中设置密码。
按如下方式设置配置文件密码:
[NetWorker_root]\Legato\nsr\bin
.-nsrnmdsv.exe -f
<path_to_cfg_file> -P <password>创建用于备份数据库的可执行批处理(.bat)文件。 (请参阅NetWorker文档。) 根据安装情况在批处理文件中设置详细信息。
完整数据库备份(nsrnmddbf.bat):
NetWorker_database_module_root
-s
<networker_server_name> -U
[username]
-P
[密码]-l full
<database_name>
增量数据库备份(nsrnmddbi.bat):
[NetWorker_database_module_root]
-s
<NetWorker_Server_Name> -U
[username]
-P
[password]
-l 1 -R
<database_name>
数据库日志备份(nsrnmddbl.bat):
[NetWorker_database_module_root]
-s
<NetWorker_Server_Name>
-U
[username]
-P
[password]
-l incr -R
<database_name>
其中:
[NetWorker_database_module_root]
是NetWorker模块的安装目录。 例如, NetWorker Module for SQL Server的默认安装目录为C:\Program Files\Legato\nsr\bin\nsrsqlsv。
NetWorker_Server_Name
是安装NetWorker的服务器。
username
和 password
是数据库管理员用户的用户名和口令。
database_name
是要备份的数据库的名称。
创建备份设备
在EMC Documentum服务器上创建一个新目录,并通过为所有用户授予完全权限来共享该文件夹。
启动EMC NetWorker Administrator ,然后单击Media Management > Devices。
右键单击“设备”并选择“创建”。
输入以下值,然后单击“确定”:
名称: 共享目录的完整路径
媒体类型: File
右键单击新设备并选择操作。
单击“标签”,输入名称,单击“确定”,然后单击“装载”。
将添加一个设备,备份的文件将保存到该设备。 您可以添加多种不同格式的设备。
在完成AEM表单数据的完整备份后,执行以下任务。 (请参阅 备份AEM表单数据.)
命令脚本需要您在中创建的nsrnmd_win.cfg文件的完整路径 为备份和恢复准备EMC Document Content Server.
打开命令提示符,然后更改为 [NetWorker_root]\Legato\nsr\bin
.
运行以下命令:
- nsrnmdsv.exe -f <path_to_cfg_file>
在还原AEM表单数据之前,请执行以下任务。 (请参阅 恢复AEM表单数据.)
命令脚本需要您在中创建的nsrnmd_win.cfg文件的完整路径 为备份和恢复准备EMC Document Content Server.
停止要恢复的Docbase服务。
为数据库模块启动NetWorker User实用程序(例如, NetWorker User for SQL Server)。
单击“恢复”工具,然后选择“正常”。
在屏幕左侧,选择文档库的数据库,然后单击工具栏上的“开始”按钮。
还原数据库后,重新启动Docbase服务。
打开命令提示符并更改为 [NetWorker_root]\Legato\nsr\bin
运行以下命令:
- nsrnmdrs.exe -B <docbase_name> -f <path_to_cfg_file> -C SA