每个人都有自己鲜明的主张和个性,不要试图去改变他人,同样,也不要被他人所改变。改了,就不是自己了。 ------ 博客首页

metersphere备份、迁移

文件存储目录默认:/opt/metersphere/data
停旧服务,备份文件夹
安装新服务,完成之后停新服务
替换新服务的文件夹

 

 

相关命令:

service docker start

msctl start

msctl status

---------------------------------

msctl:

Commands:
build Build or rebuild services
bundle Generate a Docker bundle from the Compose file
config Validate and view the Compose file
create Create services
down Stop and remove containers, networks, images, and volumes
events Receive real time events from containers
exec Execute a command in a running container
help Get help on a command
images List images
kill Kill containers
logs View output from containers
pause Pause services
port Print the public port for a port binding
ps List containers
pull Pull service images
push Push service images
restart Restart services
rm Remove stopped containers
run Run a one-off command
scale Set number of containers for a service
start Start services
stop Stop services
top Display the running processes
unpause Unpause services
up Create and start containers
version Show the Docker-Compose version information

 

posted @ 2021-08-16 16:41  蠕动的贝塞尔  阅读(901)  评论(1编辑  收藏  举报