site/content/en/docs/faq/_index.md
Please follow the {{< ilink "/docs/dataset_management/backup#backup" "export tasks and projects guide" >}} to download an archive with data which corresponds to your task or project. The backup for a project will have all tasks which are inside the project. Thus you don't need to export them separately.
Please follow the {{< ilink "/docs/dataset_management/backup#create-from-backup" "import tasks and projects guide" >}} to upload your backup with a task or project to a CVAT instance.
See a quick demo below. It is really a simple process. If your data is huge, it may take some time. Please be patient.
Before upgrading, please follow the {{< ilink "/docs/administration/community/advanced/backup_guide" "backup guide" >}} and backup all CVAT volumes.
Follow the {{< ilink "/docs/administration/community/advanced/upgrade_guide" "upgrade guide" >}}.
To change the hostname, simply set the CVAT_HOST environment variable
export CVAT_HOST=<YOUR_HOSTNAME_OR_IP>
NOTE, if you're using docker compose with sudo to run CVAT, then please add the -E (or --preserve-env)
flag to preserve the user environment variable which set above to take effect in your docker containers:
sudo -E docker compose up -d
If you want to change the default web application port, change the ports part of traefik service configuration
in docker-compose.yml
services:
traefik:
...
...
ports:
- <YOUR_WEB_PORTAL_PORT>:8080
- 8090:8090
Note that changing the port does not make sense if you are using HTTPS - port 443 is conventionally used for HTTPS connections, and is needed for Let's Encrypt TLS challenge.
Follow the Docker manual and configure the directory that you want to use as a shared directory:
After that, it should be possible to use this directory as a CVAT share:
services:
cvat_server:
volumes:
- cvat_share:/home/django/share:ro
cvat_worker_import:
volumes:
- cvat_share:/home/django/share:ro
cvat_worker_export:
volumes:
- cvat_share:/home/django/share:ro
cvat_worker_annotation:
volumes:
- cvat_share:/home/django/share:ro
cvat_worker_chunks:
volumes:
- cvat_share:/home/django/share:ro
volumes:
cvat_share:
driver_opts:
type: none
device: /d/my_cvat_share
o: bind
The uploaded data is stored in the cvat_data docker volume:
volumes:
- cvat_data:/home/django/data
Annotations are stored in the PostgreSQL database. The database files are stored in the cvat_db docker volume:
volumes:
- cvat_db:/var/lib/postgresql/data
Follow this {{< ilink "/docs/administration/community/basics/installation#windows-10" "guide" >}}.
You should build CVAT images with 'Analytics' component.
You can upload annotation for a multi-job task from the Dashboard view or the Task view. Uploading of annotation from the Annotation view only affects the current job.
To do this, you will need to edit traefik.http.<router>.cvat.rule docker label for both the
cvat and cvat_ui services, like so
(see the documentation on Traefik rules for more details):
cvat_server:
labels:
traefik.http.routers.cvat.rule:
(Host(`example1.com`) || Host(`example2.com`)) &&
(PathPrefix(`/api/`) || PathPrefix(`/static/`) || PathPrefix(`/admin`)
|| PathPrefix(`/django-rq`))
cvat_ui:
labels:
traefik.http.routers.cvat-ui.rule: Host(`example1.com`) || Host(`example2.com`)
Set the segment size when you create a new task, this option is available in the {{< ilink "/docs/workspace/tasks-page#advanced-configuration" "Advanced configuration" >}} section.
Follow the {{< ilink "/docs/administration/community/advanced/backup_guide#how-to-backup-all-cvat-data" "backup/restore guide" >}}.
See the information here in the {{< ilink "/docs/guides/serverless-tutorial#adding-your-own-dl-models" "Serverless tutorial" >}}.
You can call control SSL certificate check with the --insecure CLI argument.
For SDK, you can specify ssl_verify = True/False in the cvat_sdk.core.client.Config object.