Re: [Nssbackup-team] [Question #96168]: No plugin could deal with the schema ssh...

2010-01-26 Thread Anton
Question #96168 on NSsbackup changed:
https://answers.launchpad.net/nssbackup/+question/96168

Anton posted a new comment:
Oumar Aziz OUATTARA wrote:
 Question #96168 on NSsbackup changed:
 https://answers.launchpad.net/nssbackup/+question/96168
 
 Oumar Aziz OUATTARA proposed the following answer:
 Regarding your question, the problem comes from the fact that the SSH URL 
 in NSsbackup is not using the same format as in Sbackup.
 In NSsbackup, the definition of the schemas is delegated to each plugin.
 The schema for SSH is:
 ssh://user:passw...@server/my/folder/path/
 That seems very close to what I'm using in sbackup (anonimized version
 shown):

 ssh://un...@my.server.nl/home/uname/xd/backup_note-uname

 Except for the fact that I do include my verbatim password in the url,
 since that is stored in plain text in (ns)sbackup's config file. I have
 in stead set up passkeys for secure login without password (which works
 flawlessly with plain ssh/scp/sftp etc., and with sbackup).

 Is this what nsbackup cannot handle?
 
 yes, you go it right !
 Here is the Regex that NSsbackups SSH plugin uses:
 
 ^(ssh://)([^:]+?:[...@]+?)@([^/^:^...@]+?)/(.*)
 
 look at the matchScheme method here:
 http://bazaar.launchpad.net/~nssbackup-dev/nssbackup/0.2/annotate/head%3A/src/nssbackup/plugins/sshFuseFAM.py
 
 So not putting a password is not an option :-( .
 
 I don't think that is desired
 behaviour, for the reason mentioned above. I propose adding an
 additional schema (or modifying the existing one; I don't know how this
 works in detail) to accept 'ssh://u...@server/my/folder/path/'.
 (Where) Can I start fixing this?
 
 You can get the code using this page:
 https://code.edge.launchpad.net/~nssbackup-dev/nssbackup/0.2
 
 but the real problem here is not changing the Regex, but to use
 pexpect correctly. If you know another api that can allow us to use
 fuse, we might change for that one.

No, I don't know. Can't we handle this with pexpect in some way?


-- 
Groetjes,

Anton
  _ ___
| |   |
|  _   _  ___,| K. Anton Feenstra |
| / \ / \'| | | IBIVU/Bioinformatics - Free University  Amsterdam |
|(   |   )| | | De Boelelaan 1083A - 1081 HV Amsterdam - Netherlands  |
| \_/ \_/ | | | Tel +31 20 59 87783 - Fax +31 20 59 87653 - Room P136 |
| | feens...@few.vu.nl - www.few.vu.nl/~feenstra/ |
| | We're Gonna Hit You Harder (Scoter) |
|_|___|

You received this question notification because you are a member of
NSsbackup team, which is an answer contact for NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp


[Nssbackup-team] [Bug 512007] Re: Backup over ssh : Permission denied

2010-01-26 Thread Oumar Aziz OUATTARA
I have succeeded reproducing the problem. this happens only when using
root (admin account).

** Changed in: nssbackup
   Status: New = Confirmed

** Changed in: nssbackup
   Importance: Undecided = High

-- 
Backup over ssh : Permission denied
https://bugs.launchpad.net/bugs/512007
You received this bug notification because you are a member of NSsbackup
team, which is subscribed to NSsbackup.

___
Mailing list: https://launchpad.net/~nssbackup-team
Post to : nssbackup-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nssbackup-team
More help   : https://help.launchpad.net/ListHelp