[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: Marc Haisenko <haisenko_at_comdasys.com>
Date: 2005-11-16 10:40:39 CET

On Wednesday 16 November 2005 04:38, Tony wrote:
> 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.
> Tony

I'd rather not tar the live repository... it *should* work but there's no
guarantee. Especially if you're using BDB: say you tar it on a x86 and then
untar it on a x86-64 system it won't work.

The "official" way to do a full backup is to dump the repository with
"svnadmin dump /path/to/repository >repo.dump" (at least that's what we do).

Marc Haisenko
Comdasys AG
Rüdesheimer Straße 7
D-80686 München
Tel:   +49 (0)89 - 548 43 33 0
Fax:   +49 (0)89 - 548 43 33 29
e-mail: haisenko@comdasys.com
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 16 10:43:30 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.