On Tue, Nov 20, 2007 at 04:34:45PM +0100, Emmanuel Blot wrote:
> 
> > How have you implemented 2/. This sounds rather interesting...
> 
> The svn post-commit hook script, once Trac has been updated, creates
> an 'event' file in a dedicated directory. This file is named after the
> revision number. A cron job is scheduled to run every 5 minutes and
> scan this special dir for event files. If one or more files are found,
> it triggers a svnadmin dump command to create one archive for each new
> revision.

I name my full backups (created once a week) with the revision number.
>From a daily cron job, I do a "svnlook youngest" to get the latest
revision. The rest is easy: if the actual revision number is greater than
the backup name, do a "svnadmin dump --revision OLD:NEW --incremental".

Rainer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to