

rate-limit-period How much time to wait before retry in ms, default 1000 rate-limit How many request per period of time, default 6

proxy-host hostname of the proxy server. management-insecure If the Management API should use http instead of the default https. management-port Port for the Management API. management-host Host for the Management API. delivery-insecure If the Delivery API should use http instead of the default https. delivery-port Port for the Delivery API. delivery-host Host for the Delivery API. skip-content-model Skips content types and locales. content-model-only Copies only content types and locales

sync-token-dir Defines the path for storing sync token files pre-publish-delay Delay in milliseconds to account for delay destination-management-token Management API token for destination space if source-management-token Management API token for source space, if management-token Management API token for both spaces. source-delivery-token Delivery API token for source space destination-space ID of Space data will be copied to source-space ID of Space with source data
#CONTENTFUL COPY SPACE INSTALL#
Npm install -g contentful-space-sync Usage Usage: contentful-space-sync This tool is intended to be used with a workflow where you create content on one space and then regularly copy it somewhere else in an automated way.
#CONTENTFUL COPY SPACE MANUAL#
If you make any manual changes in the destination space, be aware that this tool will overwrite any changes you've made to entities with the same ids as those existent on the source space.Īlso, avoid creating new Content Types and Entries in the destination space. See the Synchronization documentation for more details.Ĭontent Types will always be updated as they are not retrieved by the synchronization API, and Content Types which don't exist anymore in the source space will be deleted in the destination space as well. However, Contentful now has an improved Roles and Permissions system, which allows for an easier content approval processĮach time you run the tool it stores a synchronization token so only new Entries and Assets get copied, and so that deleted items can also be deleted on the destination space.Initially, this tool was born as a replacement for contentful-publication, a tool built to manage publication workflows, in which editors would work in a Source space, and content approved and meant for publishing would be synchronized to a Destination space.What this tool shouldn't be used for Workflow management Contentful already backups your content and provides extra offsite backup capabilities.The tool attempts to create every Content Type, Entry and Asset separately, so if failures such as network failures occur your copy might not be complete.Your content might have broken links (see contentful-link-cleaner).

Anything in Draft mode or any unpublished changes to a published Entry will not be synchronized.
