Examples of using Cross mount points and Follow NFS in combination
By using Cross mount points and Follow NFS in combination, you can get a variety of results. Table: Results of using Cross mount point and Follow NFS in combination summarizes the possible results.
Table: Results of using Cross mount point and Follow NFS in combination
Result | ||
|---|---|---|
|
Disabled |
Disabled |
No crossing of mount points (default). |
|
Disabled |
Enabled |
Back up NFS files if the file path is (or is part of) an NFS mount. |
|
Enabled |
Disabled |
Cross local mount points but not NFS mounts. |
|
Enabled |
Enabled |
Follow the specified path across mount points to back up files and directories (including NFS), regardless of the file system where they reside. |
Note:
NetBackup specifically excludes mapped directories even if Follow NFS and Cross mount points are enabled. To back up mapped directories, include the directories in the file list.
Example 1 and Example 2 assume that the client disks are partitioned as shown in Figure: Example configuration of client disks.
Table: Legend
Disks | Description |
|---|---|
|
d1 |
Contains /(root), /usr, and /home in separate partitions. |
|
d2 |
Contains a file system named /home/njr. Mounted on /home, which is a partition on d1. |
|
d3 |
Contains a directory named /net/freddie/home that is NFS-mounted on /net/freddie |
Example 1:
Cross mount points and Follow NFS are not selected.
The backup selection list contains the following entry:
//usr/home
In this case, NetBackup considers only the directories and files that are in the same file system as the backup selection list entry. It does not back up /home/njr or /net/freddie/home.
Example 2:
Cross mount points and Follow NFS are selected.
The backup selection list only contains a forward slash:
/
In this case, NetBackup backs up all the files and directories in the tree, including those under /home/njr and /net/freddie/home.
To back up only /usr and individual files under /, leave / out of the list and separately list the files and directories you want to include. For example:
/usr /individual_files_under_root