Generating Sync Records
Using the LBRYMGR utility, you can use Sync records to update or promote resources. For instance, you could generate Sync records to promote resources from a development library into a testing library. Include the /REC=S parameter to create a response file that contains Sync records.
Note | To promote resources from one library to another or to synchronize libraries, use the LBYSYNC utility. |
Example - Creating sync records
This example tells the LBRYMGR utility to create a response file named RESPONSE.RSP. It generates Sync records for all resources in the library. Part of the process of generating the response file involves extracting the resources from the library, assigning them a temporary name, and writing these files to the directory indicated with the /SP parameter. When you later process the response file, these resources are copied into the target library, provided they are newer than the existing resources in the target library.
C:\fap\dll>lbrymgrw /rsp=response.rsp /rec=s
/lby=.\deflib\master.lby /sp=.\sync\
--- DocuCorp LBRYMGR Utility Program (C) ---
--- Library Manager Response File Utility ---
Will create Sync records for all Revisions of all Versions.
Attempting to create Sync Response File <response.rsp>
Successfully created response file <response.rsp>
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.