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

    Unsolved Cannot import app backup from other cloudron

    Support
    2
    5
    293
    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.
    • G
      guyds last edited by

      I'm trying to import an app backup from one server into another. The app is wordpress and the backups are stored on an sshfs backend.

      First of all I noticed there is no sshfs storage provider available on the "import backup" screen on the new cloudron.
      So I exported the app's backup config json file on the old cloudron and upload that file on the new one.
      Unfortunately that doesn't work either because it's giving the following error:

      Error : External Error - Error loading fsmetadata.json:ENOENT: no such file or directory, open '/home/yellowtent/appsdata/e6c7c611-a2ed-4b1b-8456-f3d95729ad40/fsmetadata.json'
      

      So 2 issues here:

      • sshfs provider is missing
      • import from backup config gives error
      nebulon 1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff @guyds last edited by

        @guyds indeed, the logic behind the mountpoint backup storages is more complex and is not yet supported by the app import.

        You have to fallback to the filesystem provider and place all the files from the backup into a custom folder on the new system, then fill out that form accordingly.

        G 1 Reply Last reply Reply Quote 0
        • G
          guyds @nebulon last edited by

          @nebulon I see, but how is this any different from the "restore to this backup" action? I mean, if you backup a Cloudron and its apps to an sshfs storage provider it is possible - I hope - to restore an individual app to a previous state. In this case the files also have to be retrieved from an ssh backend.

          Regarding the app import process you suggest: is it sufficient to only copy over the most recent folders or should I copy the full backup (which can become quite large)?

          Is there any ETA on when sshfs will be supported?

          Maybe it's also a good idea to add a notification about this "incompatibility" in the backup configuration screen when selecting sshfs or another storage provider that's currently not supported?
          E.g. "Note: this storage provider is currently not supported for app import".

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

            @guyds I will try to add this to the next version.

            You have to copy the latest backup this should contain the full set. The backup config json file you can download via the dashboard will contain some information to find it on disk by the backup ID.

            G 1 Reply Last reply Reply Quote 0
            • G
              guyds @nebulon last edited by

              @nebulon said in Cannot import app backup from other cloudron:

              @guyds I will try to add this to the next version.

              That would be great, thanks!

              You have to copy the latest backup this should contain the full set. The backup config json file you can download via the dashboard will contain some information to find it on disk by the backup ID.

              Ok, thanks for the clarification. I'll try it that way.

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