Data lost after restoring from backup file of docker container volume
See original GitHub issueMy 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:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arasharchor Hi, please provide logs from cvat (or cvat_server) container. Also provide output of
docker ps
,docekr volume ls
anddocker inspect cvat
commands@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.