sybase ASE 整库 备份
首先确保备份服务器正常运行 startserver -f RUN_CHQ_WEB_BS
启动sybase数据库sybase@CHQWEB:/sybase/ASE-12_5/install>./startserver-fRUN_DB_WEB
然后进入isql
sybase@CHQWEB:/sybdata>isql-Usa-P-SCHQWEB
备份数据库
dumpdatabasewebdbto"/apps/webdb.dat"
还原数据库
load database webdb from "/apps/webdb.dat"还原后必须 使用 ONLINE DATABASE
因为文件的大小是受限制的所以有时候我们不得不备份成多个文件,大小均分写法如下:
备份数据库
dumpdatabasewebdbto"/apps/webdb1.datstripeon/apps/webdb2.datstripeon.../apps/webdbn.dat"
还原数据库
loaddatabasewebdbfrom"/apps/webdb1.datstripeon/apps/webdb2.datstripeon.../apps/webdbn.dat"
停止服务命令如下:
1.shutdown
AdaptiveServer
shutdown
2.shutdownwithnowait
AdaptiveServer
3.shutdownSYB_BACKUP
BackupServer
4.shutdownREM_BACKUP
BackupServerREM_BACKUP
相关推荐
踩风火轮的乌龟 2020-01-02
miaoheping 2007-09-16
learningoracle 2011-07-24
imacoder 2011-02-16
lxypeter 2010-06-07
fightgirl 2010-04-23
huangzhe0 2008-09-11
liuyiy 2012-03-07
sunshunli 2011-10-27
maqiang0 2015-07-18
selaginella 2014-09-17
chinabluexfw 2013-10-28
askyouque 2013-02-07
Jamesshu 2012-06-06
幻象天空 2012-03-31
数据库笔记 2008-06-04
blueman0 2019-04-16
Jamesshu 2011-10-04
82427713 2011-10-04
AC即性感 2010-01-23
lmllouk 2019-04-06
奋斗 2007-08-18
nbwinpe 2007-07-21
午后红茶 2007-07-21
午后红茶 2007-04-17
hellowillness 2007-04-09
逃跑的肉丸 2006-10-12