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

Re: Backing up SVN

From: Res Pons <pons32_at_hotmail.com>
Date: 2006-08-01 19:54:20 CEST

Ok just executing the command as follows caused the following error. Does
this mean I have to run it as sudo?

svnadmin hotcopy /local0/svn /local0/backup/svn --clean-logs
svnadmin: Can't open file '/local0/svn/locks/db-logs.lock': Permission

----Original Message Follows----
From: Jay Jones <jay@blueacorn.co.uk>
To: Res Pons <pons32@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: Backing up SVN
Date: Tue, 01 Aug 2006 18:14:50 +0100

Res Pons wrote:
>I'm not clear and have no clue how to add svn to our nightly tape back up.
>We simply added to the back up. But how does this work against a live
>server which is being used all day by developers and from 12-3 a.m. for
>automated builds. Is there a python or preferably Perl script that gentley
>downs the server before back up exec kicks in?
>I need to know more ore less the exact steps please. Thanks
Any reason why you're not using the SubVersion "Hot Copy" admin command:
svnadmin hotcopy c:\repos\aproject z:\backup\aproject --clean-logs

This can be used to hot-copy the database, without taking it off-line.
This could be used:
1) To hot-copy directly onto your backup media (eg. virtual tape store),
      - Preferable as less-steps is less to go wrong!
2) Or, Use as the "mirror" that your nightly tape backup archives.
      - Ensure that the the hot-copy runs well before the scheduled
      - If the hot-copy fails - you'll just be backing up old files!


Donít just search. Find. Check out the new MSN Search!

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 1 19:55:56 2006

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.