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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Mount Struktur

Mount Struktur

Scheduled Pinned Locked Moved Feature Requests
9 Posts 5 Posters 1.6k Views 5 Watching
  • 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.
  • F Offline
    F Offline
    fisi
    wrote on last edited by
    #1

    Hallo Miteinander,

    aktuell können Volumes in den Apps nur nach "/media/{volume name}" gemountet werden.

    Für manche Apps wäre es doch sinnvoll das Ziel selbst zu bestimmen. So wäre es beispielsweise bei der Nextcloud App möglich den Storage für die Daten einfacher auszulagern. Zudem wäre es dann sinnvoll, Mounts schon beim installieren der App mit angeben zu können.

    Es stellt sich dann nur die Frage, wie Backups der Volumes gelöst werden können, denn aktuell werden Volumes nicht gesichert.

    Wie seht Ihr das?

    VG Fisi

    necrevistonnezrN BrutalBirdieB 2 Replies Last reply
    0
    • F fisi

      Hallo Miteinander,

      aktuell können Volumes in den Apps nur nach "/media/{volume name}" gemountet werden.

      Für manche Apps wäre es doch sinnvoll das Ziel selbst zu bestimmen. So wäre es beispielsweise bei der Nextcloud App möglich den Storage für die Daten einfacher auszulagern. Zudem wäre es dann sinnvoll, Mounts schon beim installieren der App mit angeben zu können.

      Es stellt sich dann nur die Frage, wie Backups der Volumes gelöst werden können, denn aktuell werden Volumes nicht gesichert.

      Wie seht Ihr das?

      VG Fisi

      necrevistonnezrN Offline
      necrevistonnezrN Offline
      necrevistonnezr
      wrote on last edited by
      #2

      @fisi Hi, since this is an english speaking forum, I believe you rather get an answer if you repeat your request in English...

      1 Reply Last reply
      1
      • F fisi

        Hallo Miteinander,

        aktuell können Volumes in den Apps nur nach "/media/{volume name}" gemountet werden.

        Für manche Apps wäre es doch sinnvoll das Ziel selbst zu bestimmen. So wäre es beispielsweise bei der Nextcloud App möglich den Storage für die Daten einfacher auszulagern. Zudem wäre es dann sinnvoll, Mounts schon beim installieren der App mit angeben zu können.

        Es stellt sich dann nur die Frage, wie Backups der Volumes gelöst werden können, denn aktuell werden Volumes nicht gesichert.

        Wie seht Ihr das?

        VG Fisi

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by BrutalBirdie
        #3

        Fast translation with https://www.deepl.com/translator no guarantee for the validity or quality.


        Hello everyone,

        currently volumes in the apps can only be mounted to "/media/{volume name}".

        For some apps it would be useful to define the target itself. For example, in the Nextcloud app it would be possible to more easily swap out the storage for the data. It would also make sense to be able to specify mounts when installing the app.

        The only question then is how backups of the volumes can be solved, because currently volumes are not backed up.

        How do you see this?

        VG Fisi

        Translated with www.DeepL.com/Translator (free version)

        Like my work? Consider donating a drink. Cheers!

        girishG 1 Reply Last reply
        1
        • BrutalBirdieB BrutalBirdie

          Fast translation with https://www.deepl.com/translator no guarantee for the validity or quality.


          Hello everyone,

          currently volumes in the apps can only be mounted to "/media/{volume name}".

          For some apps it would be useful to define the target itself. For example, in the Nextcloud app it would be possible to more easily swap out the storage for the data. It would also make sense to be able to specify mounts when installing the app.

          The only question then is how backups of the volumes can be solved, because currently volumes are not backed up.

          How do you see this?

          VG Fisi

          Translated with www.DeepL.com/Translator (free version)

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @BrutalBirdie said in Mount Struktur:

          For example, in the Nextcloud app it would be possible to more easily swap out the storage for the data

          Can you (or someone) elaborate more on this? What does it mean to swap out the storage for the data? What happens to the previous data?

          BrutalBirdieB 1 Reply Last reply
          0
          • girishG girish

            @BrutalBirdie said in Mount Struktur:

            For example, in the Nextcloud app it would be possible to more easily swap out the storage for the data

            Can you (or someone) elaborate more on this? What does it mean to swap out the storage for the data? What happens to the previous data?

            BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #5

            @girish more like hotswap.
            Extending /app/data/ with the mounted volume aka. copying all /app/data to the volume replacing /app/data with the mount.

            Like my work? Consider donating a drink. Cheers!

            girishG 1 Reply Last reply
            0
            • BrutalBirdieB BrutalBirdie

              @girish more like hotswap.
              Extending /app/data/ with the mounted volume aka. copying all /app/data to the volume replacing /app/data with the mount.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @BrutalBirdie ah ok. That's what we implemented in 7.2. The https://docs.cloudron.io/volumes/ docs have changed a bit to reflect that. See also https://docs.cloudron.io/apps/#data-directory where you can select a volume now!

              1 Reply Last reply
              3
              • F Offline
                F Offline
                fisi
                wrote on last edited by
                #7

                @girish Now it would only be helpful if the mount target can be freely selected in the container.

                1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #8

                  To give a bit more context from the support ticket, which triggered this. The idea was for apps like Nextcloud to be able to store various things from /app/data in different storage volumes, the example is:

                  volumes:

                  /home/yellowtent/appsdata/APPID:/var/www/html
                  /home/yellowtent/appsdata/APPID:/var/www/html/custom_apps
                  /home/yellowtent/appsdata/APPID:/var/www/html/config
                  /mnt/storage/data/APPID:/var/www/html/data
                  

                  Mostly I think this is not a bad idea, to have in this case nextcloud plugins/apps on a fast storage to not slow down the app, while mounting a larger slower volume for the actual data put in nextcloud.

                  Currently this is not possible, but this thread could help collect requirements for implementing this in the future.

                  1 Reply Last reply
                  5
                  • humptydumptyH humptydumpty referenced this topic on
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    This is indeed a good idea to have plugins/code in fast SSD disk instead of the "storage" disk. I guess one way is to also have multiple data directories for this (something which @MooCloud_Matt has been advocating for, but for a different use case). Mmm..

                    1 Reply Last reply
                    2
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search