On Tue, Jul 15, 2014 at 3:40 AM, raceface <raceface_the_...@gmx.net> wrote:
>
> thank you for being that kind to non professionals. I have only 3 blank
> lines in my last posting and 21 non blank, don't know, why you get more
> blank 50 times more blank lines. Using this script is a suggestion of the
> backuppc FAQ and not my personal idea. This script helps me getting backuppc
> running full backups. Using $tarPath ends in error " sudo: no tty present
> and no askpass program specified". Root has also no rights to login via ssh,
> so ssh is no option. Giving the user backuppc sudo rights is no option, to
> prevent having too much users with to many rights.
>

Personally I use rsync with ssh keys for the local host so it is not a
special case - and I don't use sudo so I haven't had that problem.
But, $* is almost always the wrong thing to put in a shell script vs.
$@ because it won't keep parameters with embedded spaces together.

-- 
   Les Mikesell
     lesmikes...@gmail.com

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to