You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eric Wilhelm <ew...@sbcglobal.net> on 2004/06/17 20:30:12 UTC
svn backup scheduler
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