Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
getting two directories to be the same

getting two directories to be the same

2005-03-24       - By James Cooley

 Back
Reply:     1     2     3     4     5  

rsync will let you sync up two directories on the same system.  Just
run it as if the nfs mount was a local filesystem like so:

rsync -a /nfs/source/mount /local/destination/directory



By default, rsync will not delete files from the destination that do
not exist in the source directory

--James Cooley




On Mar 24, 2005, at 8:31 PM, 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, telnet, rsync.  It allows limited ftp and it allows nfs.
>
> Steve
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list