[wp-hackers] Importing data programmatically

Almog Baku almog.baku at gmail.com
Wed Sep 5 04:38:41 UTC 2012


Why not to export the ״final data" in database, than backup the database.
After that, every time you want to restore it, restore the whole
database(perhaps within cron)

בתאריך יום שלישי, 4 בספטמבר 2012, Mika A Epstein כתב:

> wp-cli has an import DB command using .sql
>
> Make the DB, save it once, run the 'wp db drop' and then a 'wp db create'
> or whatever.
>
> Matt Martz wrote:
>
>>
>> Thorsten Ott, has a CLI importer: https://github.com/tott/**
>> WordPress-CLI-Importer <https://github.com/tott/WordPress-CLI-Importer>
>>
> ______________________________**_________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/**mailman/listinfo/wp-hackers<http://lists.automattic.com/mailman/listinfo/wp-hackers>
>


More information about the wp-hackers mailing list