You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Michael Hipp <Mi...@Hipp.com> on 2005/06/04 16:01:14 UTC

Re: hot-backup.py failing SOLVED

John Szakmeister wrote:

> Actually, the should be just a plain 'hot-backup.py' (not 
> 'hot-backup.py.in') script in the tools/backup folder where you built 
> subversion.  'hot-backup.py' should have all the correct paths.  It's 
> generated from 'hot-backup.py.in' as a result of the configure process.  
> If you use the correct one, it will already have the correct paths in 
> it. :-)

Therein lies the problem. I didn't build it. I installed it from the 
Ubuntu repository via apt-get. And as there appeared to be no 
hot-backup.py that came along with it, I thought to just grab the file 
from the source distribution.

So I guess I can either hack the script or hop over to a machine that 
has a build environment and build it there and grab the script from it.

Wonder why Ubuntu's binary package doesn't include it?

Thanks for all your help,
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: hot-backup.py failing SOLVED

Posted by Michael Hipp <Mi...@Hipp.com>.
John Szakmeister wrote:
> On Saturday 04 June 2005 12:01, Michael Hipp wrote:

>>Wonder why Ubuntu's binary package doesn't include it?
> 
> 
> That's a good question. :-)  Actually, I believe there is a package called 
> subversion-tools that might contain the script.

Well I built the 1.2.0 version on another machine, checked the 
hot-backup.py file, copied it to the svn server machine, and tried it 
with exactly the same results. Flarg!

So I then installed subversion-tools via apt-get, ran it, and now have 
my repo backed up.

Again, thanks for all your help. I can now go back to my Python code. :-)

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: hot-backup.py failing SOLVED

Posted by John Szakmeister <jo...@szakmeister.net>.
On Saturday 04 June 2005 12:01, Michael Hipp wrote:
> John Szakmeister wrote:
> > Actually, the should be just a plain 'hot-backup.py' (not
> > 'hot-backup.py.in') script in the tools/backup folder where you built
> > subversion.  'hot-backup.py' should have all the correct paths.  It's
> > generated from 'hot-backup.py.in' as a result of the configure
> > process. If you use the correct one, it will already have the correct
> > paths in it. :-)
>
> Therein lies the problem. I didn't build it. I installed it from the
> Ubuntu repository via apt-get. And as there appeared to be no
> hot-backup.py that came along with it, I thought to just grab the file
> from the source distribution.

You can hunt through the file looking for those @SVN_XXX@ symbols, and 
just replace them with the appropriate paths.  No need to spend time 
trying to find a machine with a build environment.

> So I guess I can either hack the script or hop over to a machine that
> has a build environment and build it there and grab the script from it.
>
> Wonder why Ubuntu's binary package doesn't include it?

That's a good question. :-)  Actually, I believe there is a package called 
subversion-tools that might contain the script.

> Thanks for all your help,

No problem.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org