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

    Boot after restore - excluded swap

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 2 Posters 95 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.
    • K Offline
      KPS Top contributor
      last edited by

      Hi!

      I want to avoid unnecessary backup traffic. So, I am trying to exclude e.g. swap disks of my linux systems.
      The problem is, that in case of a restore, swap-disk is just missing.

      How do you handle this? Is there any good "trick", I am not aware of?

      As the "NOBAK"-disk is just missing, it's also hard to identify the problem (no warning)

      Best wishes
      KPS

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

        So you'd like to get the disk but not transferring it, right? That's not a trivial thing 🤔

        For most of our prod, SWAP is inside the system disk anyway, so it's not a biggie.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          KPS Top contributor @olivierlambert
          last edited by

          Other backup-solutions are able to exclude swap, which can reduce the volume - especially for tasks which are running in a short interval.

          My idea was to exclude just the disks, which are used for swap.

          The current possibility would be:

          • Using a low swappiness on Linux to reduce change rate
          • Excluding disks on Windows, as it does also boot with missing disks
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            And how they do that?

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              KPS Top contributor @olivierlambert
              last edited by

              I just found the explanation for Windows:

              https://helpcenter.veeam.com/docs/backup/vsphere/swap_files.html?ver=120

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

                XO doesn't have access to the VM content so it's not possible at the moment.

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