本節介紹備份和恢復為AEM表單環境配置的EMC Documentum儲存庫所需的任務。
這些說明假定AEM Forms with Connectors for ECM和EMC Documentum Content Server已根據需要安裝和配置。
對於備份和還原過程,有兩個主要任務:
在備份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模組時,請選擇「完成」安裝。
使用下列範例內容,建立名為 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文檔。) 根據您的安裝設定批次檔案中的詳細資訊。
完整資料庫備份(nsrnmdbf.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>
資料庫日誌備份(nsrnmdbl.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管理員,然後按一下「介質管理」>「設備」。
按一下右鍵「設備」,然後選擇「建立」。
輸入以下值,然後按一下「確定」:
名稱: 共用目錄的完整路徑
媒體類型: 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的資料庫,然後按一下工具欄上的「開始」按鈕。
恢復資料庫後,重新啟動Docbase服務。
開啟命令提示字元,然後變更為 [NetWorker_root]\Legato\nsr\bin
執行下列命令:
- nsrnmdrs.exe -B <docbase_name> -f <path_to_cfg_file> -C SA