顾问给出了QAD的答复,这个问题,早有人提出了

全是E文,研读中

How to probkup database > 2GB to specific volume sizes ?

Fixes:

When the situation arises that:

- a backup is about to exceed the capacity of the largest backup media

available to that user (for example: a 40/80GB DLT), or

- when backing up the database, it will span more then one tape or file,

implementation of of a multi device backup needs to be considered.

To manipulate the tape or specify the next file, when Progress (using a

probkup) asks for the next volume however, Progress simply waits for

confirmation that it can proceed. Manually entering the next device or

switching tapes, is not always possible, as this process is (usually)

unattended.

In cases such as these, it is necessary to automate scripts so that it is

not necessary to manually enter the key strokes that are needed to continue

with the backup procedure. Arranging the unattended load of the second media

is discussed in this Solution.

To assist in automating this procedure, the probkup utility must be run

interactively (at least once) so that the necessary keystrokes can be

captured and recorded. Once the keystrokes have been recorded, they can be

entered into a text file and redirect into the probkup procedure as follows:

probkup dbname /dev/rmt1 -vs n < input.file

WHERE:

+ dbname is your database name,

+ /dev/rmt1 is the first backup volume to be created

+ -vs parameter indicates the volume size - that is, the number of blocks

that can be written to each volume.

Previously, in V7 and before, the default block size on the OS dictated the

database block size, hence, the OS blocksize was the database blocksize. The

introduction of variable block size in V8 (and higher), the -vs parameter

value now references the database block size, where units are in in database

blocks, not in Kb or Mb. In the case of tape devices, the value of n should

be set lower than the size of the tapes that are being used and greater than

the blocking factor (-bf) depending on the database block size (and the

number of Storage Areas in Version 9 and above). In the case of files, it

should be set to the considered available physical file size divided by the

database block size.

Similarly, in cases where the first tape or volume size (if backing up to a

file) has been filled and it is necessary to use a new device name or file

name, this methodology can also be employed. In such a circumstance, a new

device/file name will be prompted for as follows:

Please enter next device/file name or type "quit" to exit:

At this point, either a different file name or a device name needs to be

indicated. If the same device name is entered without changing tapes, the

backup will be overwritten. It is therefore also necessary to change tapes

or enter a different device name that has been prepared for the remaining

portion of the backup. Please note, that once this procedure has passed its

first run, it is HIGHLY recommended to follow this proofing by restoring

this backup to ensure that it was successful.

This input.file may be as simple as one line. In the following example,

however, assume that the backup is going to span 4 tapes and there are 4

different tape drives that output can be sent to.

The input.file would then read as follows:

************************ input.file ******************************

/dev/rmt2 (hard return)

/dev/rmt3 (hard return)

/dev/rmt4 (hard return)

(hard return)

************************ End of File: input.file *******************

In other words, after the initial probkup command (as displayed above) has

been executed, the next device or file name has been prompted for 3

additional times. By including the NEXT 3 devices, the input file will send

the input to the next prompt made by the probkup utility. Bear in mind that

after each new device/file name a hard return must be included in the input.

file in order to continue. The first device/file name is provided on the

command line when executing the probkup utility initially.

To restore the multivolume probkup, the exact reverse methodology is

employed, viz:

prorest dbname /dev/rmt1 -vs n < input.file

Please note, if restoring over an existing database, a "y" yes prompt will

need to be added to the "input.file" to automate the response.

Please keep in mind that it is highly recommended that this procedure is

fully tested and documented prior to implementing it into a production

environment.

Notes:

References to Written Documentation:

For additional information on this topic and an example of how to backup a

database exceeding 2GB to a multiple files please refer to:

17530, "How to PROBKUP/PROREST a DB larger than 2Gb to disk files"

