Sponsored Content
Full Discussion: Last good configuration
Operating Systems Solaris Last good configuration Post 302501462 by DukeNuke2 on Thursday 3rd of March 2011 03:14:04 PM
Old 03-03-2011
if you don't have backups or snapshots... none!
 

4 More Discussions You Might Find Interesting

1. Programming

Good book

I just want to know if someone can tell me if this book "C Programming Language (2nd Edition) by Brian W. Kernighan, Dennis M. Ritchie" is a good book to learn C on unix/linux ??? i'm an old (33 :)) mainframe programmer who wants to learn something else besides cobol and pl/1 ...... (2 Replies)
Discussion started by: pat
2 Replies

2. Red Hat

Need Good Configuration For RHEL Virtualization Desktop

Hi All , I want a Good Specification For Building a Coustum PC must Have With Intel Motherboard and Intel Processor , And Must Have Virtualization , Cos im Gonna Install Redhat Enterprise Virtualization Based PC and Gonna install win Xp , Win 7 as a Guest Os in it .. Any one Have Good Spec for... (2 Replies)
Discussion started by: babinlonston
2 Replies

3. Shell Programming and Scripting

Good Example on $|

I am trying to learn how to use the predefined var. I did read perlvar - perldoc.perl.org but like much of the perl docs, I just dont "see" the explanation. Can someone explain its usage to me. Id like to buffer printing on occasion. Thanks in advance. (1 Reply)
Discussion started by: popeye
1 Replies

4. What is on Your Mind?

What is good?

Hello everyone, I am using centos, 1) solaris is free right? 2) I want to learn solaris and install it in a computer that I am mounting, I would like know what is strong in solaris and if do it is wise. I am programmer python, learning machine and programming in general,..any help thanks,.. (6 Replies)
Discussion started by: gitac
6 Replies
Sys::Virt::DomainSnapshot(3)				User Contributed Perl Documentation			      Sys::Virt::DomainSnapshot(3)

NAME
Sys::Virt::DomainSnapshot - Represent & manage a libvirt guest domain DESCRIPTION
The "Sys::Virt::DomainSnapshot" module represents a guest domain managed by the virtual machine monitor. METHODS
my $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 "Sys::Virt::DomainSnapshot::DELETE_*" 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 "Sys::Virt::DomainSnapshot::REVERT_*" 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 "lookup_snapshot_by_name" @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 "list_all_children" 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 CREATION The 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 Sys::Virt::DomainSnapshot::CREATE_LIVE Create snapshot while the guest is running SNAPSHOT DELETION The 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 LIST The 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 Sys::Virt::DomainSnapshot::LIST_ACTIVE Only list snapshots taken while the guest was running Sys::Virt::DomainSnapshot::LIST_INACTIVE Only list snapshots taken while the guest was inactive Sys::Virt::DomainSnapshot::LIST_EXTERNAL Only list snapshots stored in external disk images Sys::Virt::DomainSnapshot::LIST_INTERNAL Only list snapshots stored in internal disk images Sys::Virt::DomainSnapshot::LIST_DISK_ONLY Only list snapshots taken while the guest was running, which did not include memory state. SNAPSHOT REVERT The 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 AUTHORS
Daniel P. Berrange <berrange@redhat.com> COPYRIGHT
Copyright (C) 2006 Red Hat Copyright (C) 2006-2007 Daniel P. Berrange LICENSE
This 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 ALSO
Sys::Virt, Sys::Virt::Error, "http://libvirt.org" perl v5.16.3 2013-07-30 Sys::Virt::DomainSnapshot(3)
All times are GMT -4. The time now is 06:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy