> I'm thinking a quicker process would be to have the post-commit hook
> only trigger an incremental backup, to a file whose name is based on
> the revision number, stored in a directory "incremental". Then do a
> nightly full dump, when the server is less busy, by getting the HEAD
> revision (svnlook youngest); dumping everything up to that revision
> into a file whose name is based on that revision, stored in a
> directory "full"; deleting the now-superfluous incrementals up to
> that revision; and deleting the older full dumps, possibly leaving
> the last couple as additional safeguards.
This sounds good, mine was a quick hack... and like I said, the
repository I am using it in doesn't have that much commit traffic, so no
one notices the performance issue.
Does subversion already come with such backup script? Maybe we should
submit these scripts back, I think some others may find it helpful...
where would I submit it to?
Josh Kuo <email@example.com>
Received on Thu Feb 9 00:18:38 2006