Page created: 6 Nov 2019
|
Page updated: 25 Mar 2020
| 1 min read
8.0 Product PingDirectory Product documentation Content Type IT Administrator Administrator Audience Administration User task Software Deployment Method Troubleshooting IT Operations Directory Capability
-
From another server in the replication topology, back up the
userRoot, schema, and
replicationChanges backends to the
<server-root>/bak directory. If data encryption is
enabled, the encryption-settings backend should also be
exported, as one or more encryption settings IDs may need to be imported into the new
replica.
$ source-server-root>/bin/backup --backendID userRoot --backupDirectory \ bak/userRoot $ <source-server-root>/bin/backup --backendID schema --backupDirectory \ bak/schema $ <source-server-root>/bin/backup --backendID replicationChanges \ --backupDirectoryd bak/replicationChanges $ <source-server-root>/bin/encryption-settings export --id <id> \ --output-file bak/exported-key
-
Copy the bak directory to the new replica.
$ scp -r <source-server-root>/bak/* \ <user>@<destination-server>:<destination-server-root>/bak
-
Stop the server and restore the userRoot,
schema, changelog, and
replicationChanges backends. If the
encryption-settings backend was exported, it should be be
imported before restoring any of the backends.
$ <destination-server-root>bin/encryption-settings import --input-file \ bak/exported-key --set-preferred Enter the PIN used to encrypt the definition: $ <destination-server-root>/bin/restore --backupDirectory bak/userRoot $ <destination-server-root>/bin/restore --backupDirectory bak/schema $ <destination-server-root>/bin/restore --backupDirectory \ bak/replicationChanges
- Start the server using bin/start-server.