1. Home
  2. Docs
  3. wpDiscuz 5 Documentation
  4. Privacy and GDPR
  5. Right to data portability
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Right to data portability

The right to data portability allows individuals to obtain and reuse their personal data for their own purposes across different services. It allows them to move, copy or transfer personal data easily from one IT environment to another in a safe and secure way, without hindrance to usability (Article 20).

The right to data portability only applies:

  • to personal data an individual has provided to website;
  • where the processing is based on the individual’s consent or for the performance of a contract; and
  • when processing is carried out by automated means.

Export Data with phpMyAdmin

phpMyAdmin is a free database manager tool available in almost all hosting services. Using this tool you can execute SQL commands described below to export user specific data from your website. More info about phpMyAdmin: https://www.google.com/search?q=what+is+phpMyAdmin

1. Export User Personal Data

Step 1.1 – Find UserID you want to export. Search the user by name or email in Dashboard > Users admin page. Edit the the user and find the ID in browser address bar URL: https : // example.com /wp-admin/user-edit.php?user_id=4931&wp_http_referer…

Note: the 4913 is just an example, please don’t use this, unless this really matches to the user id you’re exporting!

Step 1.2 – Export data from wp_users table

Open phpMyAdmin of your hosting service, navigate to your website database, click on SQL tab and execute the SQL command below (please make sure the red marked table prefix wp_ matches your database table prefix, if it doesn’t please change it). Replace X with the User ID you found in Step 1.1

SELECT * FROM `wp_users` WHERE `ID` = X 

Click on Export button below:

Select the export file format and export user data to your local computer.

Step 1.3 – Export data from wp_usermeta table

Please follow to exact the same instruction mentioned in Step 1.2, just change the SQL command to this:

SELECT * FROM `wp_usermeta` WHERE `user_id` = X

Replace X with the User ID you found in Step 1.1 . Check the exported result and make sure you don’t provide confidential information, which is not related to the user. You should always check the exported content before providing it to user.

Important: We can’t guarantee that this SQL command only exports user specific data. The wp_usermeta table is used by many plugins and other plugins may store non-user specific and confidential data.

2. Export User Comments

Export data from wp_comments table

Please follow to exact the same instruction mentioned in Step 1.2, just change the SQL command to this:

SELECT * FROM `wp_comments` WHERE `user_id` = X

Replace X with the User ID you found in Step 1.1 . Check the exported result and make sure you don’t provide confidential information, which is not related to the user. You should always check the exported content before providing it to user.

You can also export comments based on comment author email using the following SQL command:

SELECT * FROM `wp_comments` WHERE `comment_author_email` = 'author@example.com'

 

Was this article helpful to you? Yes 6 No