Open nanquanyuhao opened 6 years ago
same as your question I use dcoker-compose to backup the gitlab and then get a Failed to backup repo Error!
same as your question I use dcoker-compose to backup the gitlab and then get a Failed to backup repo Error!
You can do like this...
Starting the gitlab container
Enter the gitlab's bash shell
Execute /sbin/entrypoint.sh app:rake gitlab:backup:restore to restore a backup
When restore finish, just restart gitlab container, and all is done.
Thanks !
but when i try to backup using the app:rake i enter the gitlab container I get a error
Could not locate Gemfile or .bundle/directory
Thanks !
but when i try to backup using the app:rake i enter the gitlab container I get a error
Could not locate Gemfile or .bundle/directory
You can try the auto backup, I use it long time ...
- GITLAB_BACKUP_SCHEDULE=daily
- GITLAB_BACKUP_TIME=04:00
ok, I will try it !
I have tested the workaround proposed by @nanquanyuhao with 11.1.4 and can confirm that it works. Many thanks.
This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.
There is a bug when you backup/restore with command like this...
the info like this...
To see #1655 , @serenader2014 supply a way to handle issue but can't reslove it.
My Gitlab version is 10.6.2, and I use the version 11.3.5, it still has the problem... Can you fix it ? Thanks...