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

Re: SVN + Shadow Copy

From: Mat Booth <mat.booth_at_wandisco.com>
Date: Tue, 31 Jul 2012 10:31:06 +0100

On 30 July 2012 20:52, Fernando Gomes <Fernando.Gomes_at_grupospring.com> wrote:
> Hello all,
>
> I am a rather experienced developer and I’m currently trying to use SVN to back up a batch of files automatically every X hours. The problem is that some of the files are open and the commit fails entirely.
> I have managed to invoke a non-persistent Shadow Copy over the volume but since I am not using a windows server but windows 7 the shadow copy is read-only. (I am using the vscsc.exe variant of the Shadow Copy SDK from Microsoft).
>
> Everything would work just fine if this Shadow Copy was write-enabled because the .svn folder files cannot be edited and because so the script (running "svn add" or "svn commit") cannot complete.
>
> Has anyone tried this scenario before? If so is there any way to invoke a simple "svn commit" over open files (using shadow copy or not) on an non-server based operating system?
>
> Thank you for any thoughts,
>
> Fernando M. A. Gomes
>

Subversion is not a backup system. Usually you would arrange for a
separate system to backup your Subversion repositories.

I can't help feeling there is a better tool out there for your use-case.

-- 
Mat Booth
Software Engineer
WANdisco, Inc.
http://www.wandisco.com
Received on 2012-07-31 11:31:42 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.