Title: Automatic export
Last modified: March 28, 2017

---

# Automatic export

 *  Resolved [stefania_it](https://wordpress.org/support/users/stefania_it/)
 * (@stefania_it)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/)
 * Is there the possibility to automatically export the CSV of the database and 
   send the file to a particular email address or to a specific location of the 
   site itself?
    -  This topic was modified 9 years ago by [stefania_it](https://wordpress.org/support/users/stefania_it/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Matt](https://wordpress.org/support/users/mdykhouse/)
 * (@mdykhouse)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8967473)
 * I second that 🙂
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8970836)
 * it’s an interesting idea,but I don’t have plans to make something like this possible
   within the plugin.
 * It is possible to set up something like this on your server. You may need to 
   get the help of your web host to write a short script to export the content of
   the main Participants Database table and email it. The data will be raw, however,
   so depending on what you want to do with it, you may need further processing 
   to make it usable.
 *  Thread Starter [stefania_it](https://wordpress.org/support/users/stefania_it/)
 * (@stefania_it)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8974429)
 * Thanks [@xnau](https://wordpress.org/support/users/xnau/).
    I was thinking about
   doing that but I didn’t find where the data is saved. Could you help me? Thanks.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8975594)
 * The records are stored in a separate database table in your WordPress database.
   It’s usually named “wp_participants_database” but the “wp_” part could be different
   in your case.
 *  Thread Starter [stefania_it](https://wordpress.org/support/users/stefania_it/)
 * (@stefania_it)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8975707)
 * Great,
    thanks!
 *  [Moogie17](https://wordpress.org/support/users/moogie17/)
 * (@moogie17)
 * [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8979356)
 * stefania_it, I thought you might be interested to hear what I’ve been working
   on to automate imports of CSV data. I know you want to automate exports but that
   may also be possible (and is the next thing I need to work on, so I do hope it
   is!).
 * I’ve been putting together a PHP cURL script which logs in to the wordpress admin
   panel and POSTs the necessary data & file to the PdB CSV import page, allowing
   PdB to take care of the import itself. The script could then be run on a cron
   and stored in a protected directory or possibly above the web root, to keep the
   login details safe.
 * I haven’t started to play with the export automation yet, so will need to figure
   out how/if it is possible to get the file to save to the server (from where it
   can then be emailed or whatever) rather than the download prompt. Hopefully the
   file will be returned to the cURL script and can simply be handled from there,
   but I’m not very familiar with cURL yet so this is a wild guess!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Automatic export’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [csv](https://wordpress.org/support/topic-tag/csv/)

 * 6 replies
 * 4 participants
 * Last reply from: [Moogie17](https://wordpress.org/support/users/moogie17/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/automatic-export/#post-8979356)
 * Status: resolved