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

    xenserver problem VM disappeared

    IT Discussion
    6
    28
    2.8k
    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.
    • DustinB3403D
      DustinB3403 @dariosplit
      last edited by

      @dariosplit said in xenserver problem VM disappeared:

      I didn't delete it, it was working fine untill 9 AM untill 3:30 PM then it just disappeared and ofcourse there was no backup during that time

      Have you performed a SR scan yet? If you can take a look and see if the disks are listed through XC, after you've scanned.

      You might still find the disks and they might be orphaned.

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @dariosplit
        last edited by

        @dariosplit said in xenserver problem VM disappeared:

        @dustinb3403 Vmbackup worked through cron perfectly

        It's not about cron or the script itself. XO (and XOCE as a branch to it) are about a better management platform with logging and everything in a single pane of glass management interface.

        You might not have deleted the VM, it doesn't mean a cleanup job didn't or another admin by mistake.

        1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403
          last edited by

          Or your recovery job might have come in after the restore and deleted the original VM. I know some scripts have that functionality.

          1 Reply Last reply Reply Quote 0
          • B
            bnrstnr
            last edited by bnrstnr

            Looks like this is what he's using? https://github.com/NAUbackup/VmBackup

            DO NOT RUN THIS SCRIPT UNLESS YOU ARE COMFORTABLE WITH THESE ACTIONS.
            
                For vm-export: (a) xe vm-snapshot, (b) xe template-param-set, (c) xe vm-export, (d) xe vm-uninstall on the vm-snapshot.
                For vdi-export: (a) xe vdi-snapshot, (b) xe vdi-param-set, (c) xe vdi-export, (d) xe vdi-destroy on the vdi-snapshot.
            

            No idea what this actually means, but I'm guessing the backup script deleted your base disk (the snapshot?) for the recovered VM?

            DustinB3403D 1 Reply Last reply Reply Quote 1
            • B
              bnrstnr @DustinB3403
              last edited by bnrstnr

              @dustinb3403 said in xenserver problem VM disappeared:

              On a side note, why are you using a backup script when you can use XOCE (Xen Orchestra Community Edition).

              Can't +1 this enough, it truly is great.

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @bnrstnr
                last edited by

                @bnrstnr NAUBackup, yeah I used that and immediately got rid of it when I found XO.

                It's a solid script but dangerous if you screw up.

                1 Reply Last reply Reply Quote 1
                • DustinB3403D
                  DustinB3403
                  last edited by

                  IIRC it does delete the original VM once the restore is completed.

                  I used it for about a month and it was why I was looking for alternatives and found XO so many years ago now.

                  1 Reply Last reply Reply Quote 1
                  • D
                    dariosplit
                    last edited by

                    Thank you all for your help but sadly i lost my VM, what is worst i dont Know why or how.
                    I will try with XO

                    scottalanmillerS DustinB3403D 2 Replies Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @dariosplit
                      last edited by

                      @dariosplit said in xenserver problem VM disappeared:

                      Thank you all for your help but sadly i lost my VM, what is worst i dont Know why or how.
                      I will try with XO

                      😞 Sorry to hear that.

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @dariosplit
                        last edited by

                        @dariosplit said in xenserver problem VM disappeared:

                        Thank you all for your help but sadly i lost my VM, what is worst i dont Know why or how.
                        I will try with XO

                        Sorry to be the bearer of bad news, hopefully you'll find that XO is a much better approach to managing XenServer.

                        1 Reply Last reply Reply Quote 0
                        • black3dynamiteB
                          black3dynamite
                          last edited by black3dynamite

                          When it comes to MSSQL, it would've been best to use its own builtin backup instead.

                          DustinB3403D scottalanmillerS D 3 Replies Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403 @black3dynamite
                            last edited by

                            @black3dynamite said in xenserver problem VM disappeared:

                            When it comes to MSSQL, it would've been best to use its own builtin backup instead.

                            That is true, but it only backups the database.

                            Backing up the VM you need something that is SQL aware. Which bring up the question, is XO SQL aware. . .

                            Hrm. . . that is a question worth asking.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @black3dynamite
                              last edited by

                              @black3dynamite said in xenserver problem VM disappeared:

                              When it comes to MSSQL, it would've been best to use its own builtin backup instead.

                              Any database, really.

                              1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller @DustinB3403
                                last edited by

                                @dustinb3403 said in xenserver problem VM disappeared:

                                @black3dynamite said in xenserver problem VM disappeared:

                                When it comes to MSSQL, it would've been best to use its own builtin backup instead.

                                That is true, but it only backups the database.

                                Backing up the VM you need something that is SQL aware. Which bring up the question, is XO SQL aware. . .

                                Hrm. . . that is a question worth asking.

                                I don't think so. I almost never try to use an image based backup for data.

                                DustinB3403D 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in xenserver problem VM disappeared:

                                  @dustinb3403 said in xenserver problem VM disappeared:

                                  @black3dynamite said in xenserver problem VM disappeared:

                                  When it comes to MSSQL, it would've been best to use its own builtin backup instead.

                                  That is true, but it only backups the database.

                                  Backing up the VM you need something that is SQL aware. Which bring up the question, is XO SQL aware. . .

                                  Hrm. . . that is a question worth asking.

                                  I don't think so. I almost never try to use an image based backup for data.

                                  Yeah I'm not saying it's the best approach, just curious if XO is database aware to pause any activity at backup time. IIRC I don't believe it is.

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    dariosplit @black3dynamite
                                    last edited by

                                    @black3dynamite That is true, but I use multiple types of backups. Everyone has the advantages and disadvantages. The problem is always time data continuity.

                                    1 Reply Last reply Reply Quote 0
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      @scottalanmiller and @dariosplit XO does support the functional (with the use of XS Tools on your VM).

                                      https://xcp-ng.org/forum/topic/47/is-xo-database-aware/4/

                                      https://xen-orchestra.com/blog/xenserver-quiesce-snapshots/

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