EMC Documentum 저장소 백업 및 복구 backing-up-and-recovering-the-emc-documentum-repository
이 섹션에서는 AEM Forms 환경에 맞게 구성된 EMC Documentum 저장소를 백업하고 복구하는 데 필요한 작업을 설명합니다.
백업 및 복원 프로세스에는 다음과 같은 두 가지 주요 작업이 있습니다.
- AEM Forms 환경을 백업(또는 복원)합니다.
- EMC Documentum 콘텐츠 서버를 백업(또는 복원)합니다.
소프트웨어 요구 사항 software-requirements
EMC Documentum 콘텐츠 서버에서 필요한 백업 작업을 수행하려면 EMC의 EMC NetWorker나 CYA의 EMC Documentum용 CYA SmartRecovery과 같은 적절한 서드파티 유틸리티를 구매합니다. 다음 지침에서는 EMC NetWorker 모듈 버전 7.2.2를 사용하는 단계를 설명합니다.
다음과 같은 EMC NetWorker 모듈이 필요합니다.
- NetWorker 모듈
- NetWorker 구성 마법사
- NetWorker 장치 구성 마법사
- 콘텐츠 서버에서 사용하는 데이터베이스 유형에 대한 NetWorker 모듈
- Documentum용 NetWorker 모듈
백업 및 복구용 EMC Document 콘텐츠 서버 준비 preparing-the-emc-document-content-server-for-backup-and-recovery
이 섹션에서는 콘텐츠 서버에 EMC NetWorker 소프트웨어를 설치하고 구성하는 방법을 설명합니다.
백업을 위한 EMC Documentum 서버 준비
-
EMC Documentum 콘텐츠 서버에서 모든 기본값을 적용하여 EMC NetWorker 모듈을 설치합니다.
설치 프로세스 중에 콘텐츠 서버 컴퓨터의 서버 이름을 NetWorker 서버 이름 으로 입력하라는 메시지가 표시됩니다. 데이터베이스에 EMC NetWorker 모듈을 설치할 때 '전체' 설치를 선택합니다.
-
아래 샘플 콘텐츠를 사용하여 nsrnmd_win. cfg 라는 구성 파일을 만들어서 콘텐츠 서버에서 액세스 가능한 위치에 저장합니다. 이 파일은 백업 및 복원 명령에 따라 호출됩니다.
다음 텍스트에는 줄 바꿈을 위한 서식 문자가 포함되어 있습니다. 이 텍스트를 이 문서 외부의 위치에 복사하는 경우 한 번에 일부만 복사하고 새 위치에 붙여넣을 때 서식 문자를 제거합니다.
code language-shell ################################################ # 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. # # See 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[password ]-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 모듈의 설치 디렉터리입니다. 예를 들어 SQL Server용 NetWorker 모듈의 기본 설치 디렉터리는 C:\Program Files\Legato\nsr\bin\nsrsqlsv입니다.NetWorker_Server_Name은 NetWorker가 설치된 서버입니다.username및password는 데이터베이스 관리자 사용자의 사용자 이름 및 암호입니다.database_name은 백업할 데이터베이스 이름입니다.
-
백업 장치 만들기
-
EMC Documentum 서버에 디렉터리를 만들고 모든 사용자에게 전체 권한을 부여하여 폴더를 공유합니다.
-
EMC NetWorker 관리자를 시작하고 미디어 관리 > 장치를 클릭합니다.
-
장치를 마우스 오른쪽 버튼으로 클릭하고 만들기를 선택합니다.
-
다음 값을 입력하고 확인을 클릭합니다.
이름: 공유 디렉터리의 전체 경로
미디어 유형:
File -
새 장치를 마우스 오른쪽 버튼으로 클릭하고 작업을 선택합니다.
-
레이블을 클릭하고 이름을 입력한 후 확인을 클릭하고 탑재를 클릭합니다.
백업된 파일을 저장할 장치가 추가됩니다. 다양한 형식의 여러 장치를 추가할 수 있습니다.
EMC Documentum 콘텐츠 서버 백업 back-up-the-emc-documentum-content-server
AEM Forms 데이터의 전체 백업을 완료한 후 다음 작업을 수행합니다. (AEM Forms 데이터 백업을 참조하십시오.)
-
명령 프롬프트를 열고
[NetWorker_root]\Legato\nsr\bin으로 변경합니다. -
다음 명령을 실행합니다.
code language-shell - nsrnmdsv.exe -f <path_to_cfg_file>
EMC Documentum 콘텐츠 서버 복원 restore-the-emc-documentum-content-server
AEM Forms 데이터를 복원하기 전에 다음 작업을 수행합니다. (AEM Forms 데이터 복구를 참조하십시오.)
-
복원 중인 Docbase 서비스를 중지합니다.
-
데이터베이스 모듈에 대한 NetWorker 사용자 유틸리티를 시작합니다(예: SQL Server용 NetWorker 사용자).
-
복원 도구를 클릭한 후 일반을 선택합니다.
-
화면 왼쪽에서 Docbase 데이터베이스를 선택하고 도구 모음에서 시작 버튼을 클릭합니다.
-
데이터베이스가 복원되면 Docbase 서비스를 다시 시작합니다.
-
명령 프롬프트를 열고 [NetWorker_root]\Legato\nsr\bin으로 변경합니다.
-
다음 명령을 실행합니다.
code language-shell - nsrnmdrs.exe -B <docbase_name> -f <path_to_cfg_file> -C SA