GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    lainy (lain@lain.com)'s status on Sunday, 12-Feb-2023 23:54:43 JST lainy lainy
    • ilja
    • Sarvo
    • your new favourite fungus
    @ilja @sarvo @duponin i wonder if there's a way to tell pgdump to dump in a certain order (without changing the name)
    In conversation Sunday, 12-Feb-2023 23:54:43 JST from lain.com permalink
    • Embed this notice
      ilja (ilja@ilja.space)'s status on Monday, 13-Feb-2023 00:07:05 JST ilja ilja
      in reply to
      • ilja
      • Sarvo
      • your new favourite fungus
      @lain @duponin @sarvo I was also thinking for a while that maybe postgresql should be more smarter in dumping, but then I realised that this is really just a very edge-case thing, so I didn't bother filing a feature request for it.
      In conversation Monday, 13-Feb-2023 00:07:05 JST permalink
      lainy likes this.
    • Embed this notice
      ilja (ilja@ilja.space)'s status on Monday, 13-Feb-2023 00:07:09 JST ilja ilja
      in reply to
      • Sarvo
      • your new favourite fungus

      @lain @sarvo @duponin Not that I could find. What I did find is that you can pass a list with what you want to restore and in what order. But it still takes some extra steps and even with these steps added to the docs, people still just did a dump and restore like they were used to (and then understandably still complained that restoration goes super slow).

      To get the list

      pg_restore -l pleroma.pgdump > db.list

      Then find the line where the index is restored and move it. Then restore using the new list with

      sudo -Hu postgres pg_restore -L db.list -d pleroma -v -1 pleroma.pgdump
      In conversation Monday, 13-Feb-2023 00:07:09 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.