그룹으로 사이트의 콘텐츠 항목 다운로드 또는 업로드

개발자는 한 Oracle Content Management 서버에서 다른 서버로 사이트를 전송할 때 사이트의 콘텐츠 항목을 그룹으로 다운로드/업로드할 수 있습니다.

수많은 콘텐츠 자산이 있는 페이지를 전송하려면 사이트와 콘텐츠를 분리해야 합니다. 콘텐츠 없이 사이트를 전송한 후(cec transfer-site --excludecontent) cec transfer-site-content를 사용하여 사이트의 콘텐츠를 전송합니다.

예를 들어, 다음과 같습니다.

cec transfer-site-content <name>

이 명령은 한 Oracle Content Management 서버에서 다른 서버로 엔터프라이즈 사이트 콘텐츠를 전송하는 스크립트를 생성합니다. 명령은 수많은 콘텐츠 항목을 전송하는 데 사용되며 항목은 일괄로 전송됩니다. 기본적으로 이 명령은 스크립트를 실행하지 않으며 모든 자산이 전송됩니다. -p를 지정하여 게시된 자산만 전송할 수 있습니다.

-s <server>로 소스 서버를 지정하고 -d <destination>으로 대상 서버를 지정합니다.

옵션

--destination, -d The registered CEC server to transfer the content [required]
--repository, -r Repository [required]
--publishedassets, -p The flag to indicate published assets only
--number, -n The number of items in each batch, defaults to 500
--execute, -e Execute the scripts
--help, -h Show help [boolean]

--execute 옵션이 설정되지 않은 경우 cec transfer-site-content가 완료된 후 생성된 스크립트 <site name>_downloadcontent를 실행하여 소스 서버에서 콘텐츠를 다운로드하고, <site name>_uploadcontent를 실행하여 다운로드한 콘텐츠를 대상 서버로 업로드합니다.

예제

cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 Generate script Site1_downloadcontent and Site1_uploadcontent
cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -e Generate script Site1_downloadcontent and Site1_uploadcontent and execute them
cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -n 200
cec transfer-site-content Site1 -s DEV -d UAT -r Repository1 -p