Our backup system backs up the entire directory structure, specifically
files that have changed. To enable restore/import of the files into another
system, I use the following as the backup script, which covers us for the
repository and wiki:
backup.bat (windows batch script)
---
@echo off
d:
del /q d:\svn\backup\griffin.wiki\*.*
cd \python23\scripts
python trac-admin d:/svn/trac wiki dump d:/svn/backup/griffin.wiki
svnadmin dump d:\svn\griffin > d:\svn\backup\griffin.svn
---
However, I do not know how to backup tickets (are these kept in SVN?)
Cheers,
:D
--------------------------------------------------------------------
Daragh Fitzpatrick Daragh@UChicago.edu (773) 702-8976
Solutions Architect NSIT Administrative Systems
Renewal Projects and Architecture University of Chicago
--------------------------------------------------------------------
-----Original Message-----
From: trac-bounces@bobcat.edgewall.com
[mailto:trac-bounces@bobcat.edgewall.com] On Behalf Of Daniel Lundin
Sent: Tuesday, June 08, 2004 2:37 PM
To: trac@bobcat.edgewall.com
Subject: Re: [Trac] Backup Procedures
On Tuesday 08 June 2004 11:57 am, Stephen Hansen wrote:
> We have a great deal of fairly valuable information in our Wiki now.
> What's the backup procedure? Should I shut down Apache to ensure its
> not being accessed, then copy the entire "trac" environment?
Shutting down apache shouldn't be necessary really, especially if you're
running Trac as a cgi.
Properly backing up, involves acquiring a read-lock on the SQLite database
in the Trac environment, then simply copying the env-directory will be
sufficient.
Perhaps, trac-admin should have a 'backup' command to simplify automating
this?
--
Daniel Lundin | Edgewall Software
daniel@edgewall.com | Professional Linux & Open Source Consulting
| http://www.edgewall.com/
_______________________________________________
Trac mailing list
Trac@lists.edgewall.com
http://lists.edgewall.com/mailman/listinfo/trac