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

    Solved mount app backups?

    Support
    backups
    3
    9
    223
    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.
    • P
      perler last edited by girish

      Is there a way to mount/browse backups?

      This would be helpful in a scenario where you delete a file and want to restore a backup from before deletion without re-installing a whole app.

      nebulon 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @perler last edited by girish

        @perler Providing a way to browse and decrypt backups via Cloudron dashboard itself would be a security issue. Because if one gains access to the dashboard somehow, they can now delete the backups also. This is the reason we have avoided building this.

        As for browsing, where are your backups hosted? For example, if you use any of the object storages, you can use rclone to mount it on your PC/laptop. Then you can use the Cloudron CLI tool to decrypt filenames and backups - https://docs.cloudron.io/guides/decrypt-backups/

        P 1 Reply Last reply Reply Quote 3
        • nebulon
          nebulon Staff @perler last edited by

          @perler if you use the rsync backup method, you usually can use the backup storage provider UI to browse the files. Otherwise we currently don't have any backup browser as such, so you would have to restore that specific app one-by-one going back in time with the restore until you hit a backup containing that file.

          P 1 Reply Last reply Reply Quote 0
          • P
            perler @nebulon last edited by

            @nebulon ok, but as we have encrypted backups, is there a way to manually decrypt them for browsing?

            also, are these backups incremental? (the app backups mainly)

            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @perler last edited by

              @perler if they are encrypted, then there is no easy way to decrypt them. The rsync ones are incremental, tarball is not. I think the easiest way is to just go into the backups tab in that app's configure screen in your Cloudron dashboard and just restore those one-by-one.

              P 1 Reply Last reply Reply Quote 0
              • P
                perler @nebulon last edited by

                @nebulon unfortunately, that's not really practical as this would loose the current state of the app.

                we will maintain quite large nextcloud installations and requests for "can you please restore file A as I deleted it by mistake (and cleared the trashbin)" will happen. mh..

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @perler last edited by girish

                  @perler Providing a way to browse and decrypt backups via Cloudron dashboard itself would be a security issue. Because if one gains access to the dashboard somehow, they can now delete the backups also. This is the reason we have avoided building this.

                  As for browsing, where are your backups hosted? For example, if you use any of the object storages, you can use rclone to mount it on your PC/laptop. Then you can use the Cloudron CLI tool to decrypt filenames and backups - https://docs.cloudron.io/guides/decrypt-backups/

                  P 1 Reply Last reply Reply Quote 3
                  • P
                    perler @girish last edited by

                    @girish ok, I see and understand the reasoning and for now I think we will be fine.

                    But I wonder why there shouldn't be a read-only facility to restore single files. On other systems we use duplicacy/duplicati and this works quite well there.

                    girish 1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @perler last edited by

                      @perler said in mount app backups?:

                      But I wonder why there shouldn't be a read-only facility to restore single files.

                      No reason not to have a readonly browser as such, if we can implement it securely. Can you raise a feature request at https://forum.cloudron.io/category/97/feature-requests ? Thanks!

                      P 1 Reply Last reply Reply Quote 0
                      • Topic has been marked as a question  girish girish 
                      • Topic has been marked as solved  girish girish 
                      • P
                        perler @girish last edited by

                        @girish done

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