HUB
Sign inSign up

bowwow/elastic-sync-autobuild

By bowwow

•Updated about 10 years ago

sync elastic search data to other elastic server

Image
0

509

bowwow/elastic-sync-autobuild repository overview

⁠elastic-sync-autobuild

Schedule updates elastic search index data

ex:dev to production

run docker(scheduler):
docker run -itd bowwow/sync-els

run docker(now): docker run --rm bowwow/elastic-sync-autobuild /usr/bin/sync.sh

sync.sh: ex:

echo "sync start:" $(date +"%Y%m%d %T")  

/usr/local/lib/node_modules/elasticdump/bin/elasticdump --input=http://dev --output=http://pro --type=data

echo "sync end:" $(date +"%Y%m%d %T")

Tag summary

Content type

Image

Digest

Size

154.7 MB

Last updated

about 10 years ago

docker pull bowwow/elastic-sync-autobuild