Forum: Radiant CMS How to dump and reload?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
8270a373485baab4701a735cb4cd174b?d=identicon&s=25 Anton J Aylward (Guest)
on 2007-02-02 17:47
(Received via mailing list)
This is really a Rails question, I suppose, but in context its a Radiant

John graciously supplied us with a script
that preloaded some templates, snippets and pages.

Its not quite a Rake task, but ...
it does load content from YAML files.

Now Rake out of the box can dump and load the schema and dump the
structure to a SQL file.

But what I need to do is dump a Sqlite3 database and restore a MySQL

Its like this:

I've put together a small site for a local club (aka non-profit) which
about 100 members.  The idea is that the 'board' can keep it up to date
since the kid who volunteered to run the site for them has fallen down
the job.

I've run up a demo on my laptop and they are happy with that.
I now have to put up the live site on an ISP.

This means dumping the content of the database on my laptop (Sq lite3)
restoring it on the ISPs server (MySQL)

I'm a little surprised that Rails doesn't have this.  Or am I mistaken?
What I've found on the web tells me it isn't.

I did find code that has different patches for Sqlite, MySQL and
but doesn't work with Sqlite3.

Am I missing something 'cos I'm not a RoR coder?  I would have thought
a common and obvious task.

Never criticise somebody until you have walked a mile in their shoes.
That way, they're a mile away, and you have their shoes.
140c065a9604b5321768cbe02e91ef30?d=identicon&s=25 Anton Aylward (Guest)
on 2007-02-14 02:26
(Received via mailing list)
I have a site developed on my laptop with Mental
The two markup extensions are there in code and body and work.

I deploy to a server via FTP.
Now the markup isn't happening.
The code is still there under /vendor/extensions

Running script/console tells me the extensions_meta table is there and
entries the same as on the laptop, but the rendering isn't happening.

In admin mode on the server the 'extensions' tab shows noting - which I
a problem reconciling.

Pressing 'update' causes a crash.

The code was FTP'd across from the laptop to the server.

Oh.  The other thing.  The "pages/snippets/templates" tabs are missing.


The plot was designed in a light vein that somehow became varicose.
    -- David Lardner
This topic is locked and can not be replied to.