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. Cannot import app backup from other cloudron

Cannot import app backup from other cloudron

Scheduled Pinned Locked Moved Solved Support
backupssshfsimport
13 Posts 3 Posters 2.3k 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.
  • G Offline
    G Offline
    guyds
    wrote on last edited by girish
    #1

    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
    nebulonN 1 Reply Last reply
    0
    • G guyds

      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
      nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      @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
      0
      • nebulonN nebulon

        @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 Offline
        G Offline
        guyds
        wrote on last edited by
        #3

        @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".

        nebulonN 1 Reply Last reply
        0
        • G guyds

          @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".

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @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
          0
          • nebulonN nebulon

            @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 Offline
            G Offline
            guyds
            wrote on last edited by
            #5

            @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.

            G 1 Reply Last reply
            0
            • G guyds

              @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.

              G Offline
              G Offline
              guyds
              wrote on last edited by guyds
              #6

              Much to my disappointment I just noticed that this issue still exists.
              In other words, I still cannot import a backup from an sshfs location because it's still giving the error

              Error : External Error - Error loading fsmetadata.json:ENOENT: no such file or directory
              

              The only way to get the app imported on a new cloudron is by manually copying over the backup to the local filesystem.

              (Edit: typo)

              girishG 1 Reply Last reply
              0
              • G guyds

                Much to my disappointment I just noticed that this issue still exists.
                In other words, I still cannot import a backup from an sshfs location because it's still giving the error

                Error : External Error - Error loading fsmetadata.json:ENOENT: no such file or directory
                

                The only way to get the app imported on a new cloudron is by manually copying over the backup to the local filesystem.

                (Edit: typo)

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

                @guyds yes, unfortunately, the fix did not make it to 7.4.

                G 1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  I think https://forum.cloudron.io/topic/8672/move-local-backup-to-another-server was the same issue.

                  1 Reply Last reply
                  0
                  • girishG girish

                    @guyds yes, unfortunately, the fix did not make it to 7.4.

                    G Offline
                    G Offline
                    guyds
                    wrote on last edited by
                    #9

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

                    @guyds yes, unfortunately, the fix did not make it to 7.4.

                    Any timeframe for when the fix will be available?

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

                    I think https://forum.cloudron.io/topic/8672/move-local-backup-to-another-server was the same issue.

                    Hmmm, I'm don't see any issues mentioned in that post, it just seems to be a request for best practices regarding backups

                    girishG 1 Reply Last reply
                    0
                    • G guyds

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

                      @guyds yes, unfortunately, the fix did not make it to 7.4.

                      Any timeframe for when the fix will be available?

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

                      I think https://forum.cloudron.io/topic/8672/move-local-backup-to-another-server was the same issue.

                      Hmmm, I'm don't see any issues mentioned in that post, it just seems to be a request for best practices regarding backups

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

                      @guyds Whoops, you are right. I meant https://forum.cloudron.io/topic/8707/backup-restore-is-not-working and specifically https://forum.cloudron.io/topic/8707/backup-restore-is-not-working/5. There is a bug in the import functionality that it doesn't mount SSHFS/CIFS/NFS correctly before import.

                      G 1 Reply Last reply
                      0
                      • girishG girish

                        @guyds Whoops, you are right. I meant https://forum.cloudron.io/topic/8707/backup-restore-is-not-working and specifically https://forum.cloudron.io/topic/8707/backup-restore-is-not-working/5. There is a bug in the import functionality that it doesn't mount SSHFS/CIFS/NFS correctly before import.

                        G Offline
                        G Offline
                        guyds
                        wrote on last edited by
                        #11

                        @girish that sounds as being the same issue indeed.
                        So if I understand correctly you already know what the issue is and how to fix it and now it's just a matter of finding some time to actually implement it 😉

                        1 Reply Last reply
                        1
                        • girishG girish referenced this topic on
                        • jdaviescoatesJ jdaviescoates referenced this topic on
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #12

                          Fixed in 7.5.1

                          G 1 Reply Last reply
                          1
                          • girishG girish has marked this topic as solved on
                          • girishG girish

                            Fixed in 7.5.1

                            G Offline
                            G Offline
                            guyds
                            wrote on last edited by
                            #13

                            @girish Thanks!

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