Editing Talk:FoolFuuka
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
mysqlchump --table 'a,b,c,etc' --connectionString "Server=127.0.0.1;Database=asagi;User Id= | mysqlchump --table 'a,b,c,etc' --connectionString "Server=127.0.0.1;Database=asagi;User Id=backup;Password=backuppassword;" --select 'SELECT `doc_id`, `media_id`, `num`, `subnum`, `thread_num`, `op`, `timestamp`, `timestamp_expired`, `preview_orig`, `preview_w`, `preview_h`, `media_filename`, `media_w`, `media_h`, `media_size`, `media_hash`, `media_orig`, `spoiler`, `deleted`, `capcode`, `email`, `name`, `trip`, `title`, `comment`, `sticky`, `locked`, `poster_hash`, `poster_country`, `exif` FROM `a` ORDER BY `doc_id` WHERE timestamp > 1574341200 AND timestamp < 1574514000 ASC ' a.sql | ||
</pre> | </pre> | ||
Line 12: | Line 12: | ||
what you do is specify the tables you want to dump, and then a templated select query | what you do is specify the tables you want to dump, and then a templated select query | ||
so instead of specifying <pre>FROM `g`</pre> in the query for example, you specify <pre>FROM `{board}`</pre> | |||
so instead of specifying <pre>FROM `g`</pre> in the query for example, you specify <pre>FROM `{ | |||
m | m | ||
and the specific where query i need dumped (of all boards) is WHERE timestamp > 1574341200 AND timestamp < 1574514000 | |||
and the specific where query i need dumped (of all boards) is | |||