Title: Error when trying to import the generated sql
Last modified: December 18, 2017

---

# Error when trying to import the generated sql

 *  [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * (@srikat)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-trying-to-import-the-generated-sql/)
 * Got a backup sent successfully to my pCloud account.
 * I then created a local test site and tried to import backup.sql using
 * `wp db import backup.sql`
 * and got
 * > ERROR 1067 (42000) at line 38 in file: ‘/Users/sridharkatakam/Desktop/wp2-pcloud_backup_Sri-
   > 1/backup.sql’: Invalid default value for ‘comment_date’
 * Duplicator apparently has an option to get around this as mentioned [here](https://wordpress.org/support/topic/database-error-237/#post-9065646).
 * An update to the pCloud plugin to take care of this would be appreciated.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * (@srikat)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-trying-to-import-the-generated-sql/#post-9791399)
 * Actually, backup.sql was generated by some other plugin.
 * Does this plugin not generate/take a backup of the database? If so, where is 
   it stored?

Viewing 1 replies (of 1 total)

The topic ‘Error when trying to import the generated sql’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp2pcloud_67dce5.svg)
 * [Backup to pCloud](https://wordpress.org/plugins/wp2pcloud/)
 * [Support Threads](https://wordpress.org/support/plugin/wp2pcloud/)
 * [Active Topics](https://wordpress.org/support/plugin/wp2pcloud/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp2pcloud/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp2pcloud/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Sridhar Katakam](https://wordpress.org/support/users/srikat/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-trying-to-import-the-generated-sql/#post-9791399)
 * Status: not resolved