> 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. The archives are sent to a remote host using either SCP (for
Unix hosts) or smbclient (for Windows hosts). Note that the cron job
could be replaced with a mail+SMTP script to trigger the backup as
soon as a revision is created.

You can find the scripts from here:
http://eire.dyndns.org/svn/bosque/vendor/trac-backup

Cheers,
Manu

--~--~---------~--~----~------------~-------~--~----~
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