Avatar of bkreynolds48
bkreynolds48 asked on

Linux - subversion and nagios - how to backup?

I have subversion and nagios running on a linux system.
Do I have to shut down these two before doing a backup to tape?
If YES then how do I do that?

I have written a tar script to do the backup so don't need that info.
I just know nothing about subversion other than that is where our code is.
Version ControlLinux

Avatar of undefined
Last Comment

8/22/2022 - Mon

I have not had any issues with backing up and restoring my system while SVN and Nagios were running.

If you want to shutdown those services anyway, take a look in /etc/init.d for subversion and nagios.
Generally would shutdown a service by running /etc/init.d/subversion stop and to start you would replace stop with start.

I found the script to start/stop nagios in /etc/rc.d/init.d but found nothing for subversion.
Would it be somewhere else?

Are you saying that backup up SUBVERSION while it is open/running is OK?

You will probably wanna look for svnd rather than subversion.  Yes, we have backed up the system while SVN was running.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

I did a find and here is what came back.  Any of these the file to use to shutdown?

oot@trinity-x:~/logs# find / -name '*svnd*' -print


If I have to restore subversion after backing up with tar are there any issues?
Any parameter files or the like that needed to be included in the backup?

All the files will backup fine unless someone is using subversion at the time.  Also I believe you will want to look for svnserve for the application to stop and start.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.


Thanks.  Would there be a way to test subversion if it was restored to a different machine?
Is retrieving these file from tape all that is needed or does subversion have to be installed?
pkgadd or something on linux?  

Sorry for all the questions.  
I am the Oracle DBA - I was given the UNIX admin responsibilities when our admin quit.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question