From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 04:19:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8145F16A4CE for ; Fri, 23 Apr 2004 04:19:01 -0700 (PDT) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5768443D5A for ; Fri, 23 Apr 2004 04:19:00 -0700 (PDT) (envelope-from keramida@hellug.gr) Received: from igloo.linux.gr (IDENT:1041@localhost [127.0.0.1]) i3NBGw4L002000; Fri, 23 Apr 2004 14:17:28 +0300 Received: (from keramida@localhost) by igloo.linux.gr (8.12.10/8.12.10/Debian-2) id i3NBGR47001958; Fri, 23 Apr 2004 14:16:27 +0300 X-Authentication-Warning: igloo.linux.gr: keramida set sender to keramida@linux.gr using -f Date: Fri, 23 Apr 2004 14:16:27 +0300 From: Giorgos Keramidas To: dave Message-ID: <20040423111627.GA1360@igloo.linux.gr> References: <004c01c428fe$6094b860$0200a8c0@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004c01c428fe$6094b860$0200a8c0@satellite> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.9, required 5, autolearn=not spam, BAYES_00 -4.90) X-MailScanner-From: keramida@linux.gr cc: freebsd-questions@freebsd.org Subject: Re: backing up cvs files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 11:19:01 -0000 On 2004-04-23 02:44, dave wrote: > Hello, > I've got a cvs repository i'd like to move to another system, but i am > uncertain as to how to back it up, any advice helpful. > Also, i've got an anonymous user in the file READERS, however he can > still commit changes to the repository, i am speculating this might be a > permissions issue, can anyone confirm this? CVS doesn't store information in any special filesystem metadata area. The CVSROOT files are plain text files, whose normal attributes (owner, permissions, creation-modification and access times, etc.) are all that needs to be backed up. I have moved CVSROOT hierarchies many times, either in different places within the same filesystem or in other filesystems/machines altogether. All you should need to do is: a. Make sure nobody uses the CVSROOT in question while you back it up. This is important, to avoid taking a backup copy of files that are either locked by a running cvs client or are incomplete, since they're being updated at the time you start backing up. b. Use your favorite archiver to take a backup copy, i.e.: % cd $CVSROOT % tar cvf cvsroot.tgz . That should be enough :) - Giorgos