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. Ability to import backups from computer disk rather than needing to SCP files

Ability to import backups from computer disk rather than needing to SCP files

Scheduled Pinned Locked Moved Feature Requests
restoreimport
14 Posts 8 Posters 1.8k Views 8 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

    It'd be awesome if we could have the ability to select a file via Upload from Computer instead of having to SCP it and then use the path on local disk. This would be a much better UX, IMO. Please consider improving this. ๐Ÿ™‚

    Currently the "Download Backup" functionality seems a little half-baked (sorry), and while that part works well but there's no way to easily import the backup downloaded previously nor is there any detailed documentation on that process.

    Use-case for why I needed to download the backup directly... I keep my backups on a weekly rotation, but recently I had to uninstall three apps to be restored likely next year. In that context I want to download the latest backup prior to uninstalling the app so that I can store it on my local computer or cloud storage provider for longer-term archival purposes. I did that thankfully easily, however that's when I noticed the import portion of the process is not very user friendly at all.

    When the time comes to re-import the application in the future, I need a way to import the backup file easily. The current implementation requires that I SCP the files to the Cloudron server's disk first and then use the Import button on an app to reinstall the files/configuration by pointing to the Cloudron disk location for the backup file. It's not a super difficult process but is far from a good user experience. It'd be ideal if we could simply do a browse on Import to our local workstation's desktop for example to point to the tgz file and Cloudron then handles the rest of the steps from there automatically for the user.


    (From the forum post I created earlier on how to import backups from a workstation/computer disk rather than the server's disk, I am creating this feature request as suggested to me by @girish.)

    --
    Dustin Dauncey
    www.d19.ca

    1 Reply Last reply
    6
    • d19dotcaD d19dotca referenced this topic on
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      Just ran into this again.. and can't find a place to put it on the local filesystem for it to actually restore.

      Even if all permissions are fixed, file is not found, heh.

      Conscious tech

      robiR 1 Reply Last reply
      1
      • robiR robi

        Just ran into this again.. and can't find a place to put it on the local filesystem for it to actually restore.

        Even if all permissions are fixed, file is not found, heh.

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

        UPDATE:

        since the filename is so long.. I missed it as it gets hidden by the width of the window and doesn't wrap.. the file not found message is because the import UI attaches .tar.gz to any file name it doesn't recognize, even .tgz

        Once the file was renamed or the extension removed, it worked.

        @girish can you add that to the list of improvements in file handling during import?

        Conscious tech

        1 Reply Last reply
        3
        • O odie referenced this topic on
        • jdaviescoatesJ Online
          jdaviescoatesJ Online
          jdaviescoates
          wrote on last edited by jdaviescoates
          #4

          I think I must've missed something, because I recently had to move a bunch of apps from one Cloudron server to another and it was really easy. I just downloaded the backup configuration file on one server and then (after installing the same version of the same app on the new server) just clicked on this import back up button, pasted in the relevant password and away it went and downloaded and installed the backup:

          image.png

          I use Cloudron with Gandi & Hetzner

          girishG 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            I think I must've missed something, because I recently had to move a bunch of apps from one Cloudron server to another and it was really easy. I just downloaded the backup configuration file on one server and then (after installing the same version of the same app on the new server) just clicked on this import back up button, pasted in the relevant password and away it went and downloaded and installed the backup:

            image.png

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

            @jdaviescoates I think some people are downloading the backup itself and not just the configuration. The download button appears only for the tgz format, so you may or may not have seen it.

            Currently, there is no way to upload this backup and import. You have to copy the backup manually to the server.

            1 Reply Last reply
            2
            • d19dotcaD Offline
              d19dotcaD Offline
              d19dotca
              wrote on last edited by
              #6

              Since thereโ€™s a lot of backup related improvements for the next release, is it possible to include this as part of that release?

              --
              Dustin Dauncey
              www.d19.ca

              1 Reply Last reply
              3
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @d19dotca Yes, let's see how much ground we can cover!

                1 Reply Last reply
                3
                • S Offline
                  S Offline
                  seeker
                  wrote on last edited by seeker
                  #8

                  Thanks @d19dotca and @girish

                  Would love to see streamlined options for Local "desktop/workstation" backups and restore process for apps and Cloudron.

                  I believe there is a large segment of non tech savvy users who want to use something like Cloudron (for instance those interested in de googling/ taking control of their data) who currently will not because backing up using buckets adds significant cost and overhead. The cost of a Cloudron license, server rental and bucket adds up quickly and for many having a manually saved backup is enough. It makes it easier to justify purchasing a Cloudron license.

                  1 Reply Last reply
                  3
                  • jdaviescoatesJ jdaviescoates referenced this topic on
                  • GengarG Offline
                    GengarG Offline
                    Gengar
                    wrote on last edited by
                    #9

                    I've just ran into the same issue, would be awesome to have this option !

                    1 Reply Last reply
                    3
                    • C Offline
                      C Offline
                      composer
                      wrote on last edited by
                      #10

                      Ok, so can someone please describe how to take apps from one to cloudron to another? I'm trying to consolidate 2 cloudrones into 1 common.
                      This is my process rn:

                      1. I download backup config from old server.
                      2. Create the same app on the new server.
                      3. Go to app settings, backup, import backup.
                      4. Select backup config, it automatically sets to Filesystem, etc.

                      When it backs up, it says it can't find the backup file:

                      File not found: /var/backups/... etc.
                      What am I doing wrong?

                      Help files are not showing the current Cloudron version anymore, it's confusing.

                      Thank you.

                      GengarG 1 Reply Last reply
                      1
                      • J Offline
                        J Offline
                        joseph
                        Staff
                        wrote on last edited by
                        #11

                        @composer the backup has to available to new server. The "config" is just a bunch of options on how to reach the actual backup. Are you using File system backup in your old server? If so, it's not possible for the new server to reach the backups... You have to copy the backup manually from one server to another using scp.

                        If you use s3 or some object storage, it's far easier. Since the new server can access the backups with just the config file.

                        1 Reply Last reply
                        1
                        • C composer

                          Ok, so can someone please describe how to take apps from one to cloudron to another? I'm trying to consolidate 2 cloudrones into 1 common.
                          This is my process rn:

                          1. I download backup config from old server.
                          2. Create the same app on the new server.
                          3. Go to app settings, backup, import backup.
                          4. Select backup config, it automatically sets to Filesystem, etc.

                          When it backs up, it says it can't find the backup file:

                          File not found: /var/backups/... etc.
                          What am I doing wrong?

                          Help files are not showing the current Cloudron version anymore, it's confusing.

                          Thank you.

                          GengarG Offline
                          GengarG Offline
                          Gengar
                          wrote on last edited by
                          #12

                          @composer I did this exact process last week.

                          For the third point, I imported it back from my S3 API compatible storage and then I've chosen the .tar backup of the app only and it restored the app correctly.

                          1 Reply Last reply
                          2
                          • robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #13

                            If you don't have S3 backups, you can install Minio from the App store, then point a backup to it from the source Cloudron. After they complete, download the config to use to restore it to the target Cloudron and it will grab them from this latest backup.

                            Once done, reconfigure your backups to how you had them before.

                            I was working on some automation for this a while back: https://forum.cloudron.io/topic/9347/how-to-automate-migrating-importing-apps-from-cloudron-to-cloudron-via-api/

                            Conscious tech

                            1 Reply Last reply
                            3
                            • C Offline
                              C Offline
                              composer
                              wrote on last edited by
                              #14

                              Yes, you are all correct, I just did Hetzner bucket w/ S3 credentials, backed up to it, and restored the apps from there. Super easy. Thank you.

                              1 Reply Last reply
                              4
                              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