cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.27k stars 2.95k forks source link

Invalid job status saved in backup for tasks/projects #6809

Open SDMMG opened 1 year ago

SDMMG commented 1 year ago

My actions before raising this issue

Hi. I am running CVAT on a remote machine (version 2.1.0) in which I have configured automatic backups for all my projects. When I restored one of them via web (192.168.X.X:PORT/projects?page=1, + → Create from backup) I figured out that the job stage and the job assignees were not updated: the stage is on the 'annotation' mode and the assignee field is clear. I was wondering if this is due to the version I am using and it can be solved by updating it, or it is not yet implemented. If this was the case, do you have in mind to implement this feature in a future? If not, where do I have to make the needed changes?

Thanks in advance.

Your Environment

bsekachev commented 1 year ago

job stage was not updated

Probably there is a bug in the tool. Thx for report.

job assignees was not updated

Job assignee is instance-specific field, it is not backed up.

bsekachev commented 1 year ago

For database backup, you better to use something like this:

https://opencv.github.io/cvat/docs/administration/advanced/backup_guide/