[Trac] Re: Mirroring a trac site

2007-07-23 Thread Matthew Gillen

Ian P. Christian wrote:
 I would like to mirror a couple of trac sites, however I can't find
 any documentation on how to do so.  I am already mirroring over the
 SVN repositories, so I have that local.
 
 Can I just rsync over the data? I don't mind the mirror being read
 only (infact, it's prefered for simplicity).

You can, but it's not advised; you might end up with corrupted databases.
Better to do:
 trac-admin trac-env path hotcopy /backup/dir/

and then rsync the /backup/dir/.

Actually, turns out this is a FAQ (#11 in the Installing and Running
section), and has a page dedicated to it:
http://trac.edgewall.org/wiki/TracBackup

HTH,
Matt

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---



[Trac] Re: Mirroring a trac site

2007-07-23 Thread Michael Renzmann

Hi.

 You can, but it's not advised; you might end up with corrupted databases.
 Better to do:
  trac-admin trac-env path hotcopy /backup/dir/

 and then rsync the /backup/dir/.

One thing to take care of would be to disable modification permissions for
users on the mirrors. Otherwise changes done to a mirror will get lost,
which would be pretty annoying for the users at least.

I once started to work on a script that creates a set of static html pages
out of a Trac installation. It took care to remove references to the
interactive pages (such as new ticket or custom query). Unfortunately
the development stalled, but it's not off my to-do list yet, as the
problem as such (the need to mirror our trac site) still exists :)

Bye, Mike

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
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
-~--~~~~--~~--~--~---