cd /mnt/cvat
docker compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml down
(... success...)
mkdir backup
docker run --rm --name temp_backup --volumes-from cvat_db -v $(pwd)/backup:/backup ubuntu tar -czvf /backup/cvat_db.tar.gz /var/lib/postgresql/datadocker run --rm --name temp_backup --volumes-from cvat_db -v $(pwd)/backup:/backup ubuntu tar -czvf /backup/cvat_db.tar.gz /var/lib/postgresql/data
docker: Error response from daemon: No such container: cvat_db.
See 'docker run --help'.
Could you help, please?
Expected Behavior
Backup starts
Context
Only nuclio containers running:
docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2b0380daf548 gcr.io/iguazio/alpine:3.17 "/bin/sh -c '/bin/sl…" 6 hours ago Up 6 hours nuclio-local-storage-reader
493da0b639ff cvat.pth.dschoerk.transt:latest "processor" 6 hours ago Up 6 hours (healthy) 0.0.0.0:32772->8080/tcp, :::32772->8080/tcp nuclio-nuclio-pth-dschoerk-transt
416fc2cb1820 cvat.dr_0822_1610_batch16:latest "processor" 23 hours ago Up 23 hours (healthy) 0.0.0.0:32770->8080/tcp, :::32770->8080/tcp nuclio-nuclio-dr_0822_1610_batch16
Indeed, ther's no cvat_db container because it was stopped. It is present when CVAT is running:
docker ps -a | grep cvat_db
42fe7c2abdbc postgres:15-alpine "docker-entrypoint.s…" 20 hours ago Up 20 hours cvat_db
Environment
Ubuntu 18.04.6
Server version: 2.15.0
Core version: 15.0.6
Canvas version: 2.20.3
UI version: 1.63.11
Docker version 24.0.2, build cb74dfc
Actions before raising this issue
Steps to Reproduce
I believe the issue is related to this one https://github.com/cvat-ai/cvat/issues/7983 but not the same. I need to update my local CVAT setup and wanted to back up everything. Checked the doc: https://docs.cvat.ai/docs/administration/advanced/backup_guide/. Trying to run:
Could you help, please?
Expected Behavior
Backup starts
Context
Only nuclio containers running:
Indeed, ther's no cvat_db container because it was stopped. It is present when CVAT is running:
Environment