Re: [PATCH 4/4] doc: add a FAQ entry about syncing working trees
- From
Philip Oakley <philipoakley@iee.email>
- Date
- Oct 20, 2021, 14:05 UTC
- Message-ID
- <3f92dde3-fdcc-fb76-7ebc-2c3cf8191af2@iee.email>
- In-Reply-To
- <a2719de4-d8ec-5e78-bb73-7712c07c90c7@gmail.com>
On 20/10/2021 05:58, Bagas Sanjaya wrote:
Show 11 quoted lines
> On 20/10/21 08.06, brian m. carlson wrote: >> +Be aware that even with these recommendations, syncing in this way is >> +potentially risky since it bypasses Git's normal integrity checking for >> +repositories, so having backups is advised. >> + > > This raises question: how users can backup their repos? The answer is > same as this FAQ for syncing working trees: have your repo to be > pushed to the spare server at disposal, or use rsync (as long as the > preconditions are met). >
Perhaps, for backing up a repo, users might be pointed toward `git bundle` (with caveats about `--all` being over complete..)
-- Philip