I would suggest:-

  * copy off all the git repos - make sure they are out of harms way
  * going back to your most recent gitlab backup (you may need to build
    a server with matching gitlab version)
  * upgrade to current
  * work through all the repos pushing the contents to the new gitlab
    instance
  * you may have lost some recent updates outside of the git repos

If you do not have a gitlab backup then that is probably a warning in
itself.

In that case reimporting all the repos anew is the best you can do most
likely.

In any case make sure you save the state of the damaged system somewhere
offline (different server, USB disk etc) before fiddling.

Everyone else: check your backups.  Ask what your disaster recovery plan
is for something that is likely to be a core part of your team's value.

    Nigel.

> Paul Claydon <mailto:paclay...@gmail.com>
> 1 July 2016 at 11:45
> Hi
> I have a local pc serving the gitlab. Somehow the thing is broken.
> (its long story, but if anyone really wants to know I can try to explain)
>
> So I can boot to a shell prompt. When I try to rake a backup the
> cursor just sits there flashing, no output. 
>
> Is there any way to just copy all the repositories and the passkeys
> and start on a fresh gitlab server?
>
> (currently I'm trying to copy the git-data folder to a usb, and all
> the /hooks are not copying - cannot create symbolic link)
>
> Any help/pointers would be appreciated
>
> Thanks
> Paul
> -- 
> You received this message because you are subscribed to the Google
> Groups "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to gitlabhq+unsubscr...@googlegroups.com
> <mailto:gitlabhq+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/b03160aa-71e4-408f-919a-a981cd16b8d3%40googlegroups.com
> <https://groups.google.com/d/msgid/gitlabhq/b03160aa-71e4-408f-919a-a981cd16b8d3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 

[ Nigel Metheringham ------------------------------ ni...@dotdot.it ] 
[                 Ellipsis Intangible Technologies                  ]
 


-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/5776522A.6090903%40dotdot.it.
For more options, visit https://groups.google.com/d/optout.

Reply via email to