Skip to contentSkip to conversation

Restore Question

DISCUSSION Gerald 2 participants 3 messages Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore

Gerald

author
#0 lore raw

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?

#1 lore raw
Quoted 3 lines · Gerald

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).

#3 lore raw
In reply to a message not in the archive
Quoted 17 lines · Gerald McKinley

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:[email protected]]
Sent: Friday, February 26, 2016 11:44 AM
To: Gerald McKinley <[email protected]>
Cc: [email protected]
Subject: Re: Restore Question

Quoted 4 lines · Gerald

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?

Quoted 5 lines

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..