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的子文件系統。
所以將此兩個選項勾選,備份成功!
轉載于:https://blog.51cto.com/yangjunfeng/998276
總結
以上是生活随笔為你收集整理的Netbackup 添加策略_报NFS.Skipping的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: debian6 xen4.0安装 gue
- 下一篇: [github]使用——上传工程到新建的