On 12-Feb-09, at 8:32 AM, Andy Levy wrote:
> 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
> 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.
Of course; but the OP's problem was 'disk space', which rules out
actually doing the dump. He didn't mention anything about the
estimate needing to be quick :-)
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-13 00:03:09 CET