[CentOS] rsync question

Mike 1100100 at gmail.com
Mon Sep 7 22:04:01 UTC 2015


I tried your rsync command and it worked on my LAN over ssh.
The following was placed in the destination directory:

drwxr-x---  2 root smmsp 4.0K Jul 28 21:05 named/
-rw-r-----  1 root smmsp 1.6K Oct 30  2013 named.conf
-rw-r--r--  1 root smmsp 2.4K Jul 28 21:05 named.iscdlv.key
-rw-r-----  1 root smmsp  931 Jun 21  2007 named.rfc1912.zones
-rw-r--r--  1 root smmsp  487 Jul 19  2010 named.root.key


On Mon, Sep 7, 2015 at 1:05 PM, Robert Moskowitz <rgm at htt-consult.com>
wrote:

> I am trying to rsync the named files under /etc for backup purposes.  I
> tried:
>
> rsync -ah --stats --delete -e "ssh -p613 -l root" 192.168.192.2:/etc/name*
> /home/rgm/data/htt/httnet/homebase/new/etc
>
> The stats shows it sees all the files, but only moves the dir /etc/named
> and the files within it.
>
> It does not move the /etc/name* files (like /etc/named.conf).
>
> By file count, it is 'seeing' all the files, but not moving them.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list