Netbackup 添加策略_报NFS.Skipping
?接到中心電郵,去西紅門營業(yè)廳配合操作Oracle備份與netbackup策略設(shè)定(將Oracle導(dǎo)出數(shù)據(jù)用nbu進(jìn)行備份到磁帶中)期間有一個(gè)小的注意點(diǎn)需要指出,防止大家跟我一樣忽略平時(shí)不經(jīng)常用的一些參數(shù)。
下面是在oracle 10g下使用exp導(dǎo)出用戶下面所有對(duì)象跟表
exp user/pwd file=/dir/xxx.dmp log=xxx.log owner=zh
...................................................
然后我是將放到了存儲(chǔ)上,然后我通過nfs mount的形式,找到了nbu的client端,進(jìn)行mount,讓操作系統(tǒng)可以識(shí)別到我們存放exp導(dǎo)出的dmp文件與日志,如我們事例中所示/ssbak目錄。 下面我們可以在Nbu圖形管理界面進(jìn)行新建策略,把這個(gè)目錄備份一下即可。注意紅色標(biāo)注處,原先我并沒有勾選此選項(xiàng),看下一個(gè)圖
設(shè)定了一個(gè)全備策略,并且制定失效時(shí)間兩年
客戶端的選擇與要備份的目錄
我在監(jiān)視器中查看當(dāng)前備份的任務(wù)計(jì)劃,發(fā)現(xiàn)
?
發(fā)現(xiàn)有報(bào)錯(cuò)信息:/ssbak is on file system type NFS.Skipping
這時(shí)候查看關(guān)于NFS在nbu中的設(shè)定,我發(fā)現(xiàn)有一個(gè)參數(shù)follow nfs。而且在賽門鐵克官網(wǎng)有一個(gè)這樣的說明:
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 ? ? ? ? ?
然而選項(xiàng)follow NFS與Cross mount point參數(shù)定義
Follow NFS
指定是否備份NFS的文件系統(tǒng)(遠(yuǎn)程在本地安裝的文件系統(tǒng))
Cross Mount Point(交叉文件系統(tǒng))
在UNIX系統(tǒng)中,每一個(gè)文件系統(tǒng)都有一個(gè)Mount點(diǎn),這個(gè)Mount點(diǎn)可能位于整個(gè)系統(tǒng)的任意位置。當(dāng)一個(gè)文件系統(tǒng)的Mount點(diǎn)位于另一個(gè)文件系統(tǒng)之下時(shí),我們稱之為交叉文件系統(tǒng)。如:/文件系統(tǒng)包括/usr和/tmp的子文件系統(tǒng)。
所以將此兩個(gè)選項(xiàng)勾選,備份成功!
轉(zhuǎn)載于:https://blog.51cto.com/yangjunfeng/998276
總結(jié)
以上是生活随笔為你收集整理的Netbackup 添加策略_报NFS.Skipping的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: debian6 xen4.0安装 gue
- 下一篇: [github]使用——上传工程到新建的