SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
TAR Xfert dont work too
Author Message
Post TAR Xfert dont work too 
Hi,

After trying rsync/rsyncd unsuccessfuly I tried TAR but :

Running: /usr/bin/ssh -q -n -l root <remote_machine> /bin/tar -c -v -f -
-C /Groupware-2 --totals .
Xfer PIDs are now 6759,6758
Host key verification failed.
Tar exited with error 65280 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /Groupware-2)
Backup aborted (No files dumped for share /Groupware-2)

The keys are good, from backup machine to remote /usr/bin/ssh -l root <remote_machine> work !?

Backup machine is behind a firewall and both machine have static IP and the /Groupware-2 exist
on remote machine.

Where is the problem ?

We use Linux Debian unstable and BackupPC 2.1.0

Sam.




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post TAR Xfert dont work too 
Le mar 03/08/2004 à 23:52, Sam Przyswa a écrit :
Hi,

After trying rsync/rsyncd unsuccessfuly I tried TAR but :

Running: /usr/bin/ssh -q -n -l root <remote_machine> /bin/tar -c -v -f -
-C /Groupware-2 --totals .
Xfer PIDs are now 6759,6758
Host key verification failed.
Tar exited with error 65280 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /Groupware-2)
Backup aborted (No files dumped for share /Groupware-2)

The keys are good, from backup machine to remote /usr/bin/ssh -l root <remote_machine> work !?

Backup machine is behind a firewall and both machine have static IP and the /Groupware-2 exist
on remote machine.

Where is the problem ?

We use Linux Debian unstable and BackupPC 2.1.0

The command from a terminal as root work :

/usr/bin/ssh -q -n -l root 82.127.32.214 /bin/tar -c -v -f - -C
/Groupware-2 --totals .

Perhaps this wil help...

Sam.




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post TAR Xfert dont work too 
On Tue, 2004-08-03 at 17:05, Sam Przyswa wrote:

Running: /usr/bin/ssh -q -n -l root <remote_machine> /bin/tar -c -v -f -
-C /Groupware-2 --totals .
Xfer PIDs are now 6759,6758
Host key verification failed.
[...]
The command from a terminal as root work :

/usr/bin/ssh -q -n -l root 82.127.32.214 /bin/tar -c -v -f - -C
/Groupware-2 --totals .


Try the ssh command running as the same user as backuppc uses. I
suspect you have set up the ssh keys as root on the backuppc server.

----
Les Mikesell
les < at > futuresource.com



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post TAR Xfert dont work too 
Le mer 04/08/2004 à 01:02, Les Mikesell a écrit :
On Tue, 2004-08-03 at 17:05, Sam Przyswa wrote:

Running: /usr/bin/ssh -q -n -l root <remote_machine> /bin/tar -c -v -f -
-C /Groupware-2 --totals .
Xfer PIDs are now 6759,6758
Host key verification failed.
[...]
The command from a terminal as root work :

/usr/bin/ssh -q -n -l root 82.127.32.214 /bin/tar -c -v -f - -C
/Groupware-2 --totals .


Try the ssh command running as the same user as backuppc uses. I
suspect you have set up the ssh keys as root on the backuppc server.

Yes the keys are for root user, on remote machine we need root access to
able to read all files no ?

I will try keys as backuppc user.

Sam.





-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Post TAR Xfert dont work too 
On 4 Aug 2004, Sam Przyswa wrote:
Le mar 03/08/2004 à 23:52, Sam Przyswa a écrit :
After trying rsync/rsyncd unsuccessfuly I tried TAR but :

Running: /usr/bin/ssh -q -n -l root <remote_machine> /bin/tar -c -v -f -
-C /Groupware-2 --totals .
Xfer PIDs are now 6759,6758
Host key verification failed.
Tar exited with error 65280 () status
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /Groupware-2)
Backup aborted (No files dumped for share /Groupware-2)

The keys are good, from backup machine to remote /usr/bin/ssh -l root
<remote_machine> work !?

Backup machine is behind a firewall and both machine have static IP and the
/Groupware-2 exist
on remote machine.

Where is the problem ?

We use Linux Debian unstable and BackupPC 2.1.0

The command from a terminal as root work :

/usr/bin/ssh -q -n -l root 82.127.32.214 /bin/tar -c -v -f - -C
/Groupware-2 --totals .

Perhaps this wil help...

...the problem is that the ssh command is run as the user *backuppc*,
not as the user *root*; you will find that you need to modify
~backuppc/.ssh/known_hosts to get this to work.

That username may vary in your installation, but that is certainly the
default.

Regards,
Daniel
--
Learning takes place by discovery, not when you're told something but
when you figure it out for yourself.
-- Prof. Jacob Neusner, commencement address, 1991



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB