Skip to content

Commit 390159c

Browse files
committed
Regenerate README file
1 parent d9cf0ab commit 390159c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,14 @@ Runs `mysqldump` utility using `DB_HOST`, `DB_NAME`, `DB_USER` and
384384
$ wp db export --tables=$(wp db tables --all-tables-with-prefix --format=csv)
385385
Success: Exported to 'wordpress_dbase-db72bb5.sql'.
386386

387+
# Export certain posts without create table statements
388+
$ wp db export --no-create-info=true --tables=wp_posts --where="ID in (100,101,102)"
389+
Success: Exported to 'wordpress_dbase-db72bb5.sql'.
390+
391+
# Export relating meta for certain posts without create table statements
392+
$ wp db export --no-create-info=true --tables=wp_postmeta --where="post_id in (100,101,102)"
393+
Success: Exported to 'wordpress_dbase-db72bb5.sql'.
394+
387395
# Skip certain tables from the exported database
388396
$ wp db export --exclude_tables=wp_options,wp_users
389397
Success: Exported to 'wordpress_dbase-db72bb5.sql'.

0 commit comments

Comments
 (0)