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. Nextcloud and volumes: Backup

Nextcloud and volumes: Backup

Scheduled Pinned Locked Moved Solved Support
awscloudronnextcloudbackupvolume
3 Posts 2 Posters 577 Views 2 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.
  • nottheendN Offline
    nottheendN Offline
    nottheend
    wrote on last edited by girish
    #1

    Is the Nextcloud data backuped being on an mounted volume?

    Having the following setup:

    • Nextcloud installed as app
    • mounted an (AWS) EFS volume in the Cloudron instance
    • selected this EFS volume for the Nextcloud Apps data

    As shown in the "Mounts" section screenshot, it is written that "data is not included in the app's backup".
    However, in the upper part of the Screenshot in the "Data Directory" section, it is written "any data here is part of the app's backup".

    The reason why I use EFS is the "unlimited growth" capacity.

    Additional info: I mounted S3 in the Nextcloud instance (from the Nextcloud interface itself) and I am wondering if there would be any issues if I need to restore the Nextcloud app in terms of accessing the EFS volume from Cloudron and even further with the S3 external storage.

    Screenshot Storage of Nextcloud App

    I also read this thread, but I am not really getting the point: https://forum.cloudron.io/topic/6778/volumes-and-backup

    girishG 1 Reply Last reply
    1
    • nottheendN nottheend

      Is the Nextcloud data backuped being on an mounted volume?

      Having the following setup:

      • Nextcloud installed as app
      • mounted an (AWS) EFS volume in the Cloudron instance
      • selected this EFS volume for the Nextcloud Apps data

      As shown in the "Mounts" section screenshot, it is written that "data is not included in the app's backup".
      However, in the upper part of the Screenshot in the "Data Directory" section, it is written "any data here is part of the app's backup".

      The reason why I use EFS is the "unlimited growth" capacity.

      Additional info: I mounted S3 in the Nextcloud instance (from the Nextcloud interface itself) and I am wondering if there would be any issues if I need to restore the Nextcloud app in terms of accessing the EFS volume from Cloudron and even further with the S3 external storage.

      Screenshot Storage of Nextcloud App

      I also read this thread, but I am not really getting the point: https://forum.cloudron.io/topic/6778/volumes-and-backup

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

      @nottheend think of Data Directory as an app's primary storage. The app cannot even start without this storage. This is part of the app's backup.

      Mounts are like additional storage devices attached to the app. These can come and go. This is not part of app' backup. Think of this as having lots of media like music, movies etc which generally is in some external storage disk and you don't want this backed up.

      In your setup above:

      • EFS/nextcloud is part of the app's backup.
      • EFS is also added as a mount. This is most likely not needed, unless you have some data in EFS/stuff or something you want to access inside nextcloud. You can remove this.

      Additional info: I mounted S3 in the Nextcloud instance (from the Nextcloud interface itself) and I am wondering if there would be any issues if I need to restore the Nextcloud app in terms of accessing the EFS volume from Cloudron and even further with the S3 external storage.

      When you add things in S3 (which is added via nextcloud), the files in S3 won't be part of the backup.

      This is a bit nextcloud specific, but the files you see in the main UI of nextcloud, is stored in the "data directory". So, if you deleted a file here and you had a Cloudron backup in the past, you can restore nextcloud and the file will reappear since it was part of the backup.

      Now, if you delete a file in S3 via nextcloud, there is no rollback. Cloudron has no idea about the file and neither nextcloud nor S3 is backing up files. If you delete the S3 file, it's gone forever unless you make some mechanism with S3 retention rules etc to get back those files.

      Inside nextcloud, you also have 'External Storage' feature, this is similar to S3 behavior. If you delete things in that storage, it's not backed up anywhere. It's gone unless you have some mechanism.

      1 Reply Last reply
      1
      • nottheendN Offline
        nottheendN Offline
        nottheend
        wrote on last edited by
        #3

        Great! Thank you so much for the detailed and helpful answer 🙏

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