Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Les Mikesell
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Niki Kovacs
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread John Doe
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Jeff
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread nate
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

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread James Pearson
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 __

Re: [CentOS] Rsync and full path of filenames

2009-10-28 Thread Lucian @ lastdot.org
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