<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_Admin_Backup_data" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SQL Server 数据库的备份与恢复</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<script type="Text/JavaScript" language="javascript">
	function Check_copy(){
		if (document.myform.databasename.value==""){
			document.myform.databasename.focus();
			return false;
			}
		}
</script>
</head>
<body>

<table style="background-color:#A6D7FF; width:100%" border="0" cellpadding="0" cellspacing="1">

  <tr>
    <td style="height:24" class="topbg"><div align="center"><strong>Sql server 备份及恢复</strong></div></td>
  </tr>
</table>
<table style="width:100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td style="height:27; width:30" align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></td>
    <td><a href="Admin_site_config.aspx">网站信息配置</a> | <a href="channel_manage.aspx">文章频道管理</a> | <a href="Admin_Classlist.aspx">行业类别管理</a> | <a href="Ad_hdp_add.aspx">幻灯广告管理</a> | <a href="Admin_xunjialist.aspx">留言询价管理</a><a href="Ad_hdp_add.aspx"></a> | <a href="Links_manger.aspx">友情链接管理</a> | 

 
    <a href="Ad_info_tuijian.aspx">信息推荐管理</a> </td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="2" cellspacing="1" class="border">
<form method="post" name="myform" onsubmit="return Check_copy();">
  <tr class="tdbg">
    <td style="height:1" colspan="2" align="right" class="Title">
      <div align="center"><strong>MSSQL数据库备份、恢复系统</strong>
      </div></td>
    </tr>
  <tr class="tdbg">
    <td style="height:2; width:40%" align="right">选择操作：</td>
    <td><input name="act" type="radio" id="act_backup"  value="backup" checked="checked" />
      <label for="act_backup">备份</label>
<input type="radio" name="act" id="act_restore" value="restore" />
<label for="act_restore">恢复</label></td>
  </tr>
  <tr class="tdbg">
    <td style="height:2" align="right">服务器地址：</td>
    <td><input name="sqlserver" type="text" id="sqlserver" value="<%=request("sqlserver")%>" size="40" /></td>
  </tr>
  <tr class="tdbg">
    <td style="height:2" align="right">登录用户名：</td>
    <td><input name="sqlname" type="text" id="sqlname" value="<%=request("sqlname")%>" size="40" /></td>
  </tr>
  <tr class="tdbg">
    <td style="height:11" align="right">登录密码：</td>
    <td><input name="sqlpassword" type="password" id="sqlpassword" value="<%=request("sqlpassword")%>" size="40" /></td>
  </tr>
  <tr class="tdbg">
    <td style="height:22" align="right">数据库名：</td>
    <td><input name="databasename" type="text" value="<%=request("databasename")%>" size="40" /></td>
  </tr>
  <tr class="tdbg">
    <td style="height:22" rowspan="2" align="right">文件路径：</td>
    <td><input name="bak_file" type="text" value="<%=Request.ServerVariables("APPL_PHYSICAL_PATH")%>$dataname.bak" size="40" /></td>
  </tr>
  <tr class="tdbg">
    <td>(备份或恢复的文件路径，默认为网站系统根目录)--请不要修改<span class="20">$dataname.bak</span></td>
  </tr>
  <tr class="tdbg">
    <td style="height:22">&nbsp;</td>
    <td><input type="submit" value="　确　定　" /></td>
  </tr></form>
</table>
</body>
</html>
