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
bkreynolds48

8/22/2022 - Mon
tommy13v

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.
ASKER
bkreynolds48

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?
tommy13v

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
ASKER
bkreynolds48

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
/root/software/subversion-1.4.6/notes/svndiff
/root/software/subversion-1.4.6/packages/windows-innosetup/tools/mk_svndoc.pl
/root/software/subversion-1.4.6/subversion/tests/libsvn_delta/.libs/svndiff-test
/root/software/subversion-1.4.6/subversion/tests/libsvn_delta/svndiff-test.c
/root/software/subversion-1.4.6/subversion/tests/libsvn_delta/svndiff-test.o
/root/software/subversion-1.4.6/subversion/tests/libsvn_delta/svndiff-test
/root/software/subversion-1.4.6/subversion/libsvn_delta/.libs/svndiff.o
/root/software/subversion-1.4.6/subversion/libsvn_delta/svndiff.lo
/root/software/subversion-1.4.6/subversion/libsvn_delta/svndiff.o
/root/software/subversion-1.4.6/subversion/libsvn_delta/svndiff.c
/root/software/subversion-1.4.6/subversion/svndumpfilter
/root/software/subversion-1.4.6/subversion/svndumpfilter/.libs/svndumpfilter
/root/software/subversion-1.4.6/subversion/svndumpfilter/svndumpfilter.1
/root/software/subversion-1.4.6/subversion/svndumpfilter/svndumpfilter
/usr/local/bin/svndumpfilter
/usr/local/man/man1/svndumpfilter.1
/usr/bin/svndumpfilter
/usr/man/man1/svndumpfilter.1.gz

Thanks
ASKER
bkreynolds48

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?
tommy13v

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.
ASKER
bkreynolds48

tommy13v,

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.
ASKER CERTIFIED SOLUTION
tommy13v

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
or
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
ASKER
bkreynolds48

Thanks