Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Backing up an NFS mounted directory
Ref. No. QNX.000009720
Category(ies) Filesystem
Issue I would like to backup my harddrive to a tape using pax. Considering that I have several NFS  mounted directories that I do not want to have archived when I do the pax command and I don't want to umount the NFS directories.
How this might be accomplished?


Solution A method of generating the file names to be backed up is using the "find" command, as in "find / | pax -w". "find" also takes a "-xdev" argument, so that it will not cross mount points.

For example:

find / -xdev | pax -w -t /dev/tp0