[Info-vax] Where to locate software
Paul Sture
nospam at sture.ch
Sun Jun 19 00:21:27 EDT 2016
On 2016-06-17, lawrencedo99 at gmail.com <lawrencedo99 at gmail.com> wrote:
> On Friday, June 17, 2016 at 8:16:37 AM UTC+12, John E. Malmberg wrote:
>>
>> On 6/13/2016 9:20 AM, Paul Sture wrote:
>>>
>>> When you do a 'git clone' you get a local copy of the full source tree,
>>> including history; if your main server gets wiped out the full source
>>> tree is available on x clients.
>>
>> The full source tree, but not the meta data.
>>
>> http://stackoverflow.com/questions/4658451/can-a-local-git-clone-be-considered-a-complete-backup-of-the-repo-it-was-cloned
>
> The only “meta data” I can see mentioned there is the remotes. While
> Git allows many kinds of workflows, I find it hard to imagine one
> where remotes on the central server might be important. Remotes are
> something you set up in your personal copy of the repo, representing
> your own personal collaboration network for that project.
>
> In other words, remotes are things you fetch from and push to. The
> server doesn’t normally do any fetching or pushing; it is the
> developers who fetch from/push to the server.
Surely then, using a developer's version to restore to a server
would propagate that developer's remote settings?
> As as for backups, I would not rely on application-specific backup
> routines, I would simply use rsync to do a full file copy of the
> important parts of the server.
Having been bitten by hard coded paths in multiple products in the past
I'd advise extreme caution with that approach.
--
There are two hard things in computer science, and they are cache invalidation,
naming, and off-by-one errors.
More information about the Info-vax
mailing list