Les Mikesell a écrit :
>
> 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 fin
John Doe a écrit :
> From: Niki Kovacs
>> Let's say I want to backup a bunch of configuration files with rsync, in
>> a script.
>
> See --files-from=FILE in rsync manpage
>
One general remark: I have one more reason to love this distro. I'm
posting a message about a rather quirky rsync option
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/ht
James Pearson a écrit :
>
> Does the -R option help?
>
Bingo! That's the one I've been looking for.
Thanks very much!
Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
From: Niki Kovacs
> Let's say I want to backup a bunch of configuration files with rsync, in
> a script.
See --files-from=FILE in rsync manpage
JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
On Wed, Oct 28, 2009 at 12:18 PM, Niki Kovacs wrote:
> Hi,
>
> I have a bit of a tricky question about rsync.
>
> Let's say I want to backup a bunch of configuration files with rsync, in
> a script.
>
> What I don't want to do : a full snapshot of /etc.
> What I want to do : backup only those file
Niki Kovacs wrote:
> Hi,
>
> rsync -av /etc/httpd/conf/httpd.conf destinationfolder/
>
> I get something like :
>
> destinationfolder/httpd.conf
This is normal because your copying a file not a tree
>
> QUESTION (at last) : is there a way rsync can somehow add the full file
> path, so the end res
Niki Kovacs wrote:
>
> 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 ?
Does the -R option help?
James Pearson
__
On Wed, Oct 28, 2009 at 5:18 PM, Niki Kovacs wrote:
> Hi,
>
> I have a bit of a tricky question about rsync.
>
> Let's say I want to backup a bunch of configuration files with rsync, in
> a script.
>
> What I don't want to do : a full snapshot of /etc.
> What I want to do : backup only those files
9 matches
Mail list logo