Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Subversion for general purpose backup

Tags:

svn

backup

Is it possible to use Apache Subversion (SVN) as general purpose backup tool? (As a kind of rsync alternative.)

like image 755
Imran Avatar asked Sep 15 '08 05:09

Imran


People also ask

What is the purpose of an SVN Subversion repository?

Subversion is used for maintaining current and historical versions of projects. Subversion is an open source centralized version control system. It's licensed under Apache. It's also referred to as a software version and revisioning control system.

What is SVN sync?

svnsync is the Subversion remote repository mirroring tool. Put simply, it allows you to replay the revisions of one repository into another one. In any mirroring scenario, there are two repositories: the source repository, and the mirror (or “sink”) repository.


1 Answers

I found this article to be a pretty cool description of using svn to backup your home directory, and more:

I use Subversion to backup my Linux boxes. With some minor creativity, it easily covers:

  • Daily snapshots and offsite backup.
  • Easy addition and removal of files and folders.
  • Detailed tracking of file versions.

It also allows for a few bonus features:

  • Regular log emails to keep track of filesystem activity via Subversion's event hooks.
  • Users may request a checkout of their home folders from any respository revision.
  • New or replacement servers can be setup with a few svn checkout commands.

Source: http://www.mythago.net/svn_for_backup.html

Also found this article which shows an example of versioning your home directory. This allows you to bring your environment with you by checking out your home directory into a new machine. I used to do something similar and found it very useful.

like image 63
readonly Avatar answered Sep 27 '22 20:09

readonly