[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: Toby Thain <toby_at_telegraphics.com.au>
Date: Wed, 11 Feb 2009 15:20:38 -0500

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

--Toby

>
>> Or can I load a hot copy instead of a dump for restoring a
>> repository? Probably not, but I'm really unsure what that hot copy
>> can be useful for.
>
> Depends on what you need the hotcopy for.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?
> dsForumId=1065&dsMessageId=1140058
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1140622

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-11 21:21:30 CET

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