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. Support
  3. Volume Backup

Volume Backup

Scheduled Pinned Locked Moved Solved Support
volumesbackup
4 Posts 3 Posters 962 Views 3 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.
  • E Offline
    E Offline
    ekevu123
    wrote on last edited by girish
    #1

    If I install Nextcloud as an app in Cloudron but have the data on a volume, will it be backed up to a cloud provider of my choice if I use the standard Cloudron backup function for the application?

    Also, does it matter if I use either of these choices:

    • Set up the volume in Cloudron directly
    • Set up the volume as the data location for Nextcloud
    • Use the volume as an external storage in the Nextcloud settings itself

    This similar thread here (https://forum.cloudron.io/topic/6778/volumes-and-backup/9) has left some room for interpretation, let's say, but if I understood the logic correctly, then the data will be backed up if I change the app data directory.

    It's not clear to me, however, why the backup doesn't take place if I add the volume directly into Cloudron. Isn't this a sort of higher-level data directory definition for all apps?

    girishG 1 Reply Last reply
    0
    • E ekevu123

      If I install Nextcloud as an app in Cloudron but have the data on a volume, will it be backed up to a cloud provider of my choice if I use the standard Cloudron backup function for the application?

      Also, does it matter if I use either of these choices:

      • Set up the volume in Cloudron directly
      • Set up the volume as the data location for Nextcloud
      • Use the volume as an external storage in the Nextcloud settings itself

      This similar thread here (https://forum.cloudron.io/topic/6778/volumes-and-backup/9) has left some room for interpretation, let's say, but if I understood the logic correctly, then the data will be backed up if I change the app data directory.

      It's not clear to me, however, why the backup doesn't take place if I add the volume directly into Cloudron. Isn't this a sort of higher-level data directory definition for all apps?

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

      @ekevu123 In 7.2.4, we fixed a whole bunch of UX issues surrounding this.

      If I install Nextcloud as an app in Cloudron but have the data on a volume, will it be backed up to a cloud provider of my choice if I use the standard Cloudron backup function for the application?

      Yes. I assume by "data" you mean https://docs.cloudron.io/apps/#data-directory . Note that the new UI here says explicitly that any data is here is part of the backup.

      Set up the volume in Cloudron directly
      Set up the volume as the data location for Nextcloud

      The data directory setting inside nextcloud should not be changed. It's managed by packaging to always write in the container's local /app/data. Cloudron will setup this /app/data to the volume you specify and it will be part of the backup.

      Use the volume as an external storage in the Nextcloud settings itself

      External storage that you setup inside nextcloud is not part of the backup. You would do this by setting up a mount - https://docs.cloudron.io/apps/#mounts . The mount UI now explicitly says data there is not part of the backup.

      BTW, I had to point at the text because the non-english translations might not have caught up on the change.

      M 1 Reply Last reply
      0
      • girishG girish

        @ekevu123 In 7.2.4, we fixed a whole bunch of UX issues surrounding this.

        If I install Nextcloud as an app in Cloudron but have the data on a volume, will it be backed up to a cloud provider of my choice if I use the standard Cloudron backup function for the application?

        Yes. I assume by "data" you mean https://docs.cloudron.io/apps/#data-directory . Note that the new UI here says explicitly that any data is here is part of the backup.

        Set up the volume in Cloudron directly
        Set up the volume as the data location for Nextcloud

        The data directory setting inside nextcloud should not be changed. It's managed by packaging to always write in the container's local /app/data. Cloudron will setup this /app/data to the volume you specify and it will be part of the backup.

        Use the volume as an external storage in the Nextcloud settings itself

        External storage that you setup inside nextcloud is not part of the backup. You would do this by setting up a mount - https://docs.cloudron.io/apps/#mounts . The mount UI now explicitly says data there is not part of the backup.

        BTW, I had to point at the text because the non-english translations might not have caught up on the change.

        M Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by
        #3

        @girish the user might refer to a Nextcloud setup with a mounted volume as data directory which is set in Nextclouds config.php via 'datadirectory' => '/media/cloud', like I've described here - which does not backup the actual files, only Nextcloud data. Using this for months without any issues, should we worry that it will be not supported anymore at some point? 😬

        girishG 1 Reply Last reply
        0
        • M msbt

          @girish the user might refer to a Nextcloud setup with a mounted volume as data directory which is set in Nextclouds config.php via 'datadirectory' => '/media/cloud', like I've described here - which does not backup the actual files, only Nextcloud data. Using this for months without any issues, should we worry that it will be not supported anymore at some point? 😬

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

          @msbt We won't break it intentionally atleast.

          1 Reply Last reply
          1
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          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