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

Re: backing up fsfs repo

From: John Rouillard <rouilj_at_renesys.com>
Date: 2006-07-05 16:27:21 CEST

On Wed, Jul 05, 2006 at 08:57:11AM -0400, Erik Hemdal wrote:
>
> On Wednesday 05 July 2006 12:16, spock@dwinner.net wrote:
> > Can anybody tell me what the implications of just doing a normal
> > backup (unix dump or tar of flat file structure) of an fsfs repo might
> > be? Is it safe, or should I still be using "svnadmin dump"?
> Using dumpfiles gives me more flexibility than a simple tar would, and it
> was easy to automate backups using dumpfiles.
>
> I did discover, though, that svnadmin dump does not seem to backup the conf
> files, nor any of my hook scripts. I don't know if this is because the dump
> ignores them or if I am doing something wrong with svnadmin dump.
>
> If there is a known and accepted way of backing these up, I would appreciate
> a pointer.

What you don't put your hook scripts under version control ;-). I do
and have a hook script automatically check them out into the
repository. That way I get the backups of the hook script in the dump.

When I restore, I just do an 'svn co' into the hooks and conf
directories in the repository.

I don't know if this is a "known and accepted" way of handling it, but
it works for me. YMMV, must be at least 18 years of age ...

-- 
				-- rouilj
John Rouillard
System Administrator
Renesys Corporation
603-643-9300 x 111
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 5 16:34:03 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.