Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How should I backup to NFS

Status
Not open for further replies.
Sep 26, 2002
5
US
I am trying to backup 3 filesystems on each of 3 different servers to a NFS on a 4th server. This is on AIX 5.1. I have been doing a cp -Rp w/ some success (errors with: Too many levels of symbolic links). Is there a better way? How can I get rid of this error?

Thanks
 
you can use option "-h" in "cp" command to copy symbolic link: cp -Rph
Otherwise "cp" copy files to which symbolic links
point.
 
Hi,

if I was in your situation, I used backup command instead cp

From the NFS client enter:

supposed:
/home/host1 # host1 mount point
/home/backup a large filesystem on server4

cd /home/host1
find . | backup -ivpf /home/backup/host1.bck

(flag p stays for packed: compress )
Be careful: host1.bck may be a large file:
use a large file enable file-system and
unlimit max file size (etc/security/limits)

If you prefere have backup file already on line
instead have just a 1 big file (archive) for node use:

cd /home
find host1 | cpio -pdm /home/backup


bye.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top