fix: support DEB822 repository bootstrap - #130
Merged
Merged
Conversation
tests❌ CLT tests in Failed tests:clt_tests/tests/test-backup-restore.rec––– input –––
export PATH=$PATH:/usr/sbin
––– output –––
OK
––– input –––
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
OK
––– input –––
if timeout 60 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
OK
––– input –––
docker ps
––– output –––
OK
––– input –––
docker build --build-arg="DEV=1" -t manticoresoftware/manticore:current /docker/ > /dev/null 2>&1; echo $?
––– output –––
OK
––– input –––
docker run --rm --name manticore -v /tmp/idx:/var/lib/manticore -d manticoresoftware/manticore:current
––– output –––
OK
––– input –––
if timeout 60 grep -qEm1 "columnar.*?secondary.*?knn" <(docker logs -f manticore 2>&1); then echo 'Done'; else echo 'Not found'; fi
––– output –––
OK
––– input –––
docker exec manticore manticore-executor -v
––– output –––
OK
––– input –––
docker exec manticore wget -q https://raw.githubusercontent.com/manticoresoftware/manticoresearch-backup/main/test/clt-tests/dumps/tables.sql
––– output –––
OK
––– input –––
docker exec manticore bash -c "mysql < ./tables.sql"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show tables"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table distributed_index"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_with_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_without_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table test"
––– output –––
OK
––– input –––
docker exec manticore manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}-%{YEAR}, 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 config
endpoint = http://127.0.0.1:9312
Manticore versions:
manticore: %{SEMVER} %{COMMITDATE}#!/(\s*dev)*/!#
columnar: %{SEMVER} %{COMMITDATE}
secondary: %{SEMVER} %{COMMITDATE}
knn: %{SEMVER} %{COMMITDATE}
buddy: %{SEMVER_EXT}
%{DATETIME} [Info] Starting the backup...
%{DATETIME} [Info] Backing up config files...
%{DATETIME} [Info] config files - OK
%{DATETIME} [Info] Backing up global state files...
%{DATETIME} [Info] global state files – OK
%{DATETIME} [Info] Backing up tables...
%{DATETIME} [Info] distributed_index (distributed)...
%{DATETIME} [Info] SKIP
%{DATETIME} [Info] rt_with_columnar (rt) [#!/[0-9]{1}\.[0-9]{3}/!#K]...
%{DATETIME} [Info] OK
%{DATETIME} [Info] rt_without_columnar (rt) [#!/[0-9]{1}\.[0-9]{3}/!#K]...
%{DATETIME} [Info] OK
%{DATETIME} [Info] test (rt) [%{NUMBER}B]...
%{DATETIME} [Info] OK
- %{DATETIME} [Info] Running sync
+ 2026-07-29 17:54:44 [Info]
- %{DATETIME} [Info] OK
+ Unfreezing all tables...
- %{DATETIME} [Info] You can find backup here: /tmp/backup-%{NUMBER}
+ 2026-07-29 17:54:44 [Info] distributed_index...
- %{DATETIME} [Info] Elapsed time: #!/([0-9]+\.[0-9]+|0)/!#s
+ 2026-07-29 17:54:44 [Info] OK
- %{DATETIME} [Info] Done
+ 2026-07-29 17:54:44 [Info] rt_with_columnar...
+ 2026-07-29 17:54:44 [Info] OK
+ 2026-07-29 17:54:44 [Info] rt_without_columnar...
+ 2026-07-29 17:54:44 [Info] OK
+ 2026-07-29 17:54:44 [Info] test...
+ 2026-07-29 17:54:44 [Info] OK
+ 2026-07-29 17:54:44 [Info] Running sync
+ 2026-07-29 17:54:44 [Info] OK
+ 2026-07-29 17:54:44 [Info] You can find backup here: /tmp/backup-20260729175444
+ 2026-07-29 17:54:44 [Info] Elapsed time: 0.02s
+ 2026-07-29 17:54:45 [Info] Done
––– input –––
BACKUP_NAME=$(docker exec manticore ls /tmp/ | grep backup-*)
––– output –––
OK
––– input –––
docker cp manticore:/tmp/$BACKUP_NAME /tmp/$BACKUP_NAME > /dev/null 2>&1; echo $?
––– output –––
OK
––– input –––
chmod -R 777 /tmp/$BACKUP_NAME
––– output –––
OK
––– input –––
docker stop manticore
––– output –––
OK
––– input –––
docker ps
––– output –––
OK
––– input –––
if timeout 60 sh -c 'while docker ps -a | grep -qE "Up"; do sleep 1; done'; then echo 'successful'; else echo 'not successful'; fi
––– output –––
OK
––– input –––
docker run -d --name manticore -v /tmp/$BACKUP_NAME:/docker-entrypoint-initdb.d manticoresoftware/manticore:current
––– output –––
OK
––– input –––
if timeout 60 grep -qEm1 "accepting connections" <(docker logs -f manticore 2>&1); then echo 'Manticore is running'; else echo 'Failed to start Manticore'; docker logs manticore; fi
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show tables"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table distributed_index"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_with_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_without_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table test"
––– output –––
OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.