ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Administration

Backup to XML

You need to be logged in to post messages

Backup to XML

3/22/2008 2:24 AM EDT

Hello,

I would like to move my installation to a new server and I wanted to transfer the data using an XML file. The wiki says that there is a built in backup tool:
Backup & Restore
The Backup & Restore application is built on top of the Data Transfer Application explained above. There a set of Readers and Writers which read from a Centric database and store the data is an XML format in a file and then read the data from the XML file and store it in the database using a specialized writer.

Backup Process
The Backup tool is comprised of a Reader/Writer combination and uses the following in Centric CRM

org.aspcfs.apps.transfer.reader.cfsdatabasereader.CFSDatabaseReader
org.aspcfs.apps.transfer.writer.CFSXMLWriter

The CFSDatabaseReader reads all of the database records from any Centric CRM database and passes it to a Writer. The CFSXMLWriter is used in the backup process to write the records into an XML file which conforms to a particular Centric Backup File Format.

How do I use it?

Thanks,

Brian

1. 3/24/2008 11:10 AM EDT

I looked in to this a bit more and found that the community edition has a import-db.sh script in the /bin directory. Will this work on the enterprise edition? Is there anything else (besides installing ant) that I need to do to use this script?

-brian

2. 3/26/2008 1:54 PM EDT

Hi Brian,

Although the tools are available in the community version I wouldn't recommend using them on an enterprise version, since the enterprise database has tables and columns that are not contained in the community version.

If you are migrating between servers, but still using the same type of database you can use the database's own backup utilities. For instance, Postgres has pg_dump. Of course this option will not work for going from different databases, so then you may want to try the '/bin' files (modified for your environment) the two you'll need are import-db.sh and restore-db.sh. Or you can run the ant tasks directly.

2 results found