Backing up GitLab instance and repos on docker

Hello,
I have a few instances of GitLab running on docker. I know there is a backup procedure well explained for backing up the entire GitLab instance, repos, registry etc… My question is: is there a difference between backing up using that procedure and backing up the entire volume exposed to the container? Should I expect that backing up the entire volume is sufficient to restore my GitLab instance (including git repos, registry, issues etc…)? Is there a reason why I should prefer one backup technique or the other?
Thanks!

If GitLab is running, I wouldn’t assume that the filesystem (and it doesn’t really matter if you’re inside a docker contaner or not) is in an internally consistent state, so backing up that would not be a good idea.

Hello,
thank you for your answer.
Is this the only difference? Assuming I stopped the GitLab instance before backing up the volume, would the be sufficient for a proper backup?
Thanks!

I guess so, but I think you should read Back up and restore GitLab | GitLab