From owner-freebsd-questions@FreeBSD.ORG Sun Mar 29 13:29:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501F61065672 for ; Sun, 29 Mar 2009 13:29:53 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from pne-smtpout2-sn2.hy.skanova.net (pne-smtpout2-sn2.hy.skanova.net [81.228.8.164]) by mx1.freebsd.org (Postfix) with ESMTP id 1036D8FC1A for ; Sun, 29 Mar 2009 13:29:52 +0000 (UTC) (envelope-from 240olofsson@telia.com) Received: from [192.168.1.31] (90.227.65.237) by pne-smtpout2-sn2.hy.skanova.net (7.3.129) (authenticated as u43111868) id 4873CA9503EF0286; Sun, 29 Mar 2009 14:20:18 +0200 Message-ID: <49CF6781.5070401@telia.com> Date: Sun, 29 Mar 2009 14:20:17 +0200 From: Roger Olofsson <240olofsson@telia.com> User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Glen Barber References: <4ad871310903290437q269964d7k54a449f405fb31b2@mail.gmail.com> In-Reply-To: <4ad871310903290437q269964d7k54a449f405fb31b2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: [OT] - Best Practices(TM) for Configuration File Changes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: raggen@raggens.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2009 13:29:53 -0000 Glen Barber skrev: > Hello, list. > > Before I pose my question, I am not intending to start a flame-war of > any sort -- I'm just searching for "different" ways of doing things. > > With so many different version control systems available (aside from > the traditional "keep current backups" solution), I am curious: > > Q: What is *your* favorite/suggestion solution to keep (working) > versions of configuration files, in case something goes awry? > > I am specifically targeting configuration files because they are what > I change the most, in avoidance of "It worked 10 minutes ago..." > situations. > > Cheers, > Hi Glen, For local configuration files there's a tool called rcs that can be used for tracking changes and rollback. It's a part of the FreeBSD base system. Check the man pages for rcs(1) ci(1) co(1) rcsdiff(1) and rcsintro(1) - rcsintro(1) is probably where you want to start. It's also available on other *nix systems like AIX, Red Hat, Solaris etc. /R