免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2021 | 回复: 4
打印 上一主题 下一主题

备份怎么出错了 菜的 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-10 12:08 |只看该作者 |倒序浏览
我查了网上的资料 找了半天没找到 无赖之下 只好厚着脸皮来问 知道大虾门的时间很宝贵 ,我也不想 ,但想弄明白,大虾们指点下 我实在是菜。
$ isql -Usa -P123#abc -Ssinohydro

1> sp_helpdb
2> go
name                     db_size       owner                    dbid
         created
         status

------------------------ ------------- ------------------------ ------
         --------------
         -----------------------------------------------------------------------
-------------------------------
DingDang2006                  176.0 MB sa                            6
         May 27, 2006
         no options set

master                         50.0 MB sa                            1
         Apr 28, 2006
         mixed log and data

model                           2.0 MB sa                            3
         Apr 28, 2006
         mixed log and data

sinohydro                     500.0 MB sa                            4
         May 09, 2006
         select into/bulkcopy/pllsort, mixed log and data

sinohydroOA                  1760.0 MB sa                            5
         Aug 27, 2006
         no options set

sybsystemdb                     2.0 MB sa                        31513
         Apr 28, 2006
         mixed log and data

sybsystemprocs                120.0 MB sa                        31514
         Apr 28, 2006
         trunc log on chkpt, mixed log and data

tempdb                        503.0 MB sa                            2
         Sep 29, 2006
         select into/bulkcopy/pllsort, trunc log on chkpt, mixed log and data


(1 row affected)
(return status = 0)
1> dump database DingDang2006 to "/sybase/datasinohydro"
2> go
Msg 7205, Level 17, State 2:
Server 'sinohydro', Line 1:
Can't open a connection to site 'SYB_BACKUP'.  See the error log file in the SQL
Server boot directory.
Msg 7205, Level 18, State 3:
Server 'sinohydro', Line 1:
Can't open a connection to site 'SYB_BACKUP'.  See the error log file in the SQL
Server boot directory.

我要备份DingDang2006 怎么备不了啊
(环境:用win NT 备份远程UNIX下的SYbase数据库,sybase数据库用户名sa,密码123#abc,数据库名字sinohydro)

论坛徽章:
0
2 [报告]
发表于 2006-10-10 13:43 |只看该作者
检查备份服务是否配置正确
如配置正确,检查是否运行

论坛徽章:
0
3 [报告]
发表于 2006-10-10 14:56 |只看该作者
谢谢 现在启动了
现在出现
1> dump database DingDang2006 to "/datasinohydro"
2> go
Backup Server session id is:  11.  Use this value when executing the
'sp_volchanged' system stored procedure after fulfilling any volume change
request from the Backup Server.
Backup Server: 4.41.1.1: Creating new disk file /datasinohydro.
Backup Server: 4.141.2.40: [7] The 'open' call failed for device
'/datasinohydro' with error number 13 (Permission denied). Refer to your
operating system documentation for further details.
Msg 8009, Level 16, State 1:
Server 'sinohydro', Line 1:
Error encountered by Backup Server.  Please refer to Backup Server messages for
details.

还是不行  我就是想把他备份到本身的服务器的一个目录下

[ 本帖最后由 zhuyong486 于 2006-10-10 15:03 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2006-10-10 17:09 |只看该作者
指定備份目錄的路徑。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
5 [报告]
发表于 2006-10-11 11:59 |只看该作者
"/datasinohydro"
这是unix下的写法。。
WIN,"c:\datasinohydro"
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP