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的子文件系统。

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

你可能感兴趣的:(nfs,follow,NBU,杨俊峰,NFS.Skipping,添加新策略)