linux 数据库 超出,[QAD]数据库超过2G,备份出现问题(linux)相关推荐

  1. Linux还原主配置命令,使用Dconf备份和还原Linux桌面系统设置

    今天,我们学习如何使用Dconf工具备份和恢复Linux桌面系统设置.如果你想在重新安装Linux桌面系统后传输相同的系统设置,而不必逐个手动完成这些设置,这将非常有用. 在Linux上安装Dconf ...

  2. oracle内存最多用到2g,在Oracle数据库中如何使用超过2G内存

    服务器:HPDL580G2(双CPU 6G内存)WIN2003 Enterprise Edition+ORACLE 9I 2.0.3.0 1. 首先,在boot.int中加入启动参数3G和PAE mu ...

  3. 用ghost备份和还原Linux系统

    备份是容灾的基础,是指为防止系统出现操作失误或系统故障导致数据丢失,而将全部或部分数据集合从应用主机的硬盘或阵列复制到其它的存储介质的过程.传统的数据备份主要是采用内置或外置的磁带机进行冷备份.但是这 ...

  4. 用ghost备份和还原Linux系统(一)

              备份是容灾的基础,是指为防止系统出现操作失误或系统故障导致数据丢失,而将全部或部分数据集合从应用主机的硬盘或阵列复制到其它的存储介质的过程.传统的数据备份主要是采用内置或外置的磁带 ...

  5. Linux系统下MySQL数据库的备份和恢复

    当我们MySQL数据库保存重要数据的时候,备份工作极为重要.本文介绍如何使用mysqldump备份和恢复数据,使用该方法,可以将数据库中的数据备份成一个文本文件,也可将备份好的数据库迁移到另一台的服务 ...

  6. linux 自动配置 mysql数据库,Linux下配置mysql数据库主从自动备份

    当网站内容越来越多的时候,数据库也变得越来越大了.如果不小心误删了,或者被攻击了,那就什么都没有了,一切归零.到现在博主也认识到了数据库的重要性,于是决定研究研究数据库的自动备份.如果你是土豪那可以直 ...

  7. linux sybase 自动备份,Linux平台下Sybase数据库备份方法分析.doc

    Linux平台下Sybase数据库备份方法分析 Linux平台下Sybase数据库备份方法分析 摘 要:对于从事信息系统管理的人员来说,掌握数据库的备份方法在工作中尤为重要.当本地数据出错或者磁盘损坏 ...

  8. linux怎么把mysql数据库备份还原,MySQL数据库备份和还原

    MySQL数据库备份和还原 打开cmd命令行,一定不是mysql的命令行,我第一次就错在这个地方,郁闷了很久 备份MySQL数据库的命令 mysqldump -hhostname -uusername ...

  9. aix oracle备份命令,Aix/Linux下自动备份oracle数据库

    曾经有个同事,来回操作开发和生产的数据库,结果误删了生产的数据库,那种心情我想不是一般人能理解的,虽然说oracle可以有方法还原,但并不是彻底的. 所以,在工作中,不管是开发还是维护,备份数据库是非 ...

最新文章

  1. 求二叉树中第K层结点的个数
  2. 浏览新闻oracle的数据结构,oracle 数据结构探索之旅二 [2]
  3. 大话中文文本分类之DPCNN
  4. php http请求封装
  5. MapReduce编程实战之“初识”
  6. 【网络安全】简要分析下Chrome-V8-Issue-762874
  7. android 6.0版本名字,棉花糖Marshmallow 是Android 6.0的名字
  8. 网站SEO优化中内部链接的优化
  9. ubuntu安装sublime3并配置python3环境
  10. 华为研制鸿蒙小米呢,直追华为鸿蒙!小米自研发操作系统发布
  11. python网格搜索优化参数_python - pyspark:在网格搜索为空后获得最佳模型的参数{} - 堆栈内存溢出...
  12. 2. node.js 模块管理机制
  13. Java、JSP水费管理系统
  14. wordpress比其它phpcms有什么优势,看完就知道了
  15. 联想台式计算机 恢复出厂设置,lenovo电脑如何恢复出厂设置_lenovo台式电脑恢复出厂设置操作方法-win7之家...
  16. 运行项目页面显示“该网页无法正常运作”的解决办法 - 前端篇
  17. 掌握IDEA的这两款插件,写“破解补丁”分分钟
  18. 【水汐のpython】 用python抓取外网的本子站并获取本子封面和信息
  19. 【视频学习】李立恒 《阿里铁军销售真经》(完结)
  20. 90 后美女独家秘籍:从小白到 AI 算法工程师

热门文章

  1. 【Core Swagger】.NET Core中使用swagger
  2. CSS3 Transitions, Transforms和Animation的使用
  3. Linux下shell命令 1
  4. [转]Java5泛型的用法,T.class的获取和为擦拭法站台
  5. 在codeigniter中使用Cache_Lite来缓存
  6. 海德堡大学 BMCV 组(Master/Diploma/Bachelor)研究机会,生物医学图像分析方向
  7. CV Code | 本周新出计算机视觉开源代码汇总(含图像修复、目标检测、医学图像分割、度量学习等)...
  8. CV Code | 本周计算机视觉新出开源代码汇总(含目标检测、深度估计、视频识别、网络加速算法等)...
  9. 重磅!清华商汤开源CVPR2018超高精度人脸对齐算法LAB
  10. NeurIPS 2020 | 基于“单目标域样本”的领域自适应方法