Pretransferscript.ps1 - Dell PowerVault DL4000 User Manual

Backup to disk appliance - poweredby appassure
Hide thumbs Also See for PowerVault DL4000:
Table of Contents

Advertisement

Method
public string GetMountName()
VolumeNameCollection (namespace Replay.Common.Contracts.Metadata.Storage)
Inherits its values from the parameter, System.Collections.ObjectModel.Collection<VolumeName>.
Method
public override bool Equals(object obj) Determines whether this instance and a specified object,
public override int GetHashCode()
VolumeSnapshotInfo (namesapce Replay.Common.Contracts.Transfer)
Method
public Uri BlockHashesUri { get; set;}
public Uri BlockDataUri { get; set;}
VolumeSnapshotInfoDictionary (namespace Replay.Common.Contracts.Transfer)
Inherits its values from the parameter, System.Collections.Generic.Dictionary<VolumeName,
VolumeSnapshotInfo>.

Pretransferscript.ps1

The PreTransferScript is executed on the agent side prior to transferring a snapshot.
# receiving parameter from transfer job
param([object]$TransferPrescriptParameter)
# building path to Agent's Common.Contracts.dll and loading this assembly
$regLM = [Microsoft.Win32.Registry]::LocalMachine
$regLM = $regLM.OpenSubKey('SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Description
NOTE: A known issue exists in .NET 4.0 WCF (https://
connect.microsoft.com/VisualStudio/ feedback/
ViewFeedback.aspx?FeedbackID=413312), which
prevents path escape characters from working
correctly in a URI template. Because a volume name
contains both '\' and '?', you must replace the special
characters '\' and '?' with other special characters.
Returns a name for this volume that is valid for mounting
volume image to some folder.
Description
which must also be a VolumeNameCollection
object, have the same value. (Overrides
Object.Equals(Object).)
Returns the hash code for this
VolumeNameCollection. (Overrides
Object.GetHashCode().)
Description
Gets or sets the URI at which the MD5 hashes of volume
blocks can be read.
Gets or sets the URI at which the volume data blocks can
be read.
155

Advertisement

Table of Contents
loading

Table of Contents