AIX5L系统的备份和恢复.ppt_第1页
AIX5L系统的备份和恢复.ppt_第2页
AIX5L系统的备份和恢复.ppt_第3页
AIX5L系统的备份和恢复.ppt_第4页
AIX5L系统的备份和恢复.ppt_第5页
已阅读5页,还剩43页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce AIX 5L 1 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 本课程主要内容 一、AIX系统中的备份类型和介质的选择 二、常用的备份和恢复工具:tar,cpio,dd,fcopy 和pax 三、使用磁带的命令:tctl,mt和tcopy 四、用mksysb备份带的数据分布结构 五、恢复mksysb备份及克隆一个系统 六、用savevg备份一个用户卷组和用restvg恢复一 个用户卷组 七、用backup命令备份文件或文件系统 八、用restore命令恢复文件 2 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 1.1.1备份类型 系统备份 完全备份 增量备份 3 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 1.1.2 备份介质 软磁盘 磁带 CD/DVD 4 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 1.1.3 备份和恢复的流程 Aix系统中的数据类型: 系统数据:操作系统及其扩展 用户数据:用户定义的文件系统中的数据 注意:系统升级及配置更新后,应做一次系统备份( system backup ),且要对其他文件系统做一次完全备份( full backup ). 5 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 1.2备份/恢复工具 1.2.1 常用来备份的命令 tar命令用于归档文件. cpio该命令拷贝文件进出存储器和目录 dd该命令读取输入文件或标准输入进行指定的改变,然 后拷贝转换后的数据到输出文件或标准输出.可以指定 I/O块大小来更好匹配物理I/O. pax可以归档超过2G的系统dump和镜象. 6 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce makesysb创建一个rootvg安装镜象到一个文件或一 个可引导的磁带. savevg该命令保存非rootvg backup在备份介质上创建文件备份,有两种方式:指 定文件备份和整个系统备份(以i节点) restore该命令恢复用backup命令创建的归档文件. tctl该命令控制磁带设备. 7 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 1.2.2 tar命令及其参数 -x从归档文件中解压文件 -c创建新归档文件并写入文件 -t以文件在归档中的顺序显示文件 -r 把备份的文件写到备份介质上已有文件的后面 -f Arch使用arch变量作为被读写的归档文件名 -p指明恢复时,使用原文件的权限而忽略现有的 umask设置 -v处理时列出每个文件的名字 例如: # tar -cv -f /dev/rmt0 /usr # tar -rv -f /dev/fd0 myfile # tar -xv -f /dev/rmt0 8 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce 1.2.3 cpio命令及其参数 n-i从标准输入读取被cpio o创建的归档名并从中 拷贝指定名字的文件 n-o从标准输入读取文件路径名并拷贝这些文件到 标准输出. n-c在ASCII字符表中读取头信息.如果用该参数归 档,在解压时必须也要使用 n-v列出文件名 9 IBM logo must not be moved, added to, or altered in any way. Background should not be modified. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, blue R120 | G137 | B251 Maximum length: 2 lines Slide body: 18pt Arial Regular, black Square bullet color: teal R045 | G182 | B179 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Copyright: 10pt Arial Regular, white Template release: Oct 02 For the latest, go to /ibm/presentations Optional slide number: 10pt Arial Bold, white Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements IBM logo must not be moved, added to, or altered in any way. Title/subtitle/confidentiality line: 10pt Arial Regular, white Maximum length: 1 line Information separated by vertical strokes, with two spaces on either side Slide heading: 28pt Arial Regular, light blue R204 | G204 | B255 Maximum length: 2 lines Slide body: 18pt Arial Regular, white Square bullet color: green R223 | G255 | B102 Recommended maximum text length: 5 principal points Group name: 14pt Arial Regular, white Maximum length: 1 line Indications in green = Live content Indications in white = Edit in master Indications in blue = Locked elements Indications in black = Optional elements Copyright: 10pt Arial Regular, white Optional slide number: 10pt Arial Bold, white AIX 5L System Administration Leadcom IT Serivce n-d当需要的时候创建目录 n-u无条件拷贝,相同名字会覆盖 n-m保留文件的以前修改时间.如果拷贝目录时,该 参数无用 n-B以512字节的块完成块的I/O 例如:ls |cpio -ov /dev/rfs0 find . print |cpio ov /dev/rmt0

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论