News:

Wondering if this will always be free?  See why free is better.

Main Menu

Convert from InvisionPlus DB backup only?

Started by BAlGaInTl, July 07, 2008, 11:14:51 PM

Previous topic - Next topic

BAlGaInTl

Is it possible to convert from an InvisionPlus backup only?

http://www.invisionplus.net

I won't have access to the actual install of IPB found there.  I have requested a backup of the DB however.

SleePy

It maybe be possible if InvisionPlus is similar to a regular IPB board.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

BAlGaInTl

Quote from: SleePy on July 08, 2008, 12:01:49 AM
It maybe be possible if InvisionPlus is similar to a regular IPB board.

I believe it is similar, but I won't know anything until I get the backup.  It has been a couple of days now since the request started.

How does one go about doing a DB only conversion?

Really, I only want the members and posts.  Everything else has been reconfigured manually in the new SMF forum.

ThorstenE

#3
Quote from: BAlGaInTl on July 08, 2008, 07:24:29 AM
How does one go about doing a DB only conversion?
DB only conversion is possible, but you need to emulate the conf_global.php from IPB.

the invision21_to_smf.sql for example need these vars for access to the database:
$INFO[sql_database]
$INFO[sql_tbl_prefix]

BAlGaInTl

Quote from: ThorstenE on July 08, 2008, 08:34:23 AM
Quote from: BAlGaInTl on July 08, 2008, 07:24:29 AM
How does one go about doing a DB only conversion?
DB only conversion is possible, but you need to emulate the onf_global.php from IPB.

the invision21_to_smf.sql for example need these vars for access to the database:
$INFO[sql_database]
$INFO[sql_tbl_prefix]

Is there a sample of this file somewhere to emulate?

SleePy

You just need it in a simple php file that sets those variables.

<?php
$INFO
['sql_database'] = 'database';
$INFO['sql_tbl_prefix'] = 'pefix_';
?>


This file tells the converter the name database and what its prefix is.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

BAlGaInTl

Thanks....

It looks like Invisonplus uses a modified version of the older 1.3.x series.  I will have to see how much they have modified it.  It is taking them forever to provide the backup.  You have to pay to get it, and it has been 3 days now.  What a scam.

Thanks for the input.

SleePy

BAlGaInTl,

Any information yet on the backup?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

praii

ill try to convert from ipb 2.3.x to smf now using your "method"

if its only up to:
<?php
$INFO['sql_database'] = 'database';
$INFO['sql_tbl_prefix'] = 'pefix_';
?>

it should work rather fast :P bear with me

rbbot

I just tried it and it failed because it also needed $INFO['admin_group'] to be set to the g_id of the administrators group in the IPB database. This can be found with:


select g_id from ibf_groups where g_title='Admin';


replacing 'ibf_' with your prefix.

Also, there is a typo on the original instructions - the filename for this configuration file is 'conf_global.php'

I didn't get to complete the conversion, because at this point it bombed out due to me not having read that the converter only works with smf 1.x and not 2.x beta. Where the title of this forum says "Support for the IPB converters (both versions)" I assumed that meant both versions of smf! There may be more configuration settings that I didn't get far enough for it to use.




ThorstenE

rbbot, thank you for the notes with the typo.. (fixed this)
2.x Converters are still in work, they will be relaced once SMF 2.0 Final is ready..

rbbot

I just tried again using 1.1.7 and the converter completed successfully, except for a lot of warnings about not being able to find attachments or avatars.

ThorstenE

can you post your errors and the pathes to IPB attachments and IPB avatars  here please? I think the pathes from avatars and attachments are different in your IPB version.

rbbot

It's not a problem. Well - only a problem that it spams the conversion screen with warnings rather than reporting the issue once.

This whole topic is about converting when you are installing SMF on a new server, and only have a database backup restored from the IPB server. Therefore, anything on the filesystem like attachments and avatars is going to fail.


Shan2

hi, i have a same problem with BAlGaInTl

i have my backup but this make me confuse..

i want to convert my db, the most important is member and posting.

can anybody help me step by step ?

what would i do ?

do i must install a new ipb 1.3 n restore my db ?

or i just install a new smf n import my db from ipb ?

i really confuse..

i want to use smf 1.1.7 from fantastico and then update to 1.1.8

can someone help me please ...

Advertisement: