sybase 整库 备份 使用 dump load 以及启动 停止Sybase
2007-05-09 14:06
411 查看
首先确保备份服务器正常运行 startserver -f RUN_CHQ_WEB_BS
启动sybase数据库sybase@CHQWEB:/sybase/ASE-12_5/install> ./startserver -f RUN_DB_WEB
然后进入isql
sybase@CHQWEB:/sybdata> isql -U sa -P -S CHQWEB
备份数据库
dump database webdb to "/apps/webdb.dat"
还原数据库
load database webdb from "/apps/webdb.dat"
因为文件的大小是受限制的所以有时候我们不得不备份成多个文件,大小均分 写法如下:
备份数据库
dump database webdb to "/apps/webdb1.dat stripe on /apps/webdb2.dat stripe on ... /apps/webdbn.dat "
还原数据库
load database webdb from "/apps/webdb1.dat stripe on /apps/webdb2.dat stripe on ... /apps/webdbn.dat "
停止服务命令如下:
1.shutdown
Adaptive Server
shutdown
2.shutdown with nowait
Adaptive Server
3.shutdown SYB_BACKUP
Backup Server
4.shutdown REM_BACKUP
Backup Server REM_BACKUP
启动sybase数据库sybase@CHQWEB:/sybase/ASE-12_5/install> ./startserver -f RUN_DB_WEB
然后进入isql
sybase@CHQWEB:/sybdata> isql -U sa -P -S CHQWEB
备份数据库
dump database webdb to "/apps/webdb.dat"
还原数据库
load database webdb from "/apps/webdb.dat"
因为文件的大小是受限制的所以有时候我们不得不备份成多个文件,大小均分 写法如下:
备份数据库
dump database webdb to "/apps/webdb1.dat stripe on /apps/webdb2.dat stripe on ... /apps/webdbn.dat "
还原数据库
load database webdb from "/apps/webdb1.dat stripe on /apps/webdb2.dat stripe on ... /apps/webdbn.dat "
停止服务命令如下:
1.shutdown
Adaptive Server
shutdown
2.shutdown with nowait
Adaptive Server
3.shutdown SYB_BACKUP
Backup Server
4.shutdown REM_BACKUP
Backup Server REM_BACKUP
相关文章推荐
- sybase 整库 备份 使用 dump load 以及启动 停止Sybase
- sybase 整库 备份 使用 dump load 以及启动 停止Sybase
- redis-dump-load数据导出导入备份工具使用介绍
- Rhel6服务器dump备份和restore恢复以及dd的使用
- centos7中使用yum安装tomcat以及它的启动、停止、重启
- CentOS7 增加tomcat 启动,停止,使用systemctl进行配置
- MySQL 安装和启动服务,“本地计算机 上的 MySQL 服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止。”
- cocos2dx三种定时器的使用以及停止schedule,scheduleUpdate,scheduleOnce
- Oracleoradb12home1tnslistener服务启动后停止,某些服务在未由其他服务或程序使用时将自动停止。
- linux上nginx的安装启动以及配合php-fpm的使用
- Eclipse中Tomcat Server启动后马上又自动停止报错Address已经使用8005端口 Can't assign requested address (Bind failed)
- uboot 使用 以及 启动代码分析(转载网络)
- Pentaho Business Analytics 整个安装,启动,使用和停止的过程(windows7)
- postgresql的基本使用,以及数据库的备份与恢复
- MySQL服务器的启动和停止以及10061报错处理
- linux停止和查看启动服务的命令使用方法
- svn使用dump和hotcopy进行脚本备份
- Android For JNI(一)——JNI的概念以及C语言开发工具dev-c++,编写你的第一个C语言程序,使用C启动JAVA程序
- SVN备份及其还原 — dump/load方法
- SQL SERVER 服务启动后停止,某些服务由其它服务或程序使用时将自动停止