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

    Solved Xen Orchestra - Backup yourself!

    IT Discussion
    xen orchestra virtual machine backup xen xen server virtualization
    2
    6
    2.3k
    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
      last edited by scottalanmiller

      So I don't recall if this was ever answered or what would be a solid solution to backing up your Xen Orchestra VM.

      Now simply, you could have a second VM running Xen Orchestra to backup your "primary" XO installation but this seems like the long way around.

      Additionally I could run NAUBackup to build a full on whatever schedule I need.

      What I'm curious about is what does @olivier recommend to backing up a XO installation. The same applies to the XOA that his business supports, what do you recommend in these scenarios?

      1 Reply Last reply Reply Quote 1
      • olivierO
        olivier
        last edited by olivier

        I would say: use XO to backup your VM running XO (whatever using XOA or sources). Inception eh?

        About the install itself:

        • the main config is inside the redis database (often in /var/lib/redis)
        • and the other source of data (mainly jobs etc.) which will become probably the only database in the future, is the leveldb database: probably inside /var/lib/xo-server/data/leveldb.
        • the config file of your xo-server is useful too

        If you backup those 2 db's + the config file, you can even start a new install of Xen Orchestra, and retrieve everything (configured servers, ACLs, backup jobs etc.)

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

          That was my thought process as well the whole "inception" concept....

          So XOS should be able to back up it's self to the target NFS without issue. Or is a manual or separate approach recommend?

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

            Or even better yet, simply schedule a cron job on XOS to backup just the target information to my NFS target?

            1 Reply Last reply Reply Quote 0
            • olivierO
              olivier @DustinB3403
              last edited by

              @DustinB3403 If he can't backup itself, there is a problem, and it means you can't backup any other VM. Otherwise, using a file backup of the small DB + config file is pretty easy and useful.

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

                So I tested the backup functionality within XOS and the appliance backs it's self up without issue.

                Wow!

                No additional tools required. Great design @olivier !

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