Showing posts with label Docker. Show all posts
Showing posts with label Docker. Show all posts

Wednesday, August 13, 2025

Backup và Restore Milvus Docker

Restore

Vào user, stop Milvus service

Vào root, xóa thư mục data của Milvus ở user

Vào user, tạo thư mục data/milvus

Copy file đã backup vào data/milvus

Giải nén file, start lại milvus


Add normal user to docker group to run docker compose file

groupadd docker 2>/dev/null || true

usermod -aG docker yournormaluser

newgrp docker 


out and ssh again

Install Docker on Debian 12

 apt install ca-certificates curl
install -m 0755 -d /etc/apt/keyrings

 curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
 chmod a+r /etc/apt/keyrings/docker.asc

echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
   tee /etc/apt/sources.list.d/docker.list > /dev/null
 apt update

apt-cache madison docker-ce | awk '{ print $3 }'

VERSION_STRING="5:26.1.3-1~debian.12~bookworm"
 apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin