Sym links and bazaar
Vincent Ladeuil
v.ladeuil+lp at free.fr
Sun Oct 17 17:09:23 BST 2010
>>>>> Tom Browder <tom.browder at gmail.com> writes:
> On Sat, Oct 16, 2010 at 16:04, Mark A. Flacy <mflacy at verizon.net> wrote:
>> On Sat, 2010-10-16 at 14:46 -0500, Tom Browder wrote:
>>> On Sat, Oct 16, 2010 at 13:53, Mark A. Flacy <mflacy at verizon.net> wrote:
>>> > On Sat, 2010-10-16 at 13:38 -0500, Tom Browder wrote:
>>> >> I want to keep the contents of a system file outside my bzr repo
>>> >> synched inside my repo and under version control.
> ...
>> Well, I believe that you'll end up with other problems.
>>
>> When you say "synched", you open a can of worms. What happens if you
>> (or someone else) edits the file in its "real" location? What happens
>> if you have multiple working directories off the repository? Which
>> working directory is pointing to the "true" copy? What happens when you
>> revert the working directory to an earlier version?
> Good points, but the purpose I have in mind is using bazaar for a
> versioned backup of certain system files.
> Anyway I've thought of another solution:
> On each host have a bazaar repository as parent of the system files I
> want to moniter. A cron job periodically checks the status of the
> monitored files and commits in the repos as necessary.
> My backup host will have a checkout of each host's repo and back them
> up with a periodic pull from each.
> What say you?
That's sound a lot like etckeeper... except for 'back them up' part but
this part is easy enough to implement"'manually".
Vincent
More information about the bazaar
mailing list