[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: Thu, 12 Feb 2009 00:35:31 -0500

On 11-Feb-09, at 3:20 PM, Toby Thain 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

Ugh, I confused --incremental with --deltas of course (thanks Ben:)

--T

>
>
> --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].

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

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

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