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. How to upload/import app backup in Cloudron

How to upload/import app backup in Cloudron

Scheduled Pinned Locked Moved Solved Support
backupsimport
8 Posts 5 Posters 1.8k Views 6 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.
  • d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by girish
    #1

    So I need to long-archive some backups for a couple of apps for various reasons and so I noticed there was a newer "Download backup" option from an app backup, so I downloaded that and because it was encrypted I had to decrypt it from the documentation which worked successfully.

    2a9a05f4-3600-42b3-826b-34eb63c26dba-image.png

    However this brings me to the next portion which I don't see documented (please forgive me if I missed it though)... how does one go about restoring from a backup file on my computer's disk? Do I need to upload it to the server first and then restore as a filesystem backup for example? I didn't see a way to just select the tgz file from my local computer when trying to import a backup for example.

    Is there a documented process for uploading/importing a backup from local disk?

    My guess (but wanted to get confirmation of this from a more official stance if possible since I didn't see it documented anywhere):

    1. Download the app backup
    2. Import app backup by way of SFTP or SCP to the server
    3. Select filesystem as backup on Import Backup portion and then point to the encrypted file and enter the passphrase?

    Would love some insight please. Thank you! 🙂

    --
    Dustin Dauncey
    www.d19.ca

    robiR girishG 2 Replies Last reply
    0
    • d19dotcaD d19dotca

      So I need to long-archive some backups for a couple of apps for various reasons and so I noticed there was a newer "Download backup" option from an app backup, so I downloaded that and because it was encrypted I had to decrypt it from the documentation which worked successfully.

      2a9a05f4-3600-42b3-826b-34eb63c26dba-image.png

      However this brings me to the next portion which I don't see documented (please forgive me if I missed it though)... how does one go about restoring from a backup file on my computer's disk? Do I need to upload it to the server first and then restore as a filesystem backup for example? I didn't see a way to just select the tgz file from my local computer when trying to import a backup for example.

      Is there a documented process for uploading/importing a backup from local disk?

      My guess (but wanted to get confirmation of this from a more official stance if possible since I didn't see it documented anywhere):

      1. Download the app backup
      2. Import app backup by way of SFTP or SCP to the server
      3. Select filesystem as backup on Import Backup portion and then point to the encrypted file and enter the passphrase?

      Would love some insight please. Thank you! 🙂

      robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      @d19dotca from your description I am missing the restore options currently available described in your attempt? to import an app backup.

      Conscious tech

      1 Reply Last reply
      0
      • d19dotcaD d19dotca

        So I need to long-archive some backups for a couple of apps for various reasons and so I noticed there was a newer "Download backup" option from an app backup, so I downloaded that and because it was encrypted I had to decrypt it from the documentation which worked successfully.

        2a9a05f4-3600-42b3-826b-34eb63c26dba-image.png

        However this brings me to the next portion which I don't see documented (please forgive me if I missed it though)... how does one go about restoring from a backup file on my computer's disk? Do I need to upload it to the server first and then restore as a filesystem backup for example? I didn't see a way to just select the tgz file from my local computer when trying to import a backup for example.

        Is there a documented process for uploading/importing a backup from local disk?

        My guess (but wanted to get confirmation of this from a more official stance if possible since I didn't see it documented anywhere):

        1. Download the app backup
        2. Import app backup by way of SFTP or SCP to the server
        3. Select filesystem as backup on Import Backup portion and then point to the encrypted file and enter the passphrase?

        Would love some insight please. Thank you! 🙂

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

        @d19dotca your guess is correct. Currently, there is no way to "upload" a backup into the server via the UI. You have to scp it and then import.

        I guess we haven't added this because mostly the backups are external and you can just import directly from external backup. Is this backup on your laptop? Any reason why you cannot import it directly from external storage directly?

        scookeS d19dotcaD 2 Replies Last reply
        2
        • girishG girish

          @d19dotca your guess is correct. Currently, there is no way to "upload" a backup into the server via the UI. You have to scp it and then import.

          I guess we haven't added this because mostly the backups are external and you can just import directly from external backup. Is this backup on your laptop? Any reason why you cannot import it directly from external storage directly?

          scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #4

          @girish this probably isn't the same scenario as OP, but this would be super handy for me because I have previously changed my backup destinations due to space or finances. I've downloaded some of those backups, thinking that if need be, I could re-upload them if I ever needed them, and restore the same way as described. But being able to just choose the backup on my laptop or external USB drive from the Cloudron Restore window, and have it upload and restore, or even restore right from where it is, would be awesome.

          A life lived in fear is a life half-lived

          1 Reply Last reply
          2
          • luckowL Offline
            luckowL Offline
            luckow
            translator
            wrote on last edited by
            #5

            to bring more complexity to this topic 🙂
            I wanted to restore a backup of an app today that was deployed via a Private Docker Registry. Don't ask, but I migrated the private Docker Registry to another instance a few weeks ago. Guess what: no chance to restore the backup.
            That's not a big deal, it was just something to test. But it feels wrong when there is a label BACKUP & RESTORE and it doesn't work.

            IMHO we need to "rethink" the whole backup issue and make it clear what is possible and what is not. I am a big fan of "alerts" like

            Updates & Backups

            As the app is hosted externally, managing app updates and backups of proxied apps are outside the scope of Cloudron.

            taken from here https://docs.cloudron.io/apps/#app-proxy

            But: It is not only a question of good documentation. It's also a user interface issue. You know: Nobody reads docs 😉

            Pronouns: he/him | Primary language: German

            1 Reply Last reply
            3
            • girishG girish

              @d19dotca your guess is correct. Currently, there is no way to "upload" a backup into the server via the UI. You have to scp it and then import.

              I guess we haven't added this because mostly the backups are external and you can just import directly from external backup. Is this backup on your laptop? Any reason why you cannot import it directly from external storage directly?

              d19dotcaD Offline
              d19dotcaD Offline
              d19dotca
              wrote on last edited by
              #6

              @girish said in How to upload/import app backup in Cloudron:

              Is this backup on your laptop? Any reason why you cannot import it directly from external storage directly?

              Cloudron backs up to s3 (IDrive) nightly, but in my particular use-case recently I had three websites to "retire" so I wanted to uninstall them from the Cloudron dashboard while keeping the backups long-term which is why I chose to use the Download Backup function while trying to document a process for re-uploading the website apps (WordPress) if the client decides they need it again down the road / next year.

              Essentially for the rare occurrence where I need to remove an app for a longer period of time, it's super easy to download the app backup file directly via Cloudron however there seems to be no easy way to upload it. Is it possible to add the option to select a file via Upload from Computer instead of having to SCP it and then use the path? Would be a much better UX IMO.

              --
              Dustin Dauncey
              www.d19.ca

              girishG 1 Reply Last reply
              2
              • d19dotcaD d19dotca

                @girish said in How to upload/import app backup in Cloudron:

                Is this backup on your laptop? Any reason why you cannot import it directly from external storage directly?

                Cloudron backs up to s3 (IDrive) nightly, but in my particular use-case recently I had three websites to "retire" so I wanted to uninstall them from the Cloudron dashboard while keeping the backups long-term which is why I chose to use the Download Backup function while trying to document a process for re-uploading the website apps (WordPress) if the client decides they need it again down the road / next year.

                Essentially for the rare occurrence where I need to remove an app for a longer period of time, it's super easy to download the app backup file directly via Cloudron however there seems to be no easy way to upload it. Is it possible to add the option to select a file via Upload from Computer instead of having to SCP it and then use the path? Would be a much better UX IMO.

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

                @d19dotca said in How to upload/import app backup in Cloudron:

                Is it possible to add the option to select a file via Upload from Computer instead of having to SCP it and then use the path?

                yes, definitely. Can you make a feature request and link to this post? Quite easy to implement I think since we just need to upload a file and extract. Thanks!

                d19dotcaD 1 Reply Last reply
                4
                • d19dotcaD d19dotca referenced this topic on
                • girishG girish

                  @d19dotca said in How to upload/import app backup in Cloudron:

                  Is it possible to add the option to select a file via Upload from Computer instead of having to SCP it and then use the path?

                  yes, definitely. Can you make a feature request and link to this post? Quite easy to implement I think since we just need to upload a file and extract. Thanks!

                  d19dotcaD Offline
                  d19dotcaD Offline
                  d19dotca
                  wrote on last edited by
                  #8

                  @girish said in How to upload/import app backup in Cloudron:

                  Can you make a feature request and link to this post?

                  Filed it here: https://forum.cloudron.io/topic/8359/ability-to-import-backups-from-computer-disk-rather-than-needing-to-scp-files/1

                  --
                  Dustin Dauncey
                  www.d19.ca

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