rsync daemon

2009-09-29 Thread Kaushal Shriyan
Hi, I have followed https://help.ubuntu.com/community/rsync and successfully configured it and works fine without any issue. The question is how can i call the rsync client from the remote hosts automatically to ping the rsync daemon and fetch only the new files which is available on rsync server

rsync command exclude option

2009-07-24 Thread Kaushal Shriyan
Hi, I have a question about rsync. under /etc/ha.d/ there is a directory called resource.d I want to exclude it i have /etc/ha.d/resource.d in exclude.txt when i run rsync -av /etc/ha.d 172.20.0.3:/root/ttt/ --exclude-from=exclude.txt I still see resource.d being rsynced too on the destination hos

Re: rsync command exclude option

2008-11-26 Thread Kaushal Shriyan
On Wed, Nov 26, 2008 at 7:05 PM, Michal Soltys <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > >> I want only .sql files to be rsynced to the destination host. >> >> when i do rsync -avz oldUnicelFiles hostB:/home/kaushal >> --include-from=include

Re: rsync command exclude option

2008-11-26 Thread Kaushal Shriyan
On Wed, Nov 26, 2008 at 5:28 PM, Michal Soltys <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan wrote: > >> Hi >> >> I do rsync -avz oldUnicelFiles hostB:/home/kaushal >> --exclude-from=exclude.txt >> but it rsynced the excluded fi

rsync command exclude option

2008-11-26 Thread Kaushal Shriyan
Hi I do rsync -avz oldUnicelFiles hostB:/home/kaushal --exclude-from=exclude.txt but it rsynced the excluded files too my exclude.txt file contains /home/kaushal/oldUnicelFiles/*.gz /home/kaushal/oldUnicelFiles/*.txt Any ideas as what am i doing wrong

Re: rsync error

2008-04-04 Thread Kaushal Shriyan
On Fri, Apr 4, 2008 at 4:51 PM, Steven Hartland <[EMAIL PROTECTED]> wrote: > Log file is likely locked. > > - Original Message - From: "Kaushal Shriyan" > <[EMAIL PROTECTED]> > > > > > hi > > > > I have the script http://pas

rsync error

2008-04-04 Thread Kaushal Shriyan
hi I have the script http://pastebin.com/d4b062d28 and the roots cron entry are as below 30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh I am getting the below error building file list ... rsync: opendir "/var/lib/mysql/wordpress" failed: Permission denied (13) done mysql/ib_logfile0 mysql/

Re: rsync errors

2008-03-27 Thread Kaushal Shriyan
On Thu, Mar 27, 2008 at 7:56 PM, Kaushal Shriyan <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 26, 2008 at 6:21 PM, Matt McCutchen <[EMAIL PROTECTED]> wrote: > > On Tue, 2008-03-25 at 23:21 +0530, Kaushal Shriyan wrote: > > > How do i set the "sms&quo

Re: rsync errors

2008-03-27 Thread Kaushal Shriyan
On Wed, Mar 26, 2008 at 6:21 PM, Matt McCutchen <[EMAIL PROTECTED]> wrote: > On Tue, 2008-03-25 at 23:21 +0530, Kaushal Shriyan wrote: > > How do i set the "sms" user on hostaa to have permission to set > > permissions on > > /var/lib/mysql? > >

Re: rsync errors

2008-03-25 Thread Kaushal Shriyan
On Tue, Mar 25, 2008 at 10:12 PM, Paul Slootman <[EMAIL PROTECTED]> wrote: > On Tue 25 Mar 2008, Kaushal Shriyan wrote: > > > > I am running the command > > > > /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ > > > /tmp/rsync-${TIMESTAM

rsync errors

2008-03-25 Thread Kaushal Shriyan
Hi I am running the command /usr/bin/rsync -avO /var/lib/mysql [EMAIL PROTECTED]:/var/lib/ > /tmp/rsync-${TIMESTAMP}.log 2>&1 I am getting the below error in the log file mysql/ rsync: failed to set permissions on "/var/lib/mysql": Operation not permitted (1) rsync: failed to open "/var/lib/mys