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

    Can't restore VM's from 'read-only' remote?

    Scheduled Pinned Locked Moved Xen Orchestra
    3 Posts 2 Posters 234 Views 2 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.
    • T Offline
      Tackyone
      last edited by

      Hi,

      I've got a volume on an NFS server that's mounted as 'Read Only' - which is exported via NFS to XO as a 'remote'.

      XO can 'see' this - but complains it's read-only when you attach it.

      Although it does attach - I can't then 'see' any backups on that remote. The only thing that seems to work is to re-mount it on the NFS server as 'read/write' - and re-attach it to XO as read-write.

      At this point, the list of VM's within 'xo-vm-backup' appear - and are available to restore.

      This kind of leads to the questions: Do 'remotes' always have to be read/write mounted / available to XO to allow even restores to be done?

      Thanks!

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

        A remote (now Backup repository) is meant to write backups into it. If you aren't able to write, then, sure, you can restore but you won't be able to backup anything.

        The warning/test was put in place to avoid having a remote mounted without any error and fails when you do your nightly backup. I think it saved months of potential support tickets and threads here 🙂

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          Tackyone @olivierlambert
          last edited by

          @olivierlambert said in Can't restore VM's from 'read-only' remote?:

          A remote (now Backup repository) is meant to write backups into it. If you aren't able to write, then, sure, you can restore but you won't be able to backup anything.

          Yes, understand that 🙂 - I'll have to re-test here, but I'm sure when it was 'read-only' - I couldn't restore anything from it, as nothing showed up in XO's "Backup / Restore' list of backups...

          The remote was mounted on two systems - hence why made R/O for one of them (this was just for testing restores).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post