[prev in list] [next in list] [prev in thread] [next in thread]
List: evms-devel
Subject: Re: [Evms-devel] Script to open and close snapshots
From: Kevin Corry <kevcorry () us ! ibm ! com>
Date: 2005-05-28 13:46:32
Message-ID: 200505280846.32459.kevcorry () us ! ibm ! com
[Download RAW message or body]
Hi Ross,
Thanks for the snapshot script! I've added it to the "User Contributions"
section on the EVMS website, and hopefully other people will be able to use
it as well.
http://evms.sourceforge.net/contrib/
On Fri May 20 2005 1:13 am, Ross Boylan wrote:
> I've attached a python2.4 script that can open and close a snapshot.
> My intention is to use it for backups.
>
> # snapshot.py open /home
> creates a snapshot on the volume for /home, and mounts it.
>
> # snapshot.py close /home
> cleans up.
>
> The script depends on at least one python 2.4 and one python 2.3
> feature, as well as the pyexpect module. The latter is not part of
> the standard distribution. It would be easy to work around the 2.4
> feature requirement.
>
> pyexpect does not require expect.
>
> I have not even exercised all the code paths, so it's highly likely it
> contains bugs. However, it seems to work for me (tm). Of course, I
> haven't yet made a backup with it...
>
> Feel free to use it or improve upon it. I have the logging turned up
> pretty high for debugging; obviously you will need to specify
> appropriate paths for your system in the global definitions near the
> start of the file.
>
> Thanks to everyone for their help in this project.
>
> Ross Boylan
--
Kevin Corry
kevcorry@us.ibm.com
http://www.ibm.com/linux/
http://evms.sourceforge.net/
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic