merge commit
This commit is contained in:
commit
6cb0a713ce
2 changed files with 6 additions and 4 deletions
|
@ -478,12 +478,11 @@ namespace WebsitePanel.Providers.Database
|
|||
string cmd = Path.Combine(MySqlBinFolder, "mysqldump.exe");
|
||||
string bakFile = Path.Combine(BackupTempFolder, backupName);
|
||||
|
||||
string args = string.Format(" --host={0} --port={1} --user={2} --password={3} --opt --skip-extended-insert --skip-quick --skip-comments {4}",
|
||||
ServerName, ServerPort,
|
||||
RootLogin, RootPassword, databaseName);
|
||||
string args = string.Format(" --host={0} --port={1} --user={2} --password={3} --opt --skip-extended-insert --skip-quick --skip-comments --result-file=\"{4}\" {5}",
|
||||
ServerName, ServerPort, RootLogin, RootPassword, bakFile, databaseName);
|
||||
|
||||
// backup database
|
||||
FileUtils.ExecuteSystemCommand(cmd, args, bakFile);
|
||||
FileUtils.ExecuteSystemCommand(cmd, args);
|
||||
|
||||
return bakFile;
|
||||
}
|
||||
|
|
|
@ -309,6 +309,9 @@
|
|||
</MSBuild>
|
||||
|
||||
<MSBuild Projects="$(RootFolder)\WebsitePanel.Installer\Sources\WebsitePanel.SchedulerServiceInstaller\WebsitePanel.SchedulerServiceInstaller.csproj" Properties="Configuration=$(BuildConfiguration);DefineSolutionProperties=false"/>
|
||||
|
||||
<XmlUpdate XmlFileName="$(EnterpriseServerBuild)\bin\WebsitePanel.SchedulerService.exe.config" Xpath="//configuration/connectionStrings/add/@connectionString" Value="${installer.connectionstring}" />
|
||||
<XmlUpdate XmlFileName="$(EnterpriseServerBuild)\bin\WebsitePanel.SchedulerService.exe.config" Xpath="//configuration/appSettings/add[@key=%22WebsitePanel.CryptoKey%22]/@value" Value="${installer.cryptokey}" />
|
||||
|
||||
<MSBuild Projects="$(RootFolder)\WebsitePanel.Installer\Sources\Setup.SchedulerService\Setup.SchedulerService.wixproj" Properties="Configuration=$(BuildConfiguration);DefineSolutionProperties=false">
|
||||
<Output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue