Re: Automate rsync w/ authentication

2009-07-13 Thread Piet van Oostrum
> Bryan (B) wrote: >B> On Jul 10, 12:03 pm, mgi...@motorola.com (Gary Duzan) wrote: >>> In article >>> <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>, >>> >>> Bryan   wrote: >>> >>> >rsyncExec = '/usr/bin/ssh' >>> >source = 'r...@10.0.45.67:/home/bry/jquery.lookup' >>>

Re: Automate rsync w/ authentication

2009-07-13 Thread Bryan
On Jul 10, 12:03 pm, mgi...@motorola.com (Gary Duzan) wrote: > In article > <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>, > > Bryan   wrote: > > >rsyncExec = '/usr/bin/ssh' > >source = 'r...@10.0.45.67:/home/bry/jquery.lookup' > >dest = '/home/bry/tmp' > >rshArg = '-e "/usr/

Re: Automate rsync w/ authentication

2009-07-11 Thread Gary Duzan
In article <3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com>, Bryan wrote: > >rsyncExec = '/usr/bin/ssh' >source = 'r...@10.0.45.67:/home/bry/jquery.lookup' >dest = '/home/bry/tmp' >rshArg = '-e "/usr/bin/ssh -i /home/bry/keys/brybackup.key"' >args = [rsyncExec, '-a', '-v', '--d

Re: Automate rsync w/ authentication

2009-07-10 Thread Piet van Oostrum
> Bryan (B) wrote: >B> I tried removing the internal quotes, and splitting '-e' from the >B> other arguments. I still get the same ssh -h output however: >B> rshArg = '/usr/bin/ssh -i /home/bry/keys/brybackup.key' >B> args = [rsyncExec, '-a', '-v', '--dry-run', '-e', rshArg, source, >B> des

Re: Automate rsync w/ authentication

2009-07-10 Thread Bryan
On Jul 10, 12:43 pm, Piet van Oostrum wrote: > > Chris Rebert (CR) wrote: > >CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: > >>> I am trying to automate rsync to backup server A from server B.  I > >>> have set up a private/public key between the two servers so I don't > >>> have to enter

Re: Automate rsync w/ authentication

2009-07-10 Thread Chris Rebert
On Fri, Jul 10, 2009 at 12:43 PM, Piet van Oostrum wrote: >> Chris Rebert (CR) wrote: > >>CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: I am trying to automate rsync to backup server A from server B.  I have set up a private/public key between the two servers so I don't have

Re: Automate rsync w/ authentication

2009-07-10 Thread Piet van Oostrum
> Chris Rebert (CR) wrote: >CR> On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: >>> I am trying to automate rsync to backup server A from server B.  I >>> have set up a private/public key between the two servers so I don't >>> have to enter a password when using rsync.  Running rsync manually >

Re: Automate rsync w/ authentication

2009-07-10 Thread Chris Rebert
On Fri, Jul 10, 2009 at 9:13 AM, Bryan wrote: > I am trying to automate rsync to backup server A from server B.  I > have set up a private/public key between the two servers so I don't > have to enter a password when using rsync.  Running rsync manually > with the following command works fine: > rs

Automate rsync w/ authentication

2009-07-10 Thread Bryan
I am trying to automate rsync to backup server A from server B. I have set up a private/public key between the two servers so I don't have to enter a password when using rsync. Running rsync manually with the following command works fine: rsync -av --dry-run -e "/usr/bin/ssh -i /home/bry/keys/bry