Re: Rsync and full path of filenames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Niki Kovacs wrote:

> rsync -av /etc/httpd/conf/httpd.conf destinationfolder/
> 
> I get something like :
> 
> destinationfolder/httpd.conf
> 
> QUESTION (at last) : is there a way rsync can somehow add the full file 
> path, so the end result is more like :
> 
> destinationfolder/etc/httpd/conf/httpd.conf ?
> 
> Any suggestions ?

Personally, I'd run backuppc (http://backuppc.sourceforge.net/ or the 
epel package) and take the whole tree because (a)it will compress the 
files and link all duplicates so it doesn't waste that much space, (b) 
when you need a copy you'll have it instead of finding out it was one 
you didn't bother to include, and (c) it won't take you a week to set up 
and test.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux