git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Restore Question

From
Kevin Daudt <me@ikke.info>
Date
Feb 26, 2016, 17:13 UTC
Message-ID
<20160226171333.GB19120@ikke.info>
In-Reply-To
<CY1PR06MB2155A1C2369E836CF8A34839CCA70@CY1PR06MB2155.namprd06.prod.outlook.com>
On Fri, Feb 26, 2016 at 04:53:35PM +0000, Gerald  McKinley wrote:
Show 22 quoted lines
> I have git running on a vm.  One of the repos got messed up.  I restored the
> vm from the previous day.  I gave the vm a different ip address and hostname.
> I did not see all my files in the repo.
> 
> -----Original Message-----
> From: Kevin Daudt [mailto:me@ikke.info] 
> Sent: Friday, February 26, 2016 11:44 AM
> To: Gerald McKinley <gmckinley@ventureforth.com>
> Cc: git@vger.kernel.org
> Subject: Re: Restore Question
> 
> On Fri, Feb 26, 2016 at 02:18:16PM +0000, Gerald wrote:
> > I have git running on a VMware virtual machine.  I backup the virtual 
> > machine every day.  How do I restore git from a restore of the
> > virtual machine?
> > 
> 
> Can you explain what you mean exactly with restoring git? It's unclear
> what you want to achieve.
> 
> Retrieving a git repository is just a matter of copying the entiry
> repository directory (including .git dir).
Please don't remove the gist mailing list from the CC (use reply all).

Is this VM used to host the repositories, meaning, are they bare repositories?

You have to be a little more verbose, it's hard for us to guess what is going on.

If you have restored the VM, it's just a matter of copying the repository directory from the backup vm to the current VM..

Previous: Kevin Daudt
Message 3 of 3 in “Restore Question”
  1. GeraldFeb 26, 2016
  2. Kevin DaudtFeb 26, 2016
  3. Kevin DaudtFeb 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.