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

Re: Where are the files stored

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-23 02:30:17 CET

On Jan 22, 2007, at 19:22, Jim Mace wrote:

> I am new to using and setting up subversion. I finally got everything
> installed and running on my Windows Server 2003 box. I have created a
> couple of repositories, and imported my projects. Now, where are
> those
> files actually located? Are they still kept in the directory that I
> imported from, or somewhere else? I just want to set up system
> backups so
> that I do not lose anything.

They are stored in a database. Be sure to back up that database so
you don't lose your repository. Wherever you "svnadmin create"d your
repository, that's the database.

Backing up your repository is discussed in the book at http://
svnbook.org . If you use a BerkeleyDB repository, you need to use the
"hot backup" script to make a backup. For an FSFS repository (the
default since Subversion 1.2.0) I don't believe that's strictly
necessary -- you can just copy the repository directory -- but a hot
backup wouldn't hurt either.

As an alternative to the hot backup strategy (or in addition to it),
you can also "svnadmin dump" the contents of your repository to a
text file. Note that this does not include any configuration changes
you've made in the repository, any hook scripts, or any locks.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 23 02:30:46 2007

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.