Documentation not clear for GitLab restore procedure with Docker
Hello,
In this documentation : https://docs.gitlab.com/ce/raketasks/backup_restore.html#restore-for-docker-image-and-gitlab-omnibus-helm-chart
for the restoration process it is mention that :
> **the restore task expects the restore directories to be empty**
But what is the real steps to do a backup restoration when you use GitLab-ce with Docker (docker-compose) ?
Should I stop GitLab ? Should I remove all the data inside the volume mounts before running this command :
> docker exec -it <name of container> gitlab-rake gitlab:backup:restore
Or can I run directly the previous command without any problems ?
Also can I pass the param `BACKUP=` in the previous command ?
Here is my docker compose file :
`
volumes:
- '/srv/nfs_volume/gitlab/config:/etc/gitlab'
- '/srv/nfs_volume/gitlab/logs:/var/log/gitlab'
- '/srv/nfs_volume/gitlab/data:/var/opt/gitlab'
`
Thank you very much.
Best regards,
issue