phntxx
(bastian meissner)
2017 年 9 月 24 日午前 7:37
1
Hi,
is there any possibility of adding posts from a backup onto a working instance without replacing everything that’s already there?
fefrei
(Felix Freiberger)
2017 年 9 月 24 日午前 8:23
2
The best I can think of: Restore the backup to a temporary instance, then use this guide to export the topics you want and import them on your main install:
Need to move some stuff from one instance of Discourse to another?
There is a command line tool to export a topic, a set of topics, or an entire category, and another to import them in at the other end.
Topic Export/Import
one or more topics and their replies
the users who posted in the topic
Category Export/Import
the category and all its subcategories
its security settings
custom groups mentioned in the security settings
if any of the groups have ‘membership requests’ enable…
pfaffman
(Jay Pfaffman)
2017 年 9 月 24 日午後 12:03
3
The caveat is that the category that the topics are restored in to needs to be a new one. You can move topics around after that.
But if you mean restoring posts into an existing topic, there’s no way that I know of.
Perhaps say more about your particular situation.
phntxx
(bastian meissner)
2017 年 9 月 24 日午後 3:30
4
The post by @fefrei actually already helped me out - thanks again for that