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

RE: full backup of repository

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2005-11-16 04:53:27 CET

Quoth Tony <mailto:tony.kruse@gmail.com>:
> Reading "Version Control with Subversion" on backing up a repository,
> it discusses using hot-backup.py for a full backup.
>
> http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.6
>
> If I want to backup my repository to burn on a CD can I just tar my
> complete repository directory?
>
> I am using SVN on Linux.

The "right" way to do it is to use svnadmin hotcopy and then tar the
copy of the repository.

If you're absolutely certain that nobody else is accessing the
repository (ie. stop any server process that's using the repository),
then you can probably get away with copying the repository directly. I
wouldn't do it on anything critical (or anything in BDB format), though.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 16 04:55:04 2005

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.