™.. Sys::Virt::DomainSnapshot - Online Linux Manual PageSection : 3
Updated : 2015-07-23
Source : perl v5.10.1
Note : User Contributed Perl Documentation

NAMESys::Virt::DomainSnapshot − Represent & manage a libvirt guest domain

DESCRIPTIONThe \*(C`Sys::Virt::DomainSnapshot\*(C'\fR module represents a guest domain managed by the virtual machine monitor.

METHODSmy $str = $domss>get_name() Return the name of the snapshot my $xml = $domss>get_xml_description($flags) Returns an XML document containing a complete description of the domain's configuration. $domss>delete($flags) Deletes this snapshot object & its data. The optional $flags parameter controls what should be deleted via the \*(C`Sys::Virt::DomainSnapshot::DELETE_*\*(C'\fR constants. $domss>revert_to($flags) Revert the domain to the state associated with this snapshot. The optional ​$flags control the state of the vm after the revert via the ​\*(C`Sys::Virt::DomainSnapshot::REVERT_*\*(C'\fR constants. $parentss = $domss>get_parent()Return the parent of the snapshot, if any $res = $domss>is_current() Returns a true value if this is the current snapshot. False otherwise. $res = $domss>has_metadata() Returns a true value if this snapshot has metadata associated with it. $count = $domss>num_of_child_snapshots() Return the number of saved snapshots which are children of this snapshot @names = $domss>list_child_snapshot_names() List the names of all saved snapshots which are children of this snapshot . The names can be used with the \*(C`lookup_snapshot_by_name\*(C'\fR @snapshots = $domss>list_child_snapshots() Return a list of all snapshots that are children of this snapshot. The elements in the returned list are instances of the Sys::Virt::DomainSnapshot class. This method requires O(n) RPC calls, so the \*(C`list_all_children\*(C'\fR method is recommended as a more efficient alternative. my @snapshots = $domss>list_all_children($flags) Return a list of all domain snapshots that are children of this snapshot. The elements in the returned list are instances of the Sys::Virt::DomainSnapshot class. The $flags parameter can be used to filter the list of return domain snapshots.

CONSTANTS

SNAPSHOT CREATIONThe following constants are useful when creating snapshots Sys::Virt::DomainSnapshot::CREATE_CURRENT Set the defined snapshot to be the current snapshot Sys::Virt::DomainSnapshot::CREATE_DISK_ONLY Only snapshot the disk, not the memory state Sys::Virt::DomainSnapshot::CREATE_HALT Stop the guest after creating the snapshot Sys::Virt::DomainSnapshot::CREATE_NO_METADATA Do not save any metadata for the snapshot Sys::Virt::DomainSnapshot::CREATE_REDEFINE Replace/set the metadata with the snapshot Sys::Virt::DomainSnapshot::CREATE_QUIESCE Quiesce the guest disks while taking the snapshot Sys::Virt::DomainSnapshot::CREATE_REUSE_EXT Reuse the existing snapshot data files (if any) Sys::Virt::DomainSnapshot::CREATE_ATOMIC Create multiple disk snapshots atomically

SNAPSHOT DELETIONThe following constants are useful when deleting snapshots Sys::Virt::DomainSnapshot::DELETE_CHILDREN Recursively delete any child snapshots Sys::Virt::DomainSnapshot::DELETE_CHILDREN_ONLY Only delete the child snapshots Sys::Virt::DomainSnapshot::DELETE_METADATA_ONLY Only delete the snapshot metadata

SNAPSHOT LISTThe following constants are useful when listing snapshots Sys::Virt::DomainSnapshot::LIST_METADATA Only list snapshots which have metadata Sys::Virt::DomainSnapshot::LIST_ROOTS Only list snapshots which are root nodes in the tree Sys::Virt::DomainSnapshot::LIST_DESCENDANTS Only list snapshots which are descendants of the current snapshot Sys::Virt::DomainSnapshot::LIST_LEAVES Only list leaf nodes in the snapshot tree Sys::Virt::DomainSnapshot::LIST_NO_LEAVES Only list non-leaf nodes in the snapshot tree Sys::Virt::DomainSnapshot::LIST_NO_METADATA Only list snapshots without metadata

SNAPSHOT REVERTThe following constants are useful when reverting snapshots Sys::Virt::DomainSnapshot::REVERT_PAUSED Leave the guest CPUs paused after reverting to the snapshot state Sys::Virt::DomainSnapshot::REVERT_RUNNING Start the guest CPUs after reverting to the snapshot state Sys::Virt::DomainSnapshot::REVERT_FORCE Force the snapshot to revert, even if it is risky to do so

AUTHORSDaniel P. Berrange <berrange@redhat.com>

COPYRIGHTCopyright (C) 2006 Red Hat Copyright (C) 2006−2007 Daniel P. Berrange

LICENSEThis program is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation (either version 2 of the License, or at your option any later version), or, the Artistic License, as specified in the Perl README file.

SEE ALSOSys::Virt, Sys::Virt::Error, \*(C`http://libvirt.org\*(C'\fR
0
Johanes Gumabo
Data Size   :   19,386 byte
man-Sys::Virt::DomainSnapshot.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 180,337
Visitor ID   :     :  
Visitor IP   :   18.118.184.36   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Sys::Virt::DomainSnapshot.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Sys::Virt::DomainSnapshot.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Sys::Virt::DomainSnapshot.3pm|41|br══─}─══|'br══─}─══ )         (htmlprn|149|Sys::Virt::DomainSnapshot.3pm|41|'br══─}─══ |'br══─}─══ )         (rof_nr_x|149|Sys::Virt::DomainSnapshot.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (rof_unit_scale_px|41|Sys::Virt::DomainSnapshot.3pm|51/52|F|.ie \nF ══─{─══. de IX )         (rof_if|19|Sys::Virt::DomainSnapshot.3pm|51/52|\nF|.ie \nF ══─{─══. de IX )         (htmlprn|149|Sys::Virt::DomainSnapshot.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2" )         (parse_manual_page_|249|Sys::Virt::DomainSnapshot.3pm|57|══─}─══|.══─}─══ )         (htmlprn|149|Sys::Virt::DomainSnapshot.3pm|57|.══─}─══ |.══─}─══ )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|136|\*(C`Sys::Virt::DomainSnapshot\*(C'\fR module represents a guest domain managed |The \f(CW\*(C`Sys::Virt::DomainSnapshot\*(C'\fR module represents a guest domain managed )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|153|\*(C`Sys::Virt::DomainSnapshot::DELETE_*\*(C'\fR |what should be deleted via the \f(CW\*(C`Sys::Virt::DomainSnapshot::DELETE_*\*(C'\fR )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|160|\*(C`Sys::Virt::DomainSnapshot::REVERT_*\*(C'\fR constants. |\&\f(CW\*(C`Sys::Virt::DomainSnapshot::REVERT_*\*(C'\fR constants. )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|182|\*(C`lookup_snapshot_by_name\*(C'\fR |snapshot . The names can be used with the \f(CW\*(C`lookup_snapshot_by_name\*(C'\fR )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|188|\*(C`list_all_children\*(C'\fR method is |This method requires O(n) \s-1RPC\s0 calls, so the \f(CW\*(C`list_all_children\*(C'\fR method is )         (rof_escape_sequence|91|Sys::Virt::DomainSnapshot.3pm|288|\*(C`http://libvirt.org\*(C'\fR |Sys::Virt, Sys::Virt::Error, \f(CW\*(C`http://libvirt.org\*(C'\fR )