> > > I recently had to migrate around 20 Trac projects from one 
> > > server to another for work. My process there was just to
> > > tarball the whole lot of them and scp them to a new server.
> > > However, that was on Unix (much better command-line tools
> > > than Windows) and using SQLite DBs, so your mileage may vary.
> > >
> > > - Josh
> > > -- www.oxideinteractive.com.au
> > 
> > On 3/8/2010 9:31 PM, Kiesel wrote:
> > Hi Josh,
> > didnt you have to do some backup, using the trac-admin script?
> > Otherwise im wondering how you got the information residing 
> > in your sql databse to the new system.
> > /David
> >
> -----Original Message-----
> From: [email protected] On Behalf Of Josh Godsiff
> Sent: 04 August 2010 02:43
> To: [email protected]
> Subject: Re: [Trac] How to move an existing and running trac 
> to a new server
> 
> SQLite DBs exist as straight files on the filesystem, and 
> reside within the project folder - subsequently, tar-balling
> the directory also grabs the database.
> 
> - Josh
> 
I use this idea for our backup strategy.  Words of caution follow:

Make sure that trac (and any dB process) is shutdown (I stop the apache
and postgreSQL processes) first to make sure the files are consistent.

Make sure that your restore target is as identical as possible ~ same
version of OS, dB, trac etc installed.  There are always potential
issues with just moving data around as the app versions may change how
they handle/store/whatever that data.

For us, the restore target will be a backup image of the VM (low
traffic) so I consider a file level backup easy and quick.

You do need to know where the database files are, Josh indicates the
SQLite ones are in the trac environment tree.  I use PostgreSQL but I
set it up and know where the files are (and it is only used for our Trac
dBs)...

~ mark c

P.S. oh, and I do this on Windows which is not as backwards with such
tools these days as some people think...

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