XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Restore from backup "iterable is not iterable"

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 2 Posters 645 Views 1 Watching
    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.
    • J Offline
      jcdick1
      last edited by

      XO Server 5.76.0 and XO web 5.78.1 on Ubuntu 20.04

      I'm trying to do a restore from a backup of a VM and the log is posting "Iterable is not iterable":

      backupNg.importVmBackup
      {
        "id": "185d83e7-0bca-4dd5-87e5-ef46cbc9bcb3/xo-vm-backups/d3dfd5b1-3f38-0959-5aa9-aad001bf05cd/20210309T100013Z.json",
        "sr": "03045d63-88ef-62f4-bf12-e1b65d1b9be3"
      }
      {
        "message": "iterable is not iterable",
        "name": "TypeError",
        "stack": "TypeError: iterable is not iterable
          at /opt/xen-orchestra/@xen-orchestra/async-map/index.js:53:24
          at Promise._execute (/opt/xen-orchestra/node_modules/bluebird/js/release/debuggability.js:384:9)
          at Promise._resolveFromExecutor (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:518:18)
          at new Promise (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:103:10)
          at asyncMapSettled (/opt/xen-orchestra/@xen-orchestra/async-map/index.js:28:10)
          at RemoteAdapter.readDeltaVmBackup (/opt/xen-orchestra/@xen-orchestra/backups/RemoteAdapter.js:533:11)
          at ImportVmBackup.run (/opt/xen-orchestra/@xen-orchestra/backups/ImportVmBackup.js:26:30)
          at /opt/xen-orchestra/packages/xo-server/src/xo-mixins/backups-ng/index.js:815:18"
      }
      

      Any ideas on how to get my backup to restore?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi!

        Have you checked this first? https://xen-orchestra.com/docs/community.html

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jcdick1 @olivierlambert
          last edited by

          @olivierlambert Hmm ... well, I ran an update to XO, and the versions didn't change, but the upgrade allowed the restore to function. Now, unfortunately, it seems the backup is bad and won't mount /dev/xvda in r/w. Booting to an ISO and running e2fsck reports bad superblocks and can't recover anything. I guess I'll go back one more version and see if the one from the day before is functional before I am forced to just rebuild the server.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            What do you mean by running an update? Did you git pull and rebuild?

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post