RSS

SVN Backup Commands

16 Sep

#!/bin/bash

echo “+++ Backing up subversion repositories”
NOW=`date +”%OH%M%S”`
cd backup
mkdir -p $NOW
svnadmin dump /srv/svn/repos > $NOW/dumpfile.txt
tar cfpz $NOW.tgz $NOW .
rm -rf $NOW
echo “+++ Svn Backup Successfully Completed. Thank you”

http://bash.cyberciti.biz/backup/copy-all-local-files-to-remote-ftp-server-2/

Advertisements
 
Leave a comment

Posted by on September 16, 2009 in subversion

 

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: