전체 데이터베이스 복제 수행

데이터베이스 복제본이 동기화되지 않은 경우 Replicate 명령에 -F 옵션을 사용하여 전체 데이터베이스 복제를 수행할 수 있습니다. 복제는 측면에서 수행되므로 전체 복제 동안 복제 업데이트를 계속 확인할 수 있습니다.

이 태스크 정보

이 방법은 데이터베이스 복제 히스토리 지우기 대신 사용할 수 있습니다. 대형 데이터베이스의 경우 복제 히스토리를 지워 전체 복제를 수행하려면 시간이 걸리고 완료될 때까지 새 업데이트 복제가 지연될 수 있습니다. 예를 들어 메일 파일의 복제 히스토리를 지우는 경우 전체 복제가 완료될 때까지 사용자에게 새 메일이 표시되지 않을 수 있습니다.

프로시저

전체 복제를 수행하려면 다음 서버 명령을 사용합니다.
Replicate <server> <database> -F
-L 옵션을 사용하면 -F 옵션을 사용할 경우 복제하는 문서(notes)에 대한 상세 정보를 실제 복제를 수행하지 않고 기록할 수 있습니다. 예를 들어, 다음과 같습니다.
Replicate Mail\Renovations mail/sdaryn.nsf -L
다음과 유사한 출력이 표시됩니다. >>> 출력에 표시되지 않는 이 문서에 대한 설명을 나타냅니다.
[4894:0002-0748] NoteRepl: CN=Mail\O=Renovations!!mail/sdaryn.nsf to mail/sdaryn.nsf Since 07/27/2018 08:25:22 AM
>>>Replicating from remote replica (sdaryn) to local replica (pull).  Since=The replication history from last pull 
[4894:0002-0748] 07/27/2018 08:28:57 AM  Starting replication with server Mail\Renovations
[4894:0002-0748] 07/27/2018 08:28:57 AM  Pulling mail\sdaryn.nsf from Mail\Renovations mail/sdaryn.nsf
[4894:0002-0748] NoteRepl: UNID 7235FD43:BB0874BA:852582A2:0052CF6C Cls 1
>>> UNID and Cls=NoteClass
[4894:0002-0748]     Src: NID A96 SN 2 ST 07/27/2018 08:15:07 AM Mod: 07/27/2018 08:15:07 AM
>>> Source note info (in this case the source is the remote replica), NID=NoteID, SN=Sequence number, ST=Sequence time, Mod=Modified time
[4894:0002-0748]     Dest: NID 0 SN 0 ST  Did not repl
>>> Destination note info.  "Did not repl" means that it should have replicated in the past, but the note is missing from the destination (local) replica.
[4894:0002-0748] NoteRepl: mail/sdaryn.nsf to CN=Mail\O=Renovations!!mail/sdaryn.nsf Since 07/27/2018 08:25:23 AM
>>> Replicating from local to remote. Since=Replication history from last push
[4894:0002-0748] 07/27/2018 08:28:57 AM  Pushing mail/sdaryn.nsf to Mail\Renovations mail/sdaryn.nsf
[4894:0002-0748] NoteRepl: UNID 29BD9D7B:04808407:852582A2:0052CF6E Cls 1
[4894:0002-0748]     Src: NID A9E SN 2 ST 07/27/2018 08:28:43 AM Mod: 07/27/2018 08:28:43 AM
[4894:0002-0748]     Dest: NID A9E SN 1 ST 06/04/2018 11:04:35 AM Waiting to repl
>>> "Waiting to repl" means that this note will replicate the next time the databases replicate.  Nothing wrong here.
[4894:0002-0748] 07/27/2018 08:28:57 AM  Finished replication with server Mail\Renovations
[4894:0002-0748] 07/27/2018 08:28:57 AM  Database Replicator shutdown