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  bryanv...@gmail.com wrote: rsyncExec = '/usr/bin/ssh' source = 'r...@10.0.45.67:/home/bry/jquery.lookup' dest = '/home/bry/tmp' rshArg = '-e

Re: Automate rsync w/ authentication

2009-07-13 Thread Piet van Oostrum
Bryan bryanv...@gmail.com (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  bryanv...@gmail.com wrote: rsyncExec = '/usr/bin/ssh' source =

Re: Automate rsync w/ authentication

2009-07-11 Thread Gary Duzan
In article 3af970b1-b454-4d56-a33f-889ecfaca...@l28g2000vba.googlegroups.com, Bryan bryanv...@gmail.com 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',

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

Re: Automate rsync w/ authentication

2009-07-10 Thread Chris Rebert
On Fri, Jul 10, 2009 at 9:13 AM, Bryanbryanv...@gmail.com 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

Re: Automate rsync w/ authentication

2009-07-10 Thread Piet van Oostrum
Chris Rebert c...@rebertia.com (CR) wrote: CR On Fri, Jul 10, 2009 at 9:13 AM, Bryanbryanv...@gmail.com 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.  

Re: Automate rsync w/ authentication

2009-07-10 Thread Chris Rebert
On Fri, Jul 10, 2009 at 12:43 PM, Piet van Oostrump...@cs.uu.nl wrote: Chris Rebert c...@rebertia.com (CR) wrote: CR On Fri, Jul 10, 2009 at 9:13 AM, Bryanbryanv...@gmail.com wrote: I am trying to automate rsync to backup server A from server B.  I have set up a private/public key between the

Re: Automate rsync w/ authentication

2009-07-10 Thread Bryan
On Jul 10, 12:43 pm, Piet van Oostrum p...@cs.uu.nl wrote: Chris Rebert c...@rebertia.com (CR) wrote: CR On Fri, Jul 10, 2009 at 9:13 AM, Bryanbryanv...@gmail.com 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

Re: Automate rsync w/ authentication

2009-07-10 Thread Piet van Oostrum
Bryan bryanv...@gmail.com (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,