Changes

Jump to: navigation, search

stoney conductor: VM Backup

592 bytes added, 14:12, 22 October 2013
/* Backup a single machine */
Furthermore there is an control instance, which can independently call these three sub-processes for a given machine. Like that, the stoney cloud is able to handle different cases:
== Backup a single machine ==
Call Snapshot The procedure for backing up a single machine is very simple. Just call the three sub-processes (snapshot, merge and retain) one after the other. So the control instance would do some very basic stuff: <source lang="c"> Merge -object machine = args[0]; if snapshot( machine ): if merge( machine ): if retain( machine ): printf("Successfully backed up machine %s\n", machine); else: printf("Error while retaining machine %s: %s\n", machine, error); else: printf("Error while merging machine %s: %s\n", machine, error);else: printf("Error while snapshotting machine %s: %s\n", machine, error); </source> Retain ...
== Backup multiple machines at the same time ==
486
edits