<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">What i have done,</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">reload backup to a new mysql/postgres db (assuming a binary quick load backup)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">(delete what you don't want - optional)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">then export db using text insert ability (not a binary blob).[can't remember args for mysql/postgres off top of my head, but they are there]</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">then run it as a script based import to DB (which takes longer, but....)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">no copy and paste, just direct the insert script to the db.</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">You may have an issue if you attempt to over-write a key. (auto index key).<br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">You may want to also state the db you are using, hey maybe its msSQL :)</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small">-tl</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 11:24 PM, William Witteman via talk <span dir="ltr"><<a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a bunch of WordPress blogs sharing a database, which seemed<br>
like a good idea at the time.<br>
<br>
Now I have a bunch of posts that were overwritten at *some* time in<br>
the past by bad data, but my backups are good.<br>
<br>
My backup testing works perfectly well for complete replacement, but I<br>
don't want to do that - I want to cherry-pick for one blog of several,<br>
and only replace posts that existed in November with the same IDs in<br>
today's database, but leave everything else alone.<br>
<br>
Does anyone have any thoughts?<br>
<br>
Right now I am hoping not to have a couple of terminals open and try<br>
to manually run UPDATEs with copy-n-paste, because that seems rather<br>
error-prone.<br>
<br>
Thanks!<br>
<br>
William<br>
---<br>
Talk Mailing List<br>
<a href="mailto:talk@gtalug.org">talk@gtalug.org</a><br>
<a href="https://gtalug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">https://gtalug.org/mailman/<wbr>listinfo/talk</a><br>
</blockquote></div><br></div>