RSS LinkedIn Twitter

Importing Backed Up XenServer Snapshots

June 24th, 2013 Categories: Uncategorized

Importing a backed up XenServer snapshot is simple, but you’ll need two things to do it. First, you’ll need the UUID of the storage repository that you’ll be importing the snapshot onto. Second, you’ll need the location of the backed up XVA file.

To get the UUID of the storage repository, use the sr-list command.

xe sr-list
uuid ( RO)                : a02a1791-0210-f911-e992-7030aaa6f419
          name-label ( RW): DS3500
    name-description ( RW): Hardware HBA SR [IBM - /dev/sda [sdb]]
                host ( RO): 
                type ( RO): lvmohba
        content-type ( RO):

Then you can use the vm-import command to import the backup.

xe vm-import filename=/backups/media_2013_06_23.xva sr-uuid=a02a1791-0210-f911-e992-7030aaa6f419
No comments yet.

Leave a Comment