question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data lost after restoring from backup file of docker container volume

See original GitHub issue

My actions before raising this issue

  • Read/searched the docs
  • Searched past issues

I have made a backup of my CVAT database cvat_db following the guide line here: https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes as recommend. However after running the command to restore the data a server error occurred with code 500 to my server, and all data were unable to find. What should I do?

Your Environment

  • Git hash commit (git log -1):
  • Docker version docker version (e.g. Docker 17.0.05):19.03.12
  • Are you using Docker Swarm or Kubernetes? No
  • Operating System and version (e.g. Linux, Windows, MacOS):ubuntu 18.04
  • Code example or link to GitHub repo or gist to reproduce problem:
  • Other diagnostic information / logs:
    Logs from `cvat` container

Next steps

You may join our Gitter channel for community support.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
azhavorocommented, Sep 12, 2022

@arasharchor Hi, please provide logs from cvat (or cvat_server) container. Also provide output of docker ps, docekr volume ls and docker inspect cvat commands

0reactions
arasharchorcommented, Sep 12, 2022

@azhavoro Thanks for your reply. After struggling for several hours, I was able to recover all the data and the problem is resolved. The problem was that some of the data were being saved in containers and upon deleting them, they were also deleted. The issue was only for the data, but database was safe in the volumes. This was caused due to a typo in the “data” path for Django.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Back up and restore data - Docker Documentation
Use the following procedure to save and restore your images and container data. This is useful if you want to reset your VM...
Read more >
How can I backup a Docker-container with its data-volumes?
So the problem is this: If I want to backup and restore the container I can try to commit an image, and then...
Read more >
Docker: Backup and restore - IONOS
Creates a tarball archive of the volume data inside the /backup/ folder in the newly started container; linking this folder to the ~/backup/ ......
Read more >
Docker container backup and restore - Bacula Enterprise
Another type of Docker backups is via volumes – persistent storage providers for Docker containers. These volumes need to be backed up for...
Read more >
How to Backup Restore or Migrate data volumes in a docker ...
1) Launch a new container and mount the volume from the dbstore container · 2) Mount a local host directory as /backup ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found