LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-14-2011, 06:43 AM   #1
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Rep: Reputation: 24
Backup Subversion server regularly - Methods?


I have grown weary of my University's restrictive environment for handling certain project and thesis work.

I currently run a server at home for mysql, apache, samba and general backup and I will expand this to run a subversion repo for my thesis and its associated code. I wish to maintain a daily backup of the entire repo on a different disc that is mounted only for the purposes of backup.

What is the most effective and complete solution to effectively mirror the repo, such that in the event of a disc failure, I can simply rsync the backup over and drop it in?
 
Old 01-14-2011, 08:27 AM   #2
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
My approach is a combination of rsnapshot and rsync.

Buy two external USB drives. Mount one on the server and use it for your rsnapshot destination. It'll incrementally hold daily/weekly/monthly backups in case of an internal drive failure.

Periodically mount the other drive and rsync a copy of your backup drive to it. Then take it off site as a last resort backup. Optionally you might want to encrypt the external drives (or at least the one you take off site) in case you lose it.

It's not the only option, you could certainly use some kind of online storage, but it does enough to put my mind at ease.

Hope that helps
 
Old 01-14-2011, 11:45 AM   #3
Gavin Harper
Member
 
Registered: Feb 2010
Location: Finland
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 24
My issue is not so much with good-backup keeping but more with subversion specific tools for dumping the repo. I have considered rsync/snapshot and have both installed but I would maybe like to explore subversion's built in methods.

Thank you, in any case for taking the time to reply!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup choices and methods ionmich SUSE / openSUSE 4 08-04-2008 05:33 AM
Make a program can collect linux command output regularly and send to a tftp server fragon Programming 2 04-07-2008 04:49 PM
Debian Server Crashes Regularly Lawrentium Linux - Server 1 10-31-2007 07:18 AM
tool to clone my hd regularly for backup reasons xomic Linux - Software 2 05-30-2007 04:18 PM
Selective backup to CDRW, or other backup methods. trekk Linux - Software 1 11-03-2003 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration