Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 93555 invoked from network); 5 Feb 2011 03:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2011 03:39:32 -0000 Received: (qmail 83814 invoked by uid 500); 5 Feb 2011 03:39:32 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 83553 invoked by uid 500); 5 Feb 2011 03:39:29 -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 83546 invoked by uid 99); 5 Feb 2011 03:39:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 03:39:28 +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 (nike.apache.org: local policy) Received: from [194.9.95.115] (HELO s87.loopia.se) (194.9.95.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Feb 2011 03:39:19 +0000 Received: from s19.loopia.se (s34.loopia.se [194.9.94.70]) by s87.loopia.se (Postfix) with ESMTP id D384B28DD68 for ; Sat, 5 Feb 2011 04:38:58 +0100 (CET) Received: (qmail 36600 invoked from network); 5 Feb 2011 03:38:58 -0000 Received: from h-158-9.a155.priv.bahnhof.se (HELO [192.168.0.138]) (daniel@daniel-gr-andersson.com@[109.228.158.9]) (envelope-sender ) by s19.loopia.se (qmail-ldap-1.03) with SMTP for ; 5 Feb 2011 03:38:58 -0000 Message-ID: <4D4CC658.9010108@daniel-gr-andersson.com> Date: Sat, 05 Feb 2011 04:39:04 +0100 From: Daniel Andersson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101227 Icedove/3.0.11 MIME-Version: 1.0 To: Les Mikesell , users@subversion.apache.org Subject: Re: Reduce size of repository for backup References: <4D49BB08.3010204@daniel-gr-andersson.com> <4D49C5A4.2040901@gmail.com> In-Reply-To: <4D49C5A4.2040901@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 02/02/2011 09:59 PM, Les Mikesell wrote: > On 2/2/11 2:47 PM, Andy Levy wrote: >> On Wed, Feb 2, 2011 at 15:14, Daniel Andersson >> wrote: >>> Hi all, >>> >>> I deleted a bunch of large files from our repository yesterday that >>> was not >>> meant to be stored there. But these are still of course in the SVN >>> history. >>> >>> I wish to do a backup each night and today I use svnadmin hotcopy for >>> that, >>> and rsync that hotcopy to an off-site server. I chose hotcopy since >>> it will >>> not cause any problems with anyone using the repository at the same >>> time. >>> >>> Is it possible to delete specific large files from the history? Or do >>> I have >>> to dump and then delete the history all together? >> >> http://subversion.apache.org/faq.html#removal >> >>> Or could I do some kind of incremental backup instead and only a full >>> hotcopy backup each Sunday? >> >> As long as your incremental backups result in a usable repository when >> it's all restored, that can be done. svnadmin dump --incremental I >> think is what you'll need, there's no "incremental" hotcopy that I'm >> aware of. > > Or do a scheduled svnsync to a remote repository which will just pick up > the updates after you get the initial copy. You might need to let it run > over a weekend to get started, or make a copy locally and move it offsite. > OK, how would I go about then to completely delete the whole versioning history? /Daniel