Changes

From SME Server
Jump to navigationJump to search
2 bytes added ,  17:56, 14 August 2018
Line 24: Line 24:  
./bin/plugin install https://github.com/elastic/elasticsearch-migration/releases/download/v2.0.4/elasticsearch-migration-2.0.4.zip
 
./bin/plugin install https://github.com/elastic/elasticsearch-migration/releases/download/v2.0.4/elasticsearch-migration-2.0.4.zip
   −
</syntaxhighlight>run a tunnel to your computer<syntaxhighlight lang="bash">
+
</syntaxhighlight>run a tunnel from your computer<syntaxhighlight lang="bash">
 
ssh -L 9200:localhost:9200 user@yourserver
 
ssh -L 9200:localhost:9200 user@yourserver
 
</syntaxhighlight>use your favourite browser to fix things and migrate  <nowiki>http://localhost:9200/_plugin/elasticsearch-migration</nowiki>
 
</syntaxhighlight>use your favourite browser to fix things and migrate  <nowiki>http://localhost:9200/_plugin/elasticsearch-migration</nowiki>
Line 42: Line 42:  
chown elasticsearch:elasticsearch /home/e-smith/db/elasticsearch/
 
chown elasticsearch:elasticsearch /home/e-smith/db/elasticsearch/
 
echo "">> /etc/elasticsearch/elasticsearch.yml
 
echo "">> /etc/elasticsearch/elasticsearch.yml
echo "path.repo: ["/home/e-smith/db/elasticsearch"]" >> /etc/elasticsearch/elasticsearch.yml
+
echo 'path.repo: ["/home/e-smith/db/elasticsearch"]' >> /etc/elasticsearch/elasticsearch.yml
 
service elasticsearch restart
 
service elasticsearch restart
 
curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -H 'Content-Type: application/json' -d '{
 
curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -H 'Content-Type: application/json' -d '{
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu