getting two directories to be the same

David Bear David.Bear at asu.edu
Fri Mar 25 02:32:37 UTC 2005


On Thu, Mar 24, 2005 at 07:31:34PM -0600, Steve Buehler wrote:
> At 05:27 PM 3/24/2005, you wrote:
> >>I am doing backups of a remote server by mounting the remote server using
> >>NFS.  I am now running into the same problem that I was having trying
> >>different ftp programs to mirror it.  The problem is deleting files on the
> >>backup server that are not on the remote server.  There is not ssh access
> >>to the remote server and the ftp daemon on the remote server sucks to say
> >>the least.  Anyway, I have the remote server NFS'd to the local (backup)
> >>server.  Is there an easy way to mirror the directory recursively from the
> >>nfs drive to the local drive?  I NEVER want to delete anything from the
> >>NFS'd drive.
> >
> >rsync seems to be your best bet :)
> >It will also give you the ability to do away with your nfs mount since 
> >rsync can function via ssh and other less secure protocols not requiring 
> >the filesystem to be local, this the r in rsync.
> 
> Thanks, but nope.  I have a choice of ftp, and nfs.  rsync is one of the 
> first things that I had checked into when we took this job to do a remote 
> backup for a customer.  Will rsync work the nfs mount like it was 
> remote?  The customer is running a Snap server that doesn't allow ssh, 

rsync will work. just have the source or dest of the rsync be your nfs
mount.  I do this all the time with smbmounted file systems. 

> telnet, rsync.  It allows limited ftp and it allows nfs.
> 
> Steve
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
David Bear
phone: 	480-965-8257
fax: 	480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"




More information about the redhat-list mailing list