hi,

I create user rsyncbackup and add to sudoers file.

rsyncbackup ALL=NOPASSWD: /usr/bin/rsync


Must also edit the RsyncClientCmd & RysncClientRestoreCmd

$sshPath -q -x -l rsyncbackup $host /usr/bin/sudo $rsyncPath $argList+

also user will still need authorized_keys file for ssh with no password 
access from server to client.

Mark

Max wrote:
> Hi,
> 
> I run BackupPC on ServerA, using the rsync method to get data from ClientA. 
> (pretty conventional).
> 
> If I want to perform a full backup of ClientA (all files, in all 
> directories), what would be the best-pratices for getting the ssh/rsync user 
> to read all that data?
> 
> - Using root ? (probably not)
> - Creating a user that can read everything ? If so, how do you do that ?
> 
> FYI: ClientA is Debian.
> 
> Thanks,
> Max
> 
> +----------------------------------------------------------------------
> |This was sent by maxime.pla...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +----------------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> 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/
> 

-- 
-------------------------------------------------------------------------
Mark Maciolek           Network Administrator
m...@sr.unh.edu  Morse Hall Room 339
University of New Hampshire    862-3050
-------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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