On 25/08/2023 19:36, Russell L. Harris wrote:
But for me, the only purpose of the backup repository is to ensure against data loss due to a catastrophic event such as drive failure on my production host. If pushing from PRODUCTION is more reliable or less trouble-prone than pulling from BACKUP, kindly explain to me, and I shall change.
They're equivalent. One small advantage is that you can push directly from your working computer; to pull from the backup computer you have to ssh there first.
However, pushing to a central repository is the workflow generally used when multiple people are working on a project. You may be only one using the repository, but if you follow the common procedure, it'll help if you ever find yourself working in a multi-user project.
If a bare BACKUP is more reliable or less trouble-prone than a non-bare BACKUP, kindly explain to me, and I shall change.
The reliability should be the same, but you cannot push to a non-bare repository. At least not in the standard configuration, but git being git I'm sure there's a way to override that.
-- Parents often talk about the younger generation as if they didn't have much of anything to do with it. Eduardo M KALINOWSKI eduardo@kalinowski.com.br