GithubHelp home page GithubHelp logo

Comments (3)

djklim87 avatar djklim87 commented on June 29, 2024

Everything works fine. You just not passed config to backup script..

root@34adfd8c1eb0:/mb# manticore-executor ./src/main.php --backup-dir=/tmp --config=/etc/manticoresearch/manticore.conf.sh
Copyright (c) 2023-2024, Manticore Software LTD (https://manticoresearch.com)

Manticore config file: /etc/manticoresearch/manticore.conf.sh
Tables to backup: all tables
Backup dir: /tmp

Manticore config
  endpoint =  http://127.0.0.1:9308

Manticore versions:
  manticore: 6.2.13 e619fef06@24021619 dev
  columnar: 2.2.5 214ce90@240115
  secondary: 2.2.5 214ce90@240115
  knn: 2.2.5 214ce90@240115
  buddy: 2.1.7
2024-02-16 22:25:54 [Info] Starting the backup...
2024-02-16 22:25:54 [Info] Backing up config files...
2024-02-16 22:25:54 [Info]   config files - OK
2024-02-16 22:25:54 [Info] Backing up global state files...
2024-02-16 22:25:54 [Info]   global state files – OK
2024-02-16 22:25:54 [Info] Backing up tables...
2024-02-16 22:25:54 [Info]   t (rt) [499B]...
2024-02-16 22:25:54 [Info]    OK
2024-02-16 22:25:54 [Info] Running sync
2024-02-16 22:25:54 [Info]  OK
2024-02-16 22:25:54 [Info] You can find backup here: /tmp/backup-20240216222554
2024-02-16 22:25:54 [Info] Elapsed time: 0.01s
2024-02-16 22:25:54 [Info] Done
  1. But because we use non default config's location in docker (/etc/manticoresearch/manticore.conf.sh) it leads to move misunderstanding by users. Especially we mount new config to /etc/manticoresearch/manticore.conf and of course it not working..
  2. We should update docker documentation because we have a lot of examples there with using /etc/manticoresearch/manticore.conf instead /etc/manticoresearch/manticore.conf.sh

from docker.

sanikolaev avatar sanikolaev commented on June 29, 2024

Everything works fine. You just not passed config to backup script.

We need to update the docs then:
image

But because we use non default config's location in docker

There's a special env. var. in manticore-backup which can help - https://github.com/manticoresoftware/manticoresearch-backup/blob/2ffbd022a5fae3eb9ddd0217ca2e175c4ff94d2f/src/Lib/Searchd.php#L27

Let's consider using it.

from docker.

djklim87 avatar djklim87 commented on June 29, 2024
  1. I described extended our workflow related to env and config
  2. Added MANTICORE_CONFIG variable to the docker container so now all builds will backups correctly

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.