Enonic version: 6.11.1
OS: Linux
Hello!
We have two servers: staging and production and would like to synchronize data between them somehow. We have 18000+ objects on servers, but 12000+ of them can be skipped, as they are taken from an external source via import. This lowers the import a lot. All this objects are located under the same folder.
We were reading docs for the toolbox cli, but it seems like there is no possibility to exclude some objects and import the rest.
Our current idea was to create some bash script, which will:
- go to the production server
- create export(dump) via toolbox cli
- copy this export(dump) to our staging server
- import all data to our staging server
The main question is there any best practices or advises on how to implement this? Also, is this a nice solution to make a lot of exports via toolbox cli(to skip lots of objects, exporting one node after another) or is there some specific function that currently exist or will be available soon?
Thank you!