XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Solved XO Backup [NOBAK] for full backups

    Xen Orchestra
    13
    38
    3246
    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.
    • julien-f
      julien-f Vates 🪐 Co-Founder🦸 XO Team 🔭 @normanghenderson last edited by

      @normanghenderson Yep, it should be coming at the end of the month 🙂

      N 1 Reply Last reply Reply Quote 1
      • olivierlambert
        olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

        metal

        1 Reply Last reply Reply Quote 0
        • N
          normanghenderson @julien-f last edited by

          @julien-f Excellent, thank you!

          1 Reply Last reply Reply Quote 0
          • M
            MrBaz last edited by

            Has this been implemented yet?
            I've tried the [NOBAK] method, and the disk still gets cycled into the weekly VM backup.

            M 1 Reply Last reply Reply Quote 0
            • M
              MrBaz @MrBaz last edited by

              Running the latest xen orchestra. Just finished our latest weekly backup. It still backed up the 1TB disk I had labeled as [NOBAK].

              B 1 Reply Last reply Reply Quote 0
              • B
                Biggen @MrBaz last edited by

                @mrbaz I don't think its been implemented yet. Its coming from what I've read though.

                1 Reply Last reply Reply Quote 0
                • olivierlambert
                  olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

                  It should be for this release, this time 😉 @julien-f is working on it!

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

                    @olivierlambert Has there been any progress on the VDI.snapshot? Read somewhere that there could be another branch for testing, but I did not find any.

                    olivierlambert 1 Reply Last reply Reply Quote 0
                    • olivierlambert
                      olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 @johnarvid last edited by

                      @johnarvid ah yes let me ping @julien-f about this, I don't remember exactly where are we on the VDI.snapshot front 🙂

                      C 1 Reply Last reply Reply Quote 1
                      • C
                        cnaumer @olivierlambert last edited by

                        @olivierlambert Is there an Update to this? We would also like to use the [NOBAK] with the Full Backup feature of XO.

                        1 Reply Last reply Reply Quote 0
                        • olivierlambert
                          olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

                          Ping @julien-f

                          julien-f 1 Reply Last reply Reply Quote 0
                          • julien-f
                            julien-f Vates 🪐 Co-Founder🦸 XO Team 🔭 @olivierlambert last edited by

                            Hey everyone, [NOBAK] should work for all types of backup: Rolling Snaphost, Disaster Recovery, Continuous Replication, Full Backup and Delta Backup.

                            Unfortunately, due to the way the snapshot process is implemented in XCP-ng, ignored VDIs will still be snapshotted before being deleted, which takes time and space unnecessarily, but we have discussed with the XCP-ng team and they are working on improving this 🙂

                            In the meantime, XO tries to work around this by temporary detaching these VDIs from the VM during the snapshot, but this only work when the VM is halted (see offline backup in the advanced settings of a backup job).

                            C B 2 Replies Last reply Reply Quote 0
                            • C
                              CptHyper @julien-f last edited by CptHyper

                              Hi does the Backup job still create the Snapshot (and therefore required time and space) when not doing an offline backup or has this been improved by now ?

                              1 Reply Last reply Reply Quote 1
                              • B
                                bnerickson @julien-f last edited by

                                @julien-f said in XO Backup [NOBAK] for full backups:

                                Hey everyone, [NOBAK] should work for all types of backup: Rolling Snaphost, Disaster Recovery, Continuous Replication, Full Backup and Delta Backup.

                                Unfortunately, due to the way the snapshot process is implemented in XCP-ng, ignored VDIs will still be snapshotted before being deleted, which takes time and space unnecessarily, but we have discussed with the XCP-ng team and they are working on improving this 🙂

                                In the meantime, XO tries to work around this by temporary detaching these VDIs from the VM during the snapshot, but this only work when the VM is halted (see offline backup in the advanced settings of a backup job).

                                Ironically enough in my case, the VM I have that has a passthrough disk attached to it (a VDI I would like to [NOBAK]) is the VM that is setup as the remote for the backup job in XOA. So shutting it down wouldn't exactly work 🙂 .

                                That being said I'm sure I could implement a workaround, but is there a feature request or tracking ticket URL somewhere where I can track XCP-ng team's work on this issue?

                                1 Reply Last reply Reply Quote 0
                                • olivierlambert
                                  olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

                                  I don't remember the status about this. I'm adding @marcungeschikts so he can tell us where it is in the backlog, when he's back from holidays 🙂

                                  marcungeschikts 1 Reply Last reply Reply Quote 0
                                  • marcungeschikts
                                    marcungeschikts Vates 🪐 Project management ⏱️ @olivierlambert last edited by marcungeschikts

                                    ☑ Done in XO Release 5.71 delivered in May, this year.

                                    5.71Release Note

                                    Internal Ref. only NOBAK support for all backup modes with snapshots

                                    B 1 Reply Last reply Reply Quote 0
                                    • Topic has been marked as a question  olivierlambert olivierlambert 
                                    • Topic has been marked as solved  olivierlambert olivierlambert 
                                    • B
                                      bnerickson @marcungeschikts last edited by

                                      @marcungeschikts I understand that this issue has been solved by halting a VM before taking the snapshot. Per this comment by @julien-f , "[...] but we have discussed with the XCP-ng team and they are working on improving this", is there an issue or feature request or ticket to track XCP-ng's work to improve the implementation so that halting a VM is no longer required?

                                      marcungeschikts 1 Reply Last reply Reply Quote 0
                                      • olivierlambert
                                        olivierlambert Vates 🪐 Co-Founder🦸 CEO 🧑‍💼 last edited by

                                        Not sure to understand. The potential XAPI side improvement is to allow a VM.snapshot command to add extra parameters, excluding some disks.

                                        You don't need to halt a VM to make a snapshot, it's completely unrelated. Maybe I'm missing something? 🤔

                                        1 Reply Last reply Reply Quote 0
                                        • marcungeschikts
                                          marcungeschikts Vates 🪐 Project management ⏱️ @bnerickson last edited by

                                          Hi @bnerickson ,

                                          The xcp-ng part to Exclude VDI from snapshot has been done on XAPI project and can be seen in github https://github.com/xapi-project/xen-api/issues/4551 , but will be only embedded in xcp-ng 8.3 planned around 6 month (+/- 3).

                                          For the XO part, [Backup] Use ignore_vdis param when snapshotting, I will see with the XO Team and Olivier to synchronize the delivery

                                          benjamreis created this issue in xapi-project/xen-api

                                          closed [Feature proposal] Ignore some VDIs when snapshoting a VM #4551

                                          B 1 Reply Last reply Reply Quote 2
                                          • B
                                            bnerickson @marcungeschikts last edited by

                                            @marcungeschikts Thanks, that's perfect!

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