Moving a SVN (subversion) Repository

July 8th, 2008

On your old server, create a dump file using the following command:
svnadmin dump /path/to/repository > reponame.dmp

On your new SVN Server create a new repository:
svnadmin create MyProjects

Copy the dump file onto the new server and run the following command
svnadmin load MyProjects< reponame.dmp

Subversion (SVN) Unable to Commit

June 30th, 2008

After creating a new SVN repository I was unable to commit or create folders.  I received the following error message: “Can’t created directory” …  “permission denied”

The problem was the svn folder did not have write access for the group.  This was solved by applying the write permission for the group.

Subversion (SVN) Unable to Commit

June 30th, 2008

After creating a new SVN repository I was unable to commit or create folders.  I received the following error message: “Can’t created directory” …  “permission denied”

The problem was the svn folder did not have write access for the group.  This was solved by applying the write permission for the group.

Grep Notes

June 25th, 2008

Show lines containing “127.0″
cat access.log.1 | grep “127.0″

Show all lines NOT containing “127.0″
cat access.log.1 | grep -v “127.0″

Show all lines containing a # (Nice for reading config files)

cat main.cf | grep -v ^#

Show config files AND no empty lines
cat main.cf | grep -v ^# | grep -v ^$

Manually adding a line to the syslog

May 30th, 2008

echo “Test!” | logger

check the manual for “logger” for more information and switches:  (man logger)