Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AD5810231 for ; Tue, 10 Feb 2015 15:50:45 +0000 (UTC) Received: (qmail 20881 invoked by uid 500); 10 Feb 2015 15:50:32 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 20844 invoked by uid 500); 10 Feb 2015 15:50:32 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 20834 invoked by uid 99); 10 Feb 2015 15:50:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 15:50:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lesmikesell@gmail.com designates 74.125.82.48 as permitted sender) Received: from [74.125.82.48] (HELO mail-wg0-f48.google.com) (74.125.82.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 15:50:26 +0000 Received: by mail-wg0-f48.google.com with SMTP id x12so34202980wgg.7 for ; Tue, 10 Feb 2015 07:49:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eMgZC7IUGCiEH6Nq6SOb/fGNRjcUf7DawOan2WCrdHg=; b=IOdtv8hOGdlcEFzGrPkZSfY9jZeyeMdVy/vp5og0kfvC6Qnq/yF/HL+NQKgyhRpBur E+dUuHz7pRvoCQ3YPKdPz4Uk9LX/lq8Q4LcrSA7zsBltx0R/5pY/ZMsM6sWMkdBUQ9Oa lKH9uU/uxfqwYJIoDWi4FlcagIkctnaMAdLC3HstU0ddtYIbQjJ/Miwcn2yjStzTQYhb Bms3ABCbEttJiCwENzPHtcG/u+uGisU5bwJM8hzrAOFjFX8xj1kQRBMsQwuYZ/yz1wWQ kd9xvhuMFlyju9IW53Xb+ThSMmF5z6/g+HiYclXQ7TpwID0Dar6zamfLiWKL3q+aZjSn RZLg== MIME-Version: 1.0 X-Received: by 10.195.13.104 with SMTP id ex8mr52961123wjd.12.1423583360550; Tue, 10 Feb 2015 07:49:20 -0800 (PST) Received: by 10.27.83.204 with HTTP; Tue, 10 Feb 2015 07:49:20 -0800 (PST) In-Reply-To: <456754995.2323707.1423542337844.JavaMail.yahoo@mail.yahoo.com> References: <456754995.2323707.1423542337844.JavaMail.yahoo@mail.yahoo.com> Date: Tue, 10 Feb 2015 09:49:20 -0600 Message-ID: Subject: Re: how to backup repository with all history? From: Les Mikesell To: James Cc: "users@subversion.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 9, 2015 at 10:25 PM, James wrote: > I have few repositories in my svn-root directory. > I have put a conf folder at the same level as other repositories. that conf > folder contains a authz and a passwd file which are shared by all > repositories. By doing this I can setup users and their privilege in one > place. But because of this conf folder, I cannot do hotcopy automatically. I > am thinking just tar all of them daily. > > My purpose of backup is just in case my machine die. So how big the > difference will be for my tar approach and the hotcopy? If you are sure that no changes can happen during the tar run, that should be fine - or rsync to another system might be more efficient. But with any backup approach you need to understand that you can't continue to use existing working copies that might have newer revisions than the restored backup. You would have to check out a fresh copy, then copy over any new work you want to keep from the old working copy and commit again. And yet another alternative if you have another system to hold the data (and it's not much of a backup if you don't...) would be to svnsync each repository and rsync your common config. -- Les Mikesell lesmikesell@gmail.com