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

RE: Server configuration management with svn question

From: Tom Malia <tommalia_at_ttdsinc.com>
Date: 2007-07-13 18:46:57 CEST

If I could piggy back on this thread a little.... I've been considering
trying to use Subversion for something similar but don't know if what I what
to do is reasonable in Subversion.

I support an ERP product that installs a fairly extensive directory
structure and set of files to a server, from which many workstations then
run the programs. It is very common for the files in this directory to be
modified for a variety of different reasons. Also there are several
directories that the software itself will created delete and modify records
in as part of normal operations. Occasionally it would be extremely
convenient to be able to compare the state of the system at different points
in time and also to be able to easily revert some changes.

I think the environment is not significantly different than say the
directory structure of a moderately complex web site or web application.

Now, what I'd like to be able to do is treat the root directory of this ERP
package as a "Working Copy" with an automated process that would
periodically commit the current state of the entire directory to a
Subversion repository. Basically, what I'm looking for is to use Subversion
to provide automated incremental backups, with the added advantages of being
able to perform DIFF's on different points in time as well as provide easy
access to the repository of backups from remote locations, and easily role
back some or all changes that may have occurred.

Is this a task to which Subversion would be well suited? If so, how do I go
about "committing" all changes to the WC to the repository including
additions and deletions of files in a completely automated way? Note that I
don't think use a Subversion repository configured with WEB-DAV as the
install directory for the ERP system will be an option for a number of
different reasons.

Thanks in advance,
Tom Malia

-----Original Message-----
From: James Coleman [mailto:jamesc@dspsrv.com]
Sent: Friday, July 13, 2007 11:57 AM
To: users@subversion.tigris.org
Subject: Re: Server configuration management with svn question

Jean-Sebastien Pilon wrote:
> Hello,
> I use Subversion for managing my Linux servers configurations. I commit
> the /etc directory of each box on a repository with subfolder for each
> host.

So is your /etc/ dir on each host an actual checkedout working copy?

> I came across a problem when trying to exclude files I do not which to
> monitor/version control.

Could you give more detail on your problem and list out steps you take
when you get the problem?

> How can I add files to an exclude list (even files that are already
> added to the repository) and avoid getting the file deleted off the
> system, in case I need to delete it from the repository to exclude it
> from further commits.

To avoid them getting deleted? During an svn update?

You can add ignores so that the files will not be listed in svn status but
ignored files will be deleted in many situations.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 13 18:45:37 2007

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.