Re: [BackupPC-users] Backing Up localhost i.e backuppc server itself

2008-08-21 Thread Nils Breunese (Lemonbit)
Ishan Patel wrote:

> ok here is the intented output . .
>
> [EMAIL PROTECTED] BackupPC]# /etc/init.d/backuppc restart
> Shutting down BackupPC:[  OK  ]
> Starting BackupPC: [  OK  ]
> [EMAIL PROTECTED] BackupPC]# su - backuppc
> [EMAIL PROTECTED] ~]$ /usr/bin/ssh -q -x -l backuppc  
> 67.205.74.115 sudo /usr/bin/rsync --server --sender --numeric-ids -- 
> perms --owner --group -D --links --hard-links --times --block- 
> size=2048 --recursive --ignore-times . /etc/
> sudo: sorry, you must have a tty to run sudo
> [EMAIL PROTECTED] ~]$
>
>
> This is may be error !
> sudo: sorry, you must have a tty to run sudo

Comment out 'requiretty' in your sudo configuration.

Nils Breunese.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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/


Re: [BackupPC-users] Backing Up localhost i.e backuppc server itself

2008-08-21 Thread Ishan Patel
ok here is the intented output . .


[EMAIL PROTECTED] BackupPC]# /etc/init.d/backuppc restart
Shutting down BackupPC:[  OK  ]
Starting BackupPC: [  OK  ]
[EMAIL PROTECTED] BackupPC]# su - backuppc
[EMAIL PROTECTED] ~]$ /usr/bin/ssh -q -x -l backuppc
67.205.74.115sudo /usr/bin/rsync --server --sender --numeric-ids
--perms --owner --group
-D --links --hard-links --times --block-size=2048 --recursive --ignore-times
. /etc/
sudo: sorry, you must have a tty to run sudo
[EMAIL PROTECTED] ~]$


This is may be error !
sudo: sorry, you must have a tty to run sudo
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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/


Re: [BackupPC-users] Backing Up localhost i.e backuppc server itself

2008-08-21 Thread Tino Schwarze
On Thu, Aug 21, 2008 at 02:59:48PM +0530, Ishan Patel wrote:
> Contents of file /data/BackupPC/pc/67.205.74.115/XferLOG.bad.z, modified
> 2008-08-21 05:16:37 (Extracting only Errors)
> 
> full backup started for directory /etc
> Running: /usr/bin/ssh -q -x -l backuppc 67.205.74.115 sudo
> /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group
> -D --links --hard-links --times --block-size=2048 --recursive
> --ignore-times . /etc/
> Xfer PIDs are now 11764
> Got remote protocol 1868854643
> Fatal error (bad version): sudo:
> Read EOF: Connection reset by peer

What happens if you execute the ssh command as is as the backuppc user?
I suppose, sudo complains about something.

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.craniosacralzentrum.de
www.forteego.de

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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/


[BackupPC-users] Backing Up localhost i.e backuppc server itself

2008-08-21 Thread Ishan Patel
Hi Friends

Thanks in advance !

I have configured BackupPC for my company's network and its works fine for
linux clients and i am sure that some day i will make it work for windows
clients also ..

But at this point in time i have some problem with Backuppc.

i have confirured backuppc on "Live Server" and i have added another live
server as its client and it works fine ! But when i have added the localhost
itself then it not gud all all ! and i am getting angry i guess with the
errors !


Contents of file /data/BackupPC/pc/67.205.74.115/LOG.082008, modified
2008-08-21 05:16:37

2008-08-21 05:16:31 full backup started for directory /etc
2008-08-21 05:16:32 Got fatal error during xfer (fileListReceive failed)
2008-08-21 05:16:37 Backup aborted (fileListReceive failed)




Contents of file /data/BackupPC/pc/67.205.74.115/XferLOG.bad.z, modified
2008-08-21 05:16:37 (Extracting only Errors)

full backup started for directory /etc
Running: /usr/bin/ssh -q -x -l backuppc 67.205.74.115 sudo
/usr/bin/rsync --server --sender --numeric-ids --perms --owner --group
-D --links --hard-links --times --block-size=2048 --recursive
--ignore-times . /etc/
Xfer PIDs are now 11764
Got remote protocol 1868854643
Fatal error (bad version): sudo:
Read EOF: Connection reset by peer
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)
Not saving this as a partial backup since it has fewer files than the
prior one (got 0 and 0 files versus 0)



One more thing

in my confiruration -D is already there inplace of --devices !

So now what cousing this problem i dont know !

Help Me out !
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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/