[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: Gonzalez Diaz, Xoan <G2485_at_caixagalicia.es>
Date: Fri, 9 May 2008 10:16:36 +0200

> -----Mensaje original-----
> De: eg [mailto:egoots_at_gmail.com]
> Enviado el: jueves, 08 de mayo de 2008 18:39
> Para: Gonzalez Diaz, Xoan
> CC: users_at_subversion.tigris.org; dev
> Asunto: Re: Hot-backup.py and transactions problem
>
> 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.

Yes, you're right. I have tested also gz and, when you specify this
archive-type, empty directories are backed up correctly.

---------------------------------------------------------------------
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-09 10:16:31 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.