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.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1145098
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-12 22:36:24 CET