Re: Rsync on a single server

2010-04-28 Thread Henri Shustak
>>> I seem to have been successful in copying files from one of the domains to >>> the other using the following: >>> rsync -auvn /path/to/source/directory /path/to/destination/directory >>> >>> I can only assume everything new/changed was copied as I now need the mysql >>> database copied from on

Source directory without a trailing slash

2010-04-28 Thread Matt McCutchen
On Wed, 2010-04-28 at 22:24 +1000, David Schoen wrote: > Also when I use rsync I like to put slashes on the end of all paths as > it works closer to the way you're thinking, e.g.: > rsync -av /path/to/source/directory/ /path/to/destination/directory/ > > other wise you will probably end up with tw

Re: Rsync on a single server

2010-04-28 Thread Henri Shustak
>> I seem to have been successful in copying files from one of the domains to >> the other using the following: >> rsync -auvn /path/to/source/directory /path/to/destination/directory >> >> I can only assume everything new/changed was copied as I now need the mysql >> database copied from one doma

Re: include/exclude Problem

2010-04-28 Thread Benjamin Watkins
On 4/24/2010 8:30 AM, Michael wrote: I have a little problem to get my include / exclude working: I want to sync /etc /home and /usr/local (and all files/dirs beneath) to REMOTEHOST:/dest There are some huge files in /home which I want to exclued I have set up an include/exclude file but I stil

Re: Rsync on a single server

2010-04-28 Thread David Schoen
On 28 April 2010 12:48, Legionnaire1 wrote: > > Addendum: > I seem to have been successful in copying files from one of the domains to > the other using the following: > rsync -auvn /path/to/source/directory /path/to/destination/directory That seems a tad unlikely... close, but unlikely. The '-n