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

hotcopy: Unable to backup the repository

From: Neal Jhala <njhala_at_yahoo.com>
Date: 2004-02-10 08:46:54 CET

> Neal Jhala wrote:
>
> >Running Subversion 0.37.0, Win32 binaries, and I
> >routinely get the "Unable to backup the repository"
> >message in my hotbackup log output. The server is
> >scheduled to run 'hot-backup.py' each night, which in
> >turn calls 'svn admin hotcopy'. I have verified I'm
> >using the latest hot-backup.py. I've had this error
> >ever since the hotcopy command was introduced, and
> >hot-backup.py was updated to use the new command. I
> >was hoping whatever errors might have been causing it
> >would have disappeared with 0.37.0, but it still shows
> >up about 25% of the time. I run 'svnadmin verify' on
> >the backup files each night, and strangely, even when
> >the "unable to backup the repository" errors come up,
> >the verify succeeds sometimes. Other times, the
> >verify fails with some 'missing string' errors. Any
> >idea what might be causing these errors? I'm tempted
> >to go back to using the old hot-backup.py that didn't
> >use 'svn admin hotcopy', as I didn't have any problems
> >with that method. The backup is scheduled to run
> >durring off-hours, so I don't think anyone is doing
> >any SVN client commands at the time of the backup.
> >
> >
>
> I can't reproduce this with 0.37.0 on three different repositories. At
> least you could post the command line complete output, otherwise we'll
> have a hard time figuring out what's going wrong.
>
> --
> Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/

input: python.exe hot-backup.py d:/svn d:/svn_backup >>
d:/svn_backup/hot-backup.log

hot-backup.log output with errors:
Beginning hot backup of 'd:/svn'.
Youngest revision is 9755
Backing up repository to 'd:/svn_backup\svn-9755'...
Unable to backup the repository.

hot-backup.log output with no errors:
Beginning hot backup of 'd:/svn'.
Youngest revision is 9853
Backing up repository to 'd:/svn_backup\svn-9853'...
Done.
Removing old backup: d:/svn_backup\svn-9424

It fails roughly 25% of the time, so pretty hard to reliably reproduce. Any
way to get more debugging info from the hotcopy command?

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 10 08:47:20 2004

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.