[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: estimate size of dump?

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 12 Feb 2009 08:32:25 -0500

On Wed, Feb 11, 2009 at 15:20, Toby Thain <toby_at_telegraphics.com.au> wrote:
> On 11-Feb-09, at 12:54 PM, Andy Levy wrote:
>> On Wed, Feb 11, 2009 at 07:50, Justin Case
>> <send_lotsa_spam_here_at_yahoo.com> wrote:
>>> Hi all,
>>> Is there a way to estimate the size of a repository dump _before_
>>> generating it? My 25G repository filled 75G of dump then bailed out because
>>> of lack of disk space, so I'd like to know how much more space do I need to
>>> buy. Before you go telling me "get yourself a 1T external disk" I must
>>> underline that we have heaps of policies for requesting storage, for using
>>> storage, for NAS and SAN and RAID and whatnot so I really need to know how
>>> much I should ask for.
>> There isn't a good way, unfortunately.
> I imagine the OP's problem may be solved by piping the dump to wc -c
> $ svnadmin dump /var/svn/telegraphics/icoformat/ -q --incremental | wc -c
> 4024810

That's not so much an estimate as actually *doing* the dump and just
not writing it to a file. Which could be very time-consuming.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-12 22:36:24 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.