You are here:  » database backup/restore for extra fields

Support Forum



database backup/restore for extra fields

Submitted by don_load on Thu, 2010-10-28 15:44 in

Hi David,

Was just checking the database backup/restore utility and noticed it doesn't seem to pick up on any extra import fields added to the tables. Where would I need to add those fields for the backup/restore to use them?

thanks

J

Submitted by support on Fri, 2010-10-29 08:09

Hi,

For the latest distribution, the Database Tool should automatically pick up extra fields from the $config_fieldSet array, otherwise, for use with the original distribution look for the following code starting at line 37 in admin/database_tool.php:

    $fields["feeds"][] = "field_name";
    $fields["feeds"][] = "field_description";
    $fields["feeds"][] = "field_image_url";
    $fields["feeds"][] = "field_buy_url";
    $fields["feeds"][] = "field_price";
    $fields["feeds"][] = "field_category";
    $fields["feeds"][] = "field_brand";

...and simply copy / extend the array for any additional fields you have added, for example:

    $fields["feeds"][] = "field_shipping";

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by don_load on Fri, 2010-10-29 12:11

I've got 11/09A, thats the latest isn't it?

Can't find any mention of the fieldset array in database_tool.php

regards,
Jay

Submitted by support on Fri, 2010-10-29 13:01

Hi Jay,

Should be lines 30-33 - reference to $config_fieldSet...

I'll email you the latest distribution version also.

Cheers,
David.
--
PriceTapestry.com