When I try to execute the command line in a console and I put Ctrl + C to
cancel, I've got an error message :

rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(260)
[sender=2.6.8]

Thanks for you advice.

Romain




                                                                       
             Daniel Berteaud                                           
             <[EMAIL PROTECTED]                                         
             services.com>                                               A
             Envoyé par :              [EMAIL PROTECTED]
             backuppc-users-bo         t                               
             [EMAIL PROTECTED]                                          cc
             eforge.net                                                
                                                                     Objet
                                       Re: [BackupPC-users] backup     
             30/04/2008 16:26          localhost with rsync (root's    
                                       password    problem)            
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




Le mercredi 30 avril 2008 à 16:12 +0200, [EMAIL PROTECTED] a
écrit :
> Hello all,
>
> In fact, I want to back up my BackupPC server (localhost with Fedora Core
> 6) by using rsync.
> When I want to do this via the web interface, I write "Unable to read 4
> bytes..".
> However, when I run "/usr/local/BackupPC/bin/BackupPC_dump -v -f
localhost"
> in a console
> it's work but it asks me the root's password.
> Consequently, I have to enter the password manually and it's ok.

The default rsync command uses rsync over ssh. For the localhost, SSH
isn't need. Edit the RsyncCLientCmd for this host, and put something
like this:

/usr/bin/sudo $rsyncPath $argList+

(idem for the restore command)

Then allow backuppc user to run rsync with sudo without password
(visudo)

it'll be a lign like this:

backuppc ALL=(root) NOPASSWD:/usr/bin/rsync


>
> So how to configure this password via the web interface ?
>
> Thanks a lot for your help.
>
> Romain
>
> SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 153
> 722 RCS Créteil
>
>
>
>
> "This e-mail message is intended only for the use of the intended
> recipient(s).
> The information contained therein may be confidential or privileged, and
> its disclosure or reproduction is strictly prohibited.
> If you are not the intended recipient, please return it immediately to
its
> sender at the above address and destroy it."
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

> _______________________________________________
> 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/
--
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: [EMAIL PROTECTED]
Web : http://www.firewall-services.com


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
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/



SC2N -S.A  Siège Social : 2, Rue Andre Boulle - 94000 Créteil  - 327 153
722 RCS Créteil




"This e-mail message is intended only for the use of the intended
recipient(s).
The information contained therein may be confidential or privileged, and
its disclosure or reproduction is strictly prohibited.
If you are not the intended recipient, please return it immediately to its
sender at the above address and destroy it."



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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