Check
- docker volume ls | perplexica_backend-dbstore
- docker run -it --rm -v perplexica_backend-dbstore:/data busybox ls -l /data
Backup
- docker run --rm -v perplexica_backend-dbstore:/data -v C:/backup:/backup busybox tar cvf /backup/perplexica_backend-dbstore.tar /data
Remove
- docker remove old container
Update
- goto perplexica of directory and run git pull origin master
- check config.toml and docker-compose.yaml
ReBuild
- goto perplexica of directory and docker compose up -d --build
Recovery
- docker run --rm -v perplexica_backend-dbstore:/data -v C:/backup:/backup busybox tar xvf /backup/perplexica_backend-dbstore.tar -C /data
Check
- docker run -it --rm -v perplexica_backend-dbstore:/data busybox ls -l /data
沒有留言:
張貼留言