[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: Bo Berglund <bo.berglund_at_gmail.com>
Date: Sun, 07 Apr 2019 22:27:45 +0200

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?

I am not really used to Linux, the settings for different programs
seem to be stored in such diverse places....

-- 
Bo Berglund
Developer in Sweden
Received on 2019-04-07 22:28:08 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.