Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: SVN Nightly Backup
PostPosted: Fri Oct 07, 2005 4:17 pm 
Offline
Senior Newbie
User avatar

Joined: Thu May 12, 2005 4:38 pm
Posts: 9
Website: http://www.mylesbraithwaite.com
WLM: mylesbraithwaite@hotmail.com
Yahoo Messenger: mylesab2002
AOL: MylesAB
Location: Toronto, Ontario, Canada
I would like to know how I would back up one SVN response then send it to and email address? Similar to CVS Nightly Backup. Is this a command inside SNV or do I have to create a shell script?


Top
   
 Post subject:
PostPosted: Sun Oct 09, 2005 9:03 pm 
Offline
Senior Member

Joined: Thu Oct 30, 2003 11:27 am
Posts: 52
Website: http://www.wasteland.org/
Location: Rochester, NY
I dump mine to a dated file, but this should work to mail it:

Code:
svnadmin dump /var/lib/svn -q | mailx -s "SVN Dump for `date +%Y%m%d`" foo@bar.com


Assuming your repository is in /var/lib/svn.


Top
   
 Post subject: OT
PostPosted: Thu Oct 13, 2005 4:33 pm 
Offline
Senior Newbie

Joined: Thu Sep 22, 2005 9:15 am
Posts: 13
Website: http://www.paulmarsh.net
Hey guys,

Curious what OS you are using for SVN. I set mine up on CentOS, imported a dumped repo but trying to check it out results in segfaults each time.

I was about to post a new topic but was curious :)


Top
   
 Post subject:
PostPosted: Fri Oct 14, 2005 12:53 pm 
Offline
Senior Member

Joined: Thu Oct 30, 2003 11:27 am
Posts: 52
Website: http://www.wasteland.org/
Location: Rochester, NY
Ubuntu 5.10 here (just upgraded from 5.04), although it is on a server in my house and not on my linode. No problems with it.


Top
   
 Post subject:
PostPosted: Sun Nov 20, 2005 11:05 am 
Offline
Newbie

Joined: Sat Jul 16, 2005 9:32 am
Posts: 3
dmuench wrote:
I dump mine to a dated file, but this should work to mail it:

Code:
svnadmin dump /var/lib/svn -q | mailx -s "SVN Dump for `date +%Y%m%d`" foo@bar.com


Assuming your repository is in /var/lib/svn.


How does that deal with binary data?

Either encode it or send it as a attachment (and hence encoded) perhaps?


I suggest using gpg -ar you -e :), but then I really like gpg.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group