Netbackup 添加策略_报NFS.Skipping

简介:

 接到中心电邮,去西红门营业厅配合操作Oracle备份与netbackup策略设定(将Oracle导出数据用nbu进行备份到磁带中)期间有一个小的注意点需要指出,防止大家跟我一样忽略平时不经常用的一些参数。

下面是在oracle 10g下使用exp导出用户下面所有对象跟表

exp user/pwd file=/dir/xxx.dmp log=xxx.log owner=zh

...................................................

然后我是将放到了存储上,然后我通过nfs mount的形式,找到了nbu的client端,进行mount,让操作系统可以识别到我们存放exp导出的dmp文件与日志,如我们事例中所示/ssbak目录。
下面我们可以在Nbu图形管理界面进行新建策略,把这个目录备份一下即可。

注意红色标注处,原先我并没有勾选此选项,看下一个图

设定了一个全备策略,并且制定失效时间两年

客户端的选择与要备份的目录

我在监视器中查看当前备份的任务计划,发现

 

发现有报错信息:/ssbak is on file system type NFS.Skipping

这时候查看关于NFS在nbu中的设定,我发现有一个参数follow nfs。而且在赛门铁克官网有一个这样的说明:

By default, NetBackup does not back up the following file or file types:
  • NFS files or directories, unless you set Follow NFS. These files are likely backed up by the home host.
  • Files or directories in a different file system if you do not set Cross Mount Points or include those mount points in
  • Files or directories with path lengths longer than 1023 characters.
  • Files or directories where the operating system does not return inode information (the lstat system call failed).
  • Directories that NetBackup cannot access (cannot use the cd command to access).
  • On a disk managed by Storage Migrator, migrated files or directories where Storage Migrator does not return inode information (mig_stat fails). Note that NetBackup Server does not support Storage Migrator.
  • Socket special files (named pipes are backed up).
  • Door files
  • Locked files when mandatory locking is enabled by an application that currently has the file open.
  • Busy files. If a file is open, NetBackup backs up the last saved version of the file.

 NetBackup automatically excludes the following file system types on most platforms:

  • cdrom (all UNIX/Linux platforms)
  • cachefs (AIX, Solaris, SGI, UnixWare)
  • devpts (Linux)
  • mntfs (Solaris)
  • proc (UNIX/Linux platforms; does not exclude automatically for AIX, so /proc must be added manually to exclude list. If not added manually, partially successful backups may result when using the ALL_LOCAL_DRIVES directive on AIX)
  • tmpfs (Linux)
  • usbdevfs          

然而选项follow NFS与Cross mount point参数定义

Follow NFS
指定是否备份NFS的文件系统(远程在本地安装的文件系统)

Cross Mount Point(交叉文件系统)

在UNIX系统中,每一个文件系统都有一个Mount点,这个Mount点可能位于整个系统的任意位置。当一个文件系统的Mount点位于另一个文件系统之下时,我们称之为交叉文件系统。如:/文件系统包括/usr和/tmp的子文件系统。

所以将此两个选项勾选,备份成功!



本文转自yangjunfeng 51CTO博客,原文链接:http://blog.51cto.com/yangjunfeng/998276

相关文章
|
机器学习/深度学习 存储 人工智能
极智AI | 周易AIPU算法部署仿真测试
本教程详细记录了使用周易 AIPU 进行算法部署仿真测试的方法,带大家尝尝鲜。
463 0
|
3月前
|
安全 数据可视化 网络安全
AiPy 工具带可视化面板,Windows 账户安全项一目了然
本文介绍了多种 Windows 基线核查工具,包括 WindowsBaselineAssistant、MBSA、PowerShell 脚本和 BaselineCheck_CDF,分析其优缺点。最终尝试使用 Aipy 开发一款新型工具,具备可视化界面,支持账户策略、系统配置等安全检查,自动生成带修复建议的报告,适用于应急响应后的安全审计。
|
12月前
|
Oracle Java 关系型数据库
Linux下JDK环境的配置及 bash: /usr/local/java/bin/java: cannot execute binary file: exec format error问题的解决
如果遇到"exec format error"问题,文章建议先检查Linux操作系统是32位还是64位,并确保安装了与系统匹配的JDK版本。如果系统是64位的,但出现了错误,可能是因为下载了错误的JDK版本。文章提供了一个链接,指向Oracle官网上的JDK 17 Linux版本下载页面,并附有截图说明。
Linux下JDK环境的配置及 bash: /usr/local/java/bin/java: cannot execute binary file: exec format error问题的解决
|
SQL Oracle 关系型数据库
MySQL单表千万级数据查询优化大家怎么说(评论有亮点)
单表千万级数据是MySQL查询的一个坎,可能还不是天花板。“一个人走的慢,一群人走的快”,通过讨论可以发现MySQL千万数据的全貌大概是怎样的。
447 0
|
Java
java通过idea启动查看类加载来源信息
java通过idea启动查看类加载来源信息
344 0
|
存储 Prometheus 索引
日志系统新贵Loki,确实比笨重的ELK轻
日志系统新贵Loki,确实比笨重的ELK轻
328 0
|
Ubuntu Python
No module named ‘_lzma’
No module named ‘_lzma’
4121 0
|
存储 SQL 监控
Oracle BCT(Block Change Tracking)与增量备份---发表在数据和云
BCT(Block Change Tracking)是Oracle从10g开始有的特性。BCT的原理是记录数据文件里每个数据块的变化,并把这些变化信息保存在BCT的跟踪文件中。
470 0