[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn backup scheduler

From: Eric Wilhelm <ewilhelm_at_sbcglobal.net>
Date: 2004-06-17 22:30:12 CEST

Hi all,

I've written a scheduler which allows you to run/control various types of
backups based on the revision number and a simple config setup.

http://ericwilhelm.homeip.net/ (scroll to the bottom)

Basically, you can have incremental dump backups, full dump backups, and
hotcopy backups scheduled at different revision intervals. You can also set
it to not run incrementals while running dumps and etc.

A sample config file:

--- #YAML:1.0
full: 50s
hot: 10s+1
inc: 5s!50s

This runs full dumps at every 50 revisions, hotcopys at 11,21,31... and
incrementals at 5,10,15,...,40,45,55,60,...

Setup of the backup scripts and directories is required, so read the plan
before you get started.

It will work with multiple repositories, but assumes that they are rooted at
the same place, so you might have to use symlinks to bring everything
together.

I'm running this on Linux with perl5. You'll need the YAML module for reading
the schedule file. Don't ask me about windows (but try it if you want.)

No support for removing old backups yet, so watch your disk space!

There's also an inc_backup program in that directory that you may or may not
want to use. It is able to operate independently from the scheduler and
vice-versa.

Let me know if you have any comments or suggestions.

--Eric

-- 
Peer's Law: The solution to the problem changes the problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 17 22:29:47 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.