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. Import Backup Fails in odd ways

Import Backup Fails in odd ways

Scheduled Pinned Locked Moved Solved Support
importbackup
5 Posts 3 Posters 811 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by girish
    #1

    Importing an app by exporting a backup config from cloudronA to cloudronB.

    Backups are on S3v4 + encrypted

    Importing Backup > uploading backup config saved from cloudronA.

    Access key is omitted from config save, so pasting that in, however the bug is allowing the import to continue w/o entering the enryption password.

    This causes the import to fail during the download phase.
    It's not graceful either. Can't cancel it.

    Then the Task Error from the Repair tab lets you retry it, which also fails.

    Then going back to Backups tab, one cannot do another import by uploading another backup config. The fields remain blank.

    One must completely exit the app config before one can try again.

    So two bugs possibly. The middle one shouldn't come up if the first is prevented.

    Conscious tech

    1 Reply Last reply
    0
    • girishG Do not disturb
      girishG Do not disturb
      girish
      Staff
      wrote on last edited by
      #2

      Good report. I guess we have to export in the config that a password is required and the UI needs to "require" it. @nebulon knows better than me if this is easy or not.

      As for the second issue, import should be allowed in any app state (like restore). So, that looks like a bug, will check.

      1 Reply Last reply
      0
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #3

        So, the import is indeed allowed even if the app errored out. The "retry import" is not ideal since it doesn't allow you to retry the import with a password.

        1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #4

          Correct.

          The flow could be improved further by providing a unique one-time link (via the api?) for a backup config file that one can simply paste into the destination cloudron instead of downloading and then importing a file.

          Conscious tech

          1 Reply Last reply
          0
          • nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #5

            For a start, the next version will require the user to add an encryption password if the backup config indicates that the backup is encrypted.

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