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/
On Friday 21 March 2008, Kaushal Shriyan wrote:
> On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon
> <[EMAIL PROTECTED]>
>
> wrote:
> > On Friday 21 March 2008, Kaushal Shriyan wrote:
> > > Hi
> > >
> > > [EMAIL PROTECTED]
> > > 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/
> > >
>
Quoting Kaushal Shriyan <[EMAIL PROTECTED]>:
Correct me if i am wrong please. I want to understand your script
step 1 : put the above code in text file and name it as rsync-host77.sh in
the folder /home/kaushal in the machine where rsync command will execute
step 2 :
cd /home/kaushal
$crontab
On Fri, Mar 21, 2008 at 2:03 PM, Collin Starkweather <
[EMAIL PROTECTED]> wrote:
> Quoting Kaushal Shriyan <[EMAIL PROTECTED]>:
>
> > On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon <[EMAIL PROTECTED]
> >
> > wrote:
> >
> >> On Friday 21 March 2008, Kaushal Shriyan wrote:
> >> > Hi
> >> >
> >> > [
Quoting Kaushal Shriyan <[EMAIL PROTECTED]>:
On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon <[EMAIL PROTECTED]>
wrote:
On Friday 21 March 2008, Kaushal Shriyan wrote:
> Hi
>
> [EMAIL PROTECTED]
> 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/
Run rsync through a script that
On Fri, Mar 21, 2008 at 12:56 PM, Alan McKinnon <[EMAIL PROTECTED]>
wrote:
> On Friday 21 March 2008, Kaushal Shriyan wrote:
> > Hi
> >
> > [EMAIL PROTECTED]
> > 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/
> >
> > If i put this two lines in crontab it will run correctly,My
> >
On Friday 21 March 2008, Kaushal Shriyan wrote:
> Hi
>
> [EMAIL PROTECTED]
> 0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/
>
> If i put this two lines in crontab it will run correctly,My
> requirement was to create a script, this script should indicate
> success or failures and th
Hi
[EMAIL PROTECTED]
0 18 * * * rsync -av /var/lib/mysql [EMAIL PROTECTED]:/var/lib/
If i put this two lines in crontab it will run correctly,My requirement was
to create a script, this script should indicate success or failures and the
reason for failure
Any ideas
Thanks and Regards
Kaushal
8 matches
Mail list logo