Re: Question, how to coorelate snapshot ID's to the files that they represent?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/30/13 17:33, vonNieda, Adam (USMS) wrote:>     Hi folks, first post J
>
>     I’m running Redhat 6 x64 with ibvirt-0.10.2-18 and
> qemu-img-rhev-0.12.1.2-2.355
>
>     My question is, if I do something like the following..
>
> [root@testbox ~]# virsh snapshot-list STIGtest
>
> Name                 Creation Time             State
>
> ------------------------------------------------------------
>
> 1369421485           2013-05-24 13:51:25 -0500 disk-snapshot
>
> 1369768781           2013-05-28 14:19:41 -0500 disk-snapshot
>
> 1369920434           2013-05-30 08:27:14 -0500 disk-snapshot
>
> 1369920574           2013-05-30 08:29:34 -0500 disk-snapshot
>
> 1369920859           2013-05-30 08:34:19 -0500 disk-snapshot
>
> 1369920888           2013-05-30 08:34:48 -0500 disk-snapshot
>
> 1369921298           2013-05-30 08:41:38 -0500 disk-snapshot
>
>     Is there another command I can issue to get the OS snapshot file
> that one of those snapshot names represents?

To get more information about the snapshot you can issue

virsh snapshot-dumpxml STIGtest 1369421485

This returns a XML document describing the snapshot. The default snapshot name is a unix timestamp of the time when the snapshot was taken. The name can be set to any string at the time the snapshot is created:

virsh snapshot-create-as STIGtest snapshotname

Peter

>
>     Thanks very much!
>
>        -Adam
>

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users





[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux