private static string ApplicationBackup(NippsPackage np) { string applicationFolder = ServerManagerHelper.PutEnvVarValue( ServerManagerHelper.GetApplicationPhysicalPath( np.SiteName, np.ApplicationName )); string BackupTargetPath = GetBackupTargetPath(); string zipName = BackupTargetPath + (np.ApplicationName.Equals("/") ? "Site_" : "Appl_") + ZipFileName(np); _Logger.Debug("{0}, {1}", applicationFolder, zipName); NippsZipHelper.ZipFolder(applicationFolder, zipName); return(zipName.Substring(BackupTargetPath.Length)); }