Before starting to clone BASE you could try to reset list settings with 
File -> Reset list settings ... select memory and database in the pop-up.

BASE stores uploaded or generated files as files in the filesystem. The 
database keep tracks of file locations. There is no information in files 
needed for having a consitent database, but of course removing files may 
upset BASE since a file will be missing somewhere.

Cloning a BASE installation? Well there is no instruction for this. I 
simply do a sequence of commands on my macbook and hope the files 
generated will allow me to create a copy of my BASE server. It is a bit 
crude since I make a snapshot of all mysql dbs not only BASE dbs, but I 
only run BASE on my machine:


#!/bin/sh

BASE2TGZ=/tmp/base2.tgz
MYSQL5TGZ=/tmp/mysql5.tgz

echo Stopping tomcat
tomcatstop

mysqlctl stop

echo Backing up basefiles at /path/to/base2
cd /path/to/base2
tar zcf $BASE2TGZ base2

echo Backing up /path/to/db/mysql5
cd /path/to/db
sudo -u root tar zcf $MYSQL5TGZ mysql5

mysqlctl start

echo Starting tomcat
tomcatstart

echo Done. Backup files are located in /tmp
ls -lsh $BASE2TGZ $MYSQL5TGZ


You of course need to keep a safe copy of base.config and other 
configuration files from your BASE installation. I haven't tested a 
restore in a long time ... haven't had the need. So you better test it 
before you trust it.


Cheers,

Jari


Olivier Lefevre wrote:
> Are there instructions and/or scripts anywhere to assist with the
> cloning of a BASE2 instance or is it a use-your-brain-dude kind of
> thing? My problem is that I got a dump of a MySQL db but nothing
> else and there seem to be a lot of "dangling links" manifesting 
> themselves in red-band error messages here and there, e.g., "Item
> not found: RawDataType[id=blah]". That is not surprising since 
> BASE seems to hold a lot of stuff in files on disk rather than
> in the db but it's unclear how to go about fixing that if you
> are not familiar with BASE. It would be nice if there was a 
> fool-proof, automated procedure for cloning a BASE2 instance.
> 
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> The BASE general discussion mailing list
> [email protected]
> unsubscribe: send a mail with subject "unsubscribe" to
> [email protected]

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
The BASE general discussion mailing list
[email protected]
unsubscribe: send a mail with subject "unsubscribe" to
[email protected]

Reply via email to