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

Re: My server crashed during update, how to handle svn repositories on new installation?

From: Mark Phippard <markphip_at_gmail.com>
Date: Sun, 7 Apr 2019 18:10:45 -0400

> On Apr 7, 2019, at 4:27 PM, Bo Berglund <bo.berglund_at_gmail.com> wrote:
>
> On Sun, 7 Apr 2019 11:27:19 -0400, Mark Phippard <markphip_at_gmail.com>
> wrote:
>
>> If you have a tar or other backup you ought to be fine once they are restored.
>> You just need to make sure the permissions on the files are set properly once
>> you restore. For example, you do not want them owned by root or something.
>> So just chown -R the whole thing to the user:group that you run your svnsync
>> process as and you should be fine.
>
> Thanks,
> I have just done the tar-ing of the different repositories in
> /var/lib/svn. There are 11 of them. When I tar the directories doesn't
> then the Linux permissions also get copied into the tar file?
> I use
> sudo tar -czf svn_reponame.tgz /var/lib/svn/reponame
> to do this from a rescue terminal on the not quite dead server.
> Then I have copied these tgz files over to a USB thumb drive too.
> They are a total of 5.4 GB in size.
>
> Where are the svn configurations saved such that I can apply these as
> well when I eventually re-install subversion?
> Basically, what settings do I need to find and back up so I can
> restore the exact same server after Ubuntu has been re-installed?

There is no absolute answer because it is possible to store them anywhere, but if you are talking about Apache configuration, the standard location would be in /etc/httpd

Mark
Received on 2019-04-08 00:10:51 CEST

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.