On Mon, 13 Feb 2006 kfogel@collab.net wrote:
> Martin Furter <mf@rola.ch> writes:
>> Does anyone object to commit it to tools/contrib (after adding the
>> collabnet license) ?
>> Any other suggestions or wishes?
>
> I think it needs more documentation -- something like the email you
> wrote would be good :-). Also, maybe "svn-range-backup.py" or
> something like that? There are many possible backup strategies for
> Subversion, we shouldn't imply one is canonical unless it's clearly
> best for the majority of cases. (While this script will be very
> useful for certain situations, I don't think it meets that criterion.)
Yes, more documentation would be good. I haven't found docs in the tools
dir so I'm not sure where to put it. What about svnbackup.readme ?
I agree, the name is not very good. I'd prefer something which includes
the word 'dump'. What about "svn-backup-dumps.py" ?
On Wed, 8 Feb 2006, Alan Barrett wrote:
> On Tue, 07 Feb 2006, Martin Furter wrote:
>> So i had to write a better backup script: svnbackup.py.
>
> This looks very useful. I have a few suggestions:
>
> * Make the compression program (and filename extension) configurable.
> (I find that bzip2 compresses dumps better than gzip does.)
>
> * Make the use of the svnadmin dump "--deltas" option configurable.
Good ideas, i'll implement both.
>> Another problem is that the script creates temporary dump files when
>> using the gzip option. It would be better to pipe the output of
>> svnadmin dump directly into gzip, if would consume less disk space and
>> even run faster on my solaris box.
>
> Yes, that would be better.
On Fri, 10 Feb 2006, Chris Foote wrote:
> Or, you could just use the python zipfile/gzip/bz2/tarfile modules.
When i wrote the script I wanted to do that but I haven't found a streamy
version of the gzip functions. I'll take another look into the python
docs...
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 13 22:38:49 2006