I'm trying to set up hot backups using the hot-backup.py script
supplied with the source.
Like some others, I installed using a binary installer (Martin Ott's
wonderful Mac OS X package for subversion-1.0.6). I downloaded the
1.0.6 source and hand-edited hot-backup.py to allow svnlook and
svnadmin to work. In particular, I removed the @SVN_BINDIR@ entirely
and exported /usr/local/bin as part of the path prior to running the
hot-backup.py script. It appears this works, as I do not get the
IndexError: list index out of range" error I was getting prior to
When running hot-backup.py from the command line, I get "Unable to
backup the repository." For example:
/volumes/flotsam/backup/svn/backups svn$ ../hot-backup.py
Beginning hot backup of '/usr/local/repos'.
Youngest revision is 7
Backing up repository to
Unable to backup the repository.
Just checking the directory:
/volumes/flotsam/backup/svn/backups svn$ ls -la
drwxr-xr-x 3 svn admin 102 13 Aug 17:29 .
drwxr-xrwx 4 svn admin 136 13 Aug 17:01 ..
drwxr-xr-x 9 svn admin 306 13 Aug 17:26 repo-6
Following a hint I found in the archives, I tried running svnadmin
hotcopy directly to find the specific error:
endrew:/volumes/flotsam/backup/svn/backups svn$ svnadmin hotcopy
This worked. Of course, when I tried it again, it returned this error:
svn: '/volumes/flotsam/backup/svn/backups' exists and is non-empty
Indeed it exists and is not empty, as it has the backup that was
previously there. When I empty the directory, running svnadmin hotcopy
works fine (once, of course).
Any hints as to what might not be working with the hot-backup.py
script? I'm suspecting something (besides the @SVN_BINDIR@) gets
changed during compiling that I haven't changed. I'm on Mac OS X 10.3.5
running Subversion 1.0.6.
Thanks for any hints or suggestions as to how I can get this working.
grzm myrealbox com
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Fri Aug 13 10:43:53 2004