Hi
Does anyone know how to change the Backup Exec Integration module to perform monolithic backups. It is creating sparse backups at the moment and therestore is a bit trickier.
Any good instructions on how to restore the sparse file backup to a different ESX host would be useful.
Many thanks
Russell
DOH!!! Sorry, I gave you the location for VCB 1.1, It changed for 1.5. It should be added to the following:
</p></p> <p><p>function AttachVMData(VMinfo, vmMoRef, createSnapshot, deleteSnapshot)</p></p> <p><p>
Dave
************************
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.
Nathaniel Borenstein
Russell -
Just be aware that running in monolithic mode will slow down your copy
speed. But it does allow for a more portable VM backup file. If you are
worried about restores, using VMware Converter to restore 2GB sparse
files works very well. Just use BE to restore the FullVM files to the
proxy, then use Converter to restore into the VI3. If you still want monolithic files, do this:
I only found a way to do this globally.
Edit the glue.js file.Look for the following function section:
</p></p> <p><p>function :PrepareForBackup(VMinfo, createSnapshot, deleteSnapshot) </p></p> <p><p>
Add the following:
</p></p> <p><p> // If the backup type is fullvm, then change to monolithic format <br/><br/> if (VMinfo.backupType == "fullvm") { <br/><br/> cmd += "-M 1 "; <br/><br/> } </p></p> <p><p> </p></p> <p><p>
Dave
************************
The most likely way for the world to be destroyed, most experts agree,
is by accident. That's where we come in; we're computer professionals.
We cause accidents.
Nathaniel Borenstein
HI Dave
thanks this is exactly what I am looking for , I have edited the glue.js file but it makes no difference.
Please see the edited file. Have I put it in the wrong place?
function PrepareForBackup(VMinfo, createSnapshot, deleteSnapshot)
{
var rv;
var numRetries = 0;
var doRetry;
do {
rv = DoPrepareForBackup(VMinfo, createSnapshot, deleteSnapshot);
doRetry = (rv != vcbErrOk) && (numRetries < MAX_RETRIES);
if (doRetry) {
StdErr.Write("Re-trying operation...");
WScript.Sleep(1000 * BACKOFF_TIME);
}
numRetries += 1;
} while (doRetry);
return rv;
// If the backup type is fullvm, then change to monolithic format
if (VMinfo.backupType == "fullvm") {
cmd += "-M 1 ";
}
}
thanks
Russell
DOH!!! Sorry, I gave you the location for VCB 1.1, It changed for 1.5. It should be added to the following:
</p></p> <p><p>function AttachVMData(VMinfo, vmMoRef, createSnapshot, deleteSnapshot)</p></p> <p><p>
Dave
************************
The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.
Nathaniel Borenstein
thanks Dave a perfect answer.
all the best
Russell