The BackupFile method backs up a file to the backup folder

Namespace: DotNetNuke.Services.Installer
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void BackupFile(
	InstallFile installFile,
	string basePath,
	Logger log
)
Visual Basic
Public Shared Sub BackupFile ( 
	installFile As InstallFile,
	basePath As String,
	log As Logger
)

Parameters

installFile
Type: DotNetNuke.Services.Installer..::..InstallFile
The file to backup
basePath
Type: System..::..String
The basePath to the file
log
Type: DotNetNuke.Services.Installer.Log..::..Logger
A Logger to log the result

See Also