subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Mikesell <lesmikes...@gmail.com>
Subject Re: how to backup repository with all history?
Date Tue, 10 Feb 2015 15:49:20 GMT
On Mon, Feb 9, 2015 at 10:25 PM, James <oldyoungguy88@yahoo.com> wrote:
> I have few repositories in my svn-root directory.
> I have put a conf folder at the same level as other repositories. that conf
> folder contains a authz and a passwd file which are shared by all
> repositories. By doing this I can setup users and their privilege in one
> place. But because of this conf folder, I cannot do hotcopy automatically. I
> am thinking just tar all of them daily.
>
> My purpose of backup is just in case my machine die. So how big the
> difference will be for my tar approach and the hotcopy?

If you are sure that no changes can happen during the tar run, that
should be fine - or rsync to another system might be more efficient.
But with any backup approach you need to understand that you can't
continue to use existing working copies that might have newer
revisions than the restored backup. You would have to check out a
fresh copy, then copy over any new work you want to keep from the old
working copy and commit again.

And yet another alternative if you have another system to hold the
data (and it's not much of a backup if you don't...) would be to
svnsync each repository and rsync your common config.

-- 
   Les Mikesell
     lesmikesell@gmail.com

Mime
View raw message