[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hot-backup.py and transactions problem

From: eg <egoots_at_gmail.com>
Date: Thu, 08 May 2008 09:38:37 -0700

Gonzalez Diaz, Xoan wrote:
>
>>
>> Definitely the "transactions" directory is not there. If I don't specify
>> archive-type "transactions" directory is not created in the copy.
>>
>> A little more info. I am using FSFS and the version of hot-backup.py that
>> I am using is 27407 revision of
>> http://svn.collab.net/viewvc/svn/trunk/tools/backup/hot-backup.py.
>>
>>
>
>
> Sorry, but I wrote something that was not true in my last message.
> "Transactions" directory only disappears when specifying archive-type.
>
> So the solution would be making a hot-backup without zipping and then compress the directory in another way.

Ahhh. I bet zip doesn't like archiving empty directories.

I know archive-type=bz2 works, as I use that daily and have "confirmed"
it many times (but I have been using an older version).

So, I just re-tested this using hot-backup.py from r31090 (latest trunk)
and confirmed it.

-archive-type=zip does NOT backup the directories if they are empty such
as transactions and dav (in my test case). This is a bug.

-archive-type=bz2 does

I am cc'ing this to the dev list to make it known, as I am not sure who
is looking after this script.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-08 18:39:08 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.