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

    ZFS for a backup server

    Scheduled Pinned Locked Moved Backup
    9 Posts 5 Posters 478 Views 5 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.
    • M Offline
      McHenry
      last edited by

      I wish to create a production server and backup server and have scheduled backups saved to the backup server so we can virtualise the backup if the production server fails.

      I would like to store the following aging backups:

      • hourly - 3 days
      • daily - 7 days
      • weekly - 4 weeks
      • monthly - 3 months

      Aging backups is documented here:
      https://xen-orchestra.com/docs/backups.html#retention-and-scheduling

      As these backups will take up a significant amount of disk space I understand ZFS is a good FS option. Does this mean when installing xcp-ng I should be using EXT on the production server and ZFS on the backup server?

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

        Hi,

        You can use ZFS on your backup server yes, with compression. Last time we tested dedup on ZFS for backup, it wasn't that great (only few % saved), but anyway, ZFS is resilient and stable so go ahead 🙂

        F 1 Reply Last reply Reply Quote 0
        • F Offline
          flakpyro @olivierlambert
          last edited by

          We use ZFS on our backup target, mounted to XOA via NFS. Works without issue.

          M 1 Reply Last reply Reply Quote 1
          • M Offline
            McHenry @flakpyro
            last edited by

            @flakpyro

            We wish to backup to a server running xcp-ng so we can spin up these VMs if the production server fails. The backup target for the production VMs would be the backup server, if that makes sense.

            I think the backup xcp-ng server would need two partitions. One EXT for the OS and one ZFS for the backups... or have I got my wires crossed?

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              CJ @McHenry
              last edited by

              @McHenry I think you may be running into an XY problem here. https://xyproblem.info/

              What targets are you attempting to achieve and what do you foresee the prod environment looking like?

              What is your reasoning for aging backups? What use case are you targeting?

              If you provide more information about your goals and available resources then we can give you better answers. You also may want to reach out to the Vates sales team as I believe they offer design services.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                McHenry @CJ
                last edited by

                @CJ

                We have a solution that was designed for another backup system and we are looking to migrate. Our targets and resources are outlined above in the OP.

                Just asking for assistance in learning does not equate to the XY scenario you mentioned above. That is the reason these "support" forums exist 🙂

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

                  This is called "GFS backup" and it will come natively in XO, it's in our backlog.

                  GFS stands for "Grandfather-Father-Son" retention policy.

                  M 1 Reply Last reply Reply Quote 1
                  • M Offline
                    McHenry @olivierlambert
                    last edited by

                    @olivierlambert

                    Thanks Oliver. We have used GFS with Veeam previously and will be a great addition.

                    1 Reply Last reply Reply Quote 1
                    • ForzaF Online
                      Forza @McHenry
                      last edited by

                      @McHenry

                      Looks like you want disaster recovery option. It creates a ready-to-use VM on a separate XCP-ng server. If your main server fails you can start the vm directly off the second server.

                      In any case, backups can be restored with XO to any server and storage available in XCP-ng.

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