Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Move Postgresql to mounted Drive

    Support
    2
    3
    94
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      roofboard last edited by

      Is it possible to move postgres to an external xfs mount.

      I just mounted a new drive to house large things, and postgres is the largest. I would like to move it's storage location onto that XFS mount. Is that possible?

      Thanks.

      d19dotca 1 Reply Last reply Reply Quote 0
      • d19dotca
        d19dotca @roofboard last edited by

        @roofboard This should help: https://docs.cloudron.io/storage/#default-data-directory

        The databases are part of platformdata and can be moved to an external disk using the docs above.

        --
        Dustin Dauncey
        www.d19.ca

        R 1 Reply Last reply Reply Quote 0
        • R
          roofboard @d19dotca last edited by

          @d19dotca

          Thanks for that answer the guide is perfect.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB