You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tony <to...@gmail.com> on 2005/11/16 03:38:31 UTC
full backup of repository
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
Re: full backup of repository
Posted by Marc Haisenko <ha...@comdasys.com>.
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
http://www.comdasys.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: full backup of repository
Posted by Gavin Lambert <ga...@compacsort.com>.
Quoth Tony <ma...@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