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

Re: Backup problems under Windows

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-06-30 12:21:36 CEST

Pål Andreassen wrote:
> Running SubVersion (svnserve) under Windows 2003 server. The nightly backup
> to tape sometimes fail to backup the live subversion database due to files
> beeing in use:
>
> E:\Data\subversion\db\changes ** The process cannot access the file because
> it is being used by another process.
> E:\Data\subversion\db\copies ** The process cannot access the file because
> it is being used by another process.
> E:\Data\subversion\db\log.0000000085 ** The process cannot access the file
> because it is being used by another process.
> E:\Data\subversion\db\nodes ** The process cannot access the file because it
> is being used by another process.
> E:\Data\subversion\db\representations ** The process cannot access the file
> because it is being used by another process.
> E:\Data\subversion\db\revisions ** The process cannot access the file
> because it is being used by another process.
> E:\Data\subversion\db\strings ** The process cannot access the file because
> it is being used by another process.
> E:\Data\subversion\db\transactions ** The process cannot access the file
> because it is being used by another process.
> E:\Data\subversion\db\uuids ** The process cannot access the file because it
> is being used by another process.
>
> Do I need to shut down svnserve before performing the backup? If so, how do
> I shutdown the svnserve process in an orderly fasion?
>
> Are there any better ways to make backup of subversion?

It is *UNSAFE* to back up subversion repositories with a standard backup tool.
They are databases, and as such must be backed up in such a way as to keep them self-consistent.

Read about "svnadmin hotcopy".

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 30 12:25:26 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.