Comments (3)
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
- 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.. - 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.
Everything works fine. You just not passed config to backup script.
We need to update the docs then:
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.
- I described extended our workflow related to env and config
- Added
MANTICORE_CONFIG
variable to the docker container so now all builds will backups correctly
from docker.
Related Issues (20)
- QUERY_LOG_TO_STDOUT=true does not work correctly HOT 1
- Indexer runs twice on container start HOT 4
- Add support for service cron (feature request) HOT 9
- Backups in Docker HOT 6
- Docker down if QUERY_LOG_TO_STDOUT set HOT 1
- Improve flexibility of configuration via env. vars HOT 5
- Add CI for CLT tests in docker HOT 6
- Ideas for more tests HOT 3
- Permission denied
- Test: one-liner HOT 4
- Test: EXTRA=0/1 HOT 7
- Test: QUERY_LOG_TO_STDOUT=true HOT 12
- Running with --network=host produces FATAL HOT 5
- Cannot interrupt container while running from command line HOT 1
- EXTRA=1 should install manticore-galera HOT 1
- Fix entrypoint for backup restore HOT 2
- Tests for https://github.com/manticoresoftware/docker?tab=readme-ov-file#backup-and-restore HOT 2
- Consider VOLUME /var/lib/manticore HOT 3
- Cannot create directory βgaleraβ: File exists HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